Skip to content
  • Ben Gamari's avatar
    base: Introduce GHC.ByteOrder · 58545fde
    Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
    This provides a ByteOrder type as well as a targetByteOrder value, which
    indicates the byte ordering used by the target machine. We might also
    consider exposing this via Data.Bits if the CLC is so inclined.
    
    Test Plan: Needs test
    
    Reviewers: hvr, RyanGlScott, austin
    
    Reviewed By: hvr, RyanGlScott
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3786
    58545fde