doldol-0.4.1.1: Flag packer & handler for flaggable data
Data.Flag.Internal
type Flag = Word64 Source #
bitLen :: Int Source #
Hard coded just for Word64. Should be improved
Word64
isFlaggable :: (Bounded e, Enum e) => e -> Bool Source #
Check maxBound of `Enum e` whether it have more than bitLen elements
maxBound
bitLen