hw-prim-0.0.0.10: Primitive functions and data types

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Positioning

Synopsis

Documentation

newtype Count Source

A value representing a count

Constructors

Count 

Fields

getCount :: Word64
 

lastPositionOf :: Count -> Position Source

Get largest position in a sequenced container of size count.

toCount :: Position -> Count Source

Convert a count to a count

toPosition :: Count -> Position Source

Convert a count to a position