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

Safe HaskellSafe
LanguageHaskell98

Sound.OSC.Type.JSON.Math

Contents

Synopsis

Documentation

in_range :: (Integral r, Integral n) => r -> r -> n -> Bool Source #

Rational number predicates

ratio_is_integral :: Integral n => Ratio n -> Bool Source #

Is n integral, ie. is denominator 1.

ratio_is_bounded_integral :: Integral n => n -> Ratio n -> Bool Source #

Is n integral, and <= to m.

ratio_is_int :: Integral n => Ratio n -> Bool Source #

Is n integral and in range for Int.

ratio_is_word8 :: Integral n => Ratio n -> Bool Source #

Is n integral and in range for Word8.