hosc-json-0.15: Haskell Open Sound Control JSON Serialisation

Safe HaskellSafe-Inferred

Sound.OSC.Type.JSON.Math

Contents

Synopsis

Documentation

in_range :: (Integral r, Integral n) => r -> r -> n -> BoolSource

in_int8 :: Integral a => a -> BoolSource

in_int16 :: Integral a => a -> BoolSource

in_int32 :: Integral a => a -> BoolSource

in_int64 :: Integral a => a -> BoolSource

Rational number predicates

ratio_is_integral :: Integral n => Ratio n -> BoolSource

Is n integral, ie. is denominator 1.

ratio_is_bounded_integral :: Integral n => n -> Ratio n -> BoolSource

Is n integral, and <= to m.

ratio_is_int :: Integral n => Ratio n -> BoolSource

Is n integral and in range for Int.

ratio_is_word8 :: Integral n => Ratio n -> BoolSource

Is n integral and in range for Word8.