Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.