Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@johnbender
Created June 19, 2012 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnbender/2955061 to your computer and use it in GitHub Desktop.
Save johnbender/2955061 to your computer and use it in GitHub Desktop.
09:11 < xplat> > map (\x -> if x > 0 then 'o' else 'n') [0..]
09:11 < lambdabot> "nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...
09:11 -!- cscorley [~cscorley@0x1f0.net] has joined #haskell-blah
09:11 < tac-tics> > 'n' : fix ('o':)
09:11 < lambdabot> "nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...
09:12 < xplat> > 'n':['o','o'..]
09:12 < lambdabot> "nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...
09:12 < tac-tics> > 'n' : ['o' ..]
09:12 < lambdabot> "nopqrstuvwxyz{|}~\DEL\128\129\130\131\132\133\134\135\136\137\138\139\140\...
09:12 < tac-tics> :P
09:12 -!- NadiaYvette [~wli@74.72.185.240] has joined #haskell-blah
09:13 < xplat> > iterate (const 'o') 'n'
09:13 < lambdabot> "nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...
... omitted ...
09:17 < xplat> > zipWith min ['n'..] $ repeat 'o'
09:17 < lambdabot> "nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment