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

Chapter6

Synopsis

Documentation

id :: a -> a Source #

^^^^^^^^^^^

fst :: (a, b) -> a Source #

mystery :: (Bool, a) -> Char Source #

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

type Picture = [[Char]] Source #

invertColour' :: Picture -> Picture Source #

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

height :: Picture -> Int Source #

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

type Position = (Int, Int) Source #

type Image = (Picture, Position) Source #

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

addPairwise'' :: [Integer] -> [Integer] -> [Integer] Source #

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

type Price = Int Source #

type BillType = [(Name, Price)] Source #