Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types and function for the Radius
wrapper.
Documentation
The value of a Radius
is just a Float
. But we can do better so we wrap
it up in a newtype
to keep things organised.
Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types and function for the Radius
wrapper.
The value of a Radius
is just a Float
. But we can do better so we wrap
it up in a newtype
to keep things organised.