Friday, May 22, 2009

Prelude의 함수 정리중...(1)

외우기 편하게 제 나름대로 연관지어 정리해 보았습니다.

all - any
and - or - not

ceiling - floor - round - truncate

chr - ord

drop - take
dropWhile - takeWhile

elem - notElem

foldl - foldr
foldl1 - foldr1

fromInt - fromInteger

fst - snd
head - last
init - tail

lines - unlines
words - unwords

div - mod

max - min
maximum - minimum

product - sum
repeat - replicate

flip - reverse - sort

zip - zipWith

No comments: