--chain :: Ord a => [a] -> a chain f g h x = f.g.h.x fnChain_testList = TestCase ( assertEqual "(chain init tail reverse) \"Haskell!\"" "lleksa" ( (chain init tail reverse ) "Haskell!" ) )
December 04, 2012 @ 9:21pm
Press Ctrl-C to copy to your Clipboard
- Ctrl-C or Ctrl-X to copy to the clipboard.
- ESC to exit copy mode.