doldol-0.4.1.1: Flag packer & handler for flaggable data

Safe HaskellSafe
LanguageHaskell2010

Data.Flag.Internal

Synopsis

Documentation

bitLen :: Int Source #

Hard coded just for Word64. Should be improved

isFlaggable :: (Bounded e, Enum e) => e -> Bool Source #

Check maxBound of `Enum e` whether it have more than bitLen elements