#haskell - Mon 19 Feb 2007 between 23:32 and 23:37

NY Lost Funds



jcreigh@hoogle [Maybe a] -> [a]
lambdabotMaybe.catMaybes :: [Maybe a] -> [a]
jcreighha! Does it do what I think it does?
> catMaybes [Just 2, Nothing, Just 42]
lambdabot[2,42]
jcreighnice
soreardons: poke, http://members.cox.net/stefanor/bench.results
kc5tja> z <- [2, 42]; putStrLn (if z == 42 then "Nice -- now what is the question?" else "hrmph.")
lambdabotParse error
kc5tjadoh
I borked something.
sorears/>/> do/
Cale@palomer
lambdabotHrmph, looks like I killed the channel
kc5tjadoggone it.
Cale@palomer
lambdabotI think vim is good for the rubbish bin
kc5tja> do z <- [2, 42]; putStrLn (if z == 42 then "Nice -- now what is the question?" else "hrmph.")
lambdabotCouldn't match expected type `[]' against inferred type `IO'
siti^^
Cale@keal
lambdabotit is very easy to go off topic
kc5tja> do z <- [2, 42]; putStrLn (if z == 42 then "Nice -- now what is the question?" else "hrmph."); return []
lambdabotCouldn't match expected type `[]' against inferred type `IO'
kc5tjashucks.
Worth a shot. needs a transformer.
Cale> sequence $ do z <- [2, 42]; return (putStrLn (if z == 42 then "Nice -- now what is the question?" else "hrmph."))
jcreighWhy do in(famous) in-channel trolls get their own lambdabot command? Hardly seems fair. :)
sorearnot just trolls
SamBjcreigh: so we can poke fun at them
sorearKEAL is real
jcreighsorear: "real"?
sorear: as in, composed of matter? :)
SamBsorear: most trolls are
beelsebob_kc5tja: doesn't need a transformer, needs it to be nicer and more pure
CaleIt sort of seems bad to poke fun at him, I really think he is schizophrenic.
SamBthere is the occassional autotroll
but those don't have enough quotable material, generally, anyway
sorear@v -- wasn't even human
lambdabotException: <<loop>>

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 

IrcArchive

NY Lost Funds