cvs commit: fptools/libraries/base/Data Bits.hs

Malcolm Wallace malcolm@glass.cse.ogi.edu
Fri, 24 Jan 2003 07:18:47 -0800


malcolm     2003/01/24 07:18:47 PST

  Modified files:
    libraries/base/Data  Bits.hs 
  Log:
  Move the 'shiftL/R' and 'rotateL/R' variants to become methods of
  the Bits class.  This gives an instance the choice of which methods
  (directional, or unified) to implement directly.  (This change was
  agreed in Sept 2002, but is only being committed now.)
  
  Add instances for Int and Integer in nhc98.
  
  Revision  Changes    Path
  1.10      +70 -18    fptools/libraries/base/Data/Bits.hs