Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Narrow a b where Source #
Cast the value to a smaller size.
If the value does not fit in the smaller size, data will be lost.
This gives a better indication of intent than fromIntegral
.
Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
class Narrow a b where Source #
Cast the value to a smaller size.
If the value does not fit in the smaller size, data will be lost.
This gives a better indication of intent than fromIntegral
.