Wolfgang Jeltsch pushed to branch wip/jeltsch/portable-bco-byte-array-serialization at Glasgow Haskell Compiler / GHC Commits: 1df4cc3e by Wolfgang Jeltsch at 2026-11-25T16:51:45+02:00 Improve the description of the serialization format - - - - - 1 changed file: - libraries/ghci/GHCi/ResolvedBCO.hs Changes: ===================================== libraries/ghci/GHCi/ResolvedBCO.hs ===================================== @@ -234,10 +234,9 @@ instance Binary (BCOByteArray Word) where -- Note [BCOByteArray serialization] -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- --- The serialization of a 'BCOByteArray' value consists of the serialization of --- the number of elements followed by the serializations of the individual --- elements. The serialization format is platform-independent, thanks to the --- following specifics: +-- In its serialized form, a 'BCOByteArray' value is represented by the number +-- of its elements followed by the individual elements. The serialization format +-- is platform-independent, thanks to the following specifics: -- -- * All natural numbers are encoded using little endian, independently of the -- host’s endianness. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1df4cc3eb1286ee1698787fa19194bef... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1df4cc3eb1286ee1698787fa19194bef... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help