spiros-0.4.2: Spiros Boosalis's Custom Prelude

Safe HaskellNone
LanguageHaskell2010

Prelude.NotSpiros

Description

NotSpiros is like Spiros, but more idiomatic / conventional.

Contributors may prefer this module.

For example, it doesn't shadow the comparison operators ((>) and (<)) with composition operators:

c.f.:

Synopsis

Documentation

map :: (a -> b) -> [a] -> [b] #

map f xs is the list obtained by applying f to each element of xs, i.e.,

map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]

(>) :: Ord a => a -> a -> Bool infix 4 #

(<) :: Ord a => a -> a -> Bool infix 4 #