/home/evansl/prog_dev/haskell/my-code $ ghci IfRecur.hs GHCi, version 6.12.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. [1 of 1] Compiling IfRecur ( IfRecur.hs, interpreted ) Ok, modules loaded: IfRecur. *IfRecur> test "palindrome [1,2,3]:" [1,2,3,3,2,1] "if_recur_foldl [1,2,3]:" [3,2,1] "(foldl (flip(:)) [] [1,2,3]):" [3,2,1] "if_recur_foldr [1,2,3]:" [1,2,3] "(foldr (:) [] [1,2,3]):" [1,2,3] [(),(),(),(),(),(),(),(),(),()] *IfRecur>