W3cubDocs

/Haskell 8

Utils.Containers.Internal.BitUtil

Copyright (c) Clark Gaebel 2012
(c) Johan Tibel 2012
License BSD-style
Maintainer [email protected]
Portability portable
Safe Haskell Safe
Language Haskell98

Description

bitcount :: Int -> Word -> Int Source

highestBitMask :: Word -> Word Source

Return a word where only the highest bit is set.

shiftLL :: Word -> Int -> Word Source

shiftRL :: Word -> Int -> Word Source

wordSize :: Int Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.6.1/docs/html/libraries/containers-0.6.0.1/Utils-Containers-Internal-BitUtil.html