Craft3e-0.2.0.1: Code for Haskell: the Craft of Functional Programming, 3rd ed.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Chapter12

Synopsis

Documentation

beside :: Picture -> Picture -> Picture Source #

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

splits :: [a] -> [([a], [a])] Source #

fsplits :: [a] -> [([a], [a])] Source #

type Natural a = (a -> a) -> a -> a Source #

times :: Natural a -> Natural a -> Natural a Source #

^^^^^^^^^^^^^^^^

^^^^^^^^^^^^^^^^^^^^^^ Defining the .. notation (not executable code).

m .. n
| m>n = [] | otherwise = m : [m+1 .. n]

frontseq :: String -> String -> Bool Source #

^^^^^^^^^^^^^^^^^^^^^

mapWhile :: (a -> b) -> (a -> Bool) -> [a] -> [b] Source #