This module contains the type of bindings and the auxiliary function foldm (and some others) listed in the appendix of the paper.
> module Basic( |
Bindings.
> data Binding k p = k :-> p |
Function composition.
> infix 0 :-> |
Folding a list in a binary-subdivision scheme.
> foldm :: (a -> a -> a) -> a -> [a] -> a |
> inrange :: (Ord a) => a -> (a, a) -> Bool |
> guard :: Bool -> [a] -> [a] |
The variant readWithDefault returns a given default value if the read is not successful.
> readWithDefault :: (Read a) => a -> String -> a |