spiros-0.4.2: Spiros Boosalis's Custom Prelude

Prelude.NotSpiros

Description

NotSpiros is like Spiros, but more idiomatic / conventional.

NotSpiros

Spiros

Contributors may prefer this module.

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

(>)

>

(<)

<

map

c.f.:

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

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

f xs

f

xs

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 #