Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module defines functions to deal with Word16
|
Documentation
intToClampedNat :: Int -> Nat #
minusNatClamped :: Nat -> Nat -> Nat #
minusNatClamped n m returns n - m if n >= m, otherwise it returns 0.