#haskell - Mon 19 Feb 2007 between 18:27 and 18:34

NY Lost Funds



mauke@index hGetContents
lambdabotSystem.IO
mauke@source System.IO
lambdabothttp://darcs.haskell.org/packages/base/System/IO.hs
edwinblooks like we've ferretted it out
nrb23yes, but it's not there
soreargetContents = liftM2 (:) getChar (unsafeInterleaveIO getContents)
GHC.IOBase / Handle / IO
nrb23ah
sorearthose three contain the rts io impl
sieni<insert the canonical ferret joke from `fierce creatures` here>
lambdabots_pet_fHello, I am lambdabot's pet ferret, I can type very well.
shaprwow
Syzygy-BWAHAHAHAHA!
> 1+2
lambdabot3
Syzygy-@ferretsnack
lambdabotUnknown command, try @list
lambdabots_pet_f:)
Syzygy-@petsnack
lambdabot:)
Syzygy-BWAHAHA!
I like that.
nrb23what does getChar return when there aren't any more characters?
xic@docs getChar
lambdabotgetChar not available
xic@hoogle getChar
lambdabotPrelude.getChar :: IO Char
IO.hGetChar :: Handle -> IO Char
xerox@index getChar
lambdabotSystem.IO, Prelude
xerox@docs System.IO
lambdabothttp://haskell.org/ghc/docs/latest/html/libraries/base/System-IO.html
nrb23fails with isEOFError?
hm
ok
augustssyes
nrb23and liftM2 turns that into []
sorearnrb23: no, my impl was a gross simplification
nrb23ah

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 

IrcArchive

NY Lost Funds