packages feed

stm-hamt-1: library/StmHamt/Constructors/Hash.hs

module StmHamt.Constructors.Hash where

import StmHamt.Prelude
import StmHamt.Types
import qualified StmHamt.Accessors.Hash as HashAccessors


{-# INLINE succLevel #-}
succLevel :: Int -> Int
succLevel hash = unsafeShiftR hash HashAccessors.step