Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pos
is a general purpose wrapper for a specific positional value.
Documentation
Wrap up the normal Float
value with a newtype
so that we can't mix
things up as easily. Include a phantom type so we're able to be granular
about the specific position we're interested in.
Empty types to separate coordinate spaces
Prisms
Functions
changePosType :: Pos a -> Pos b Source #
Change the Pos
index type