
16 May
2007
16 May
'07
10:11 a.m.
Eric
Hi there,
I've written the following program
putchr = putChar ?d
main = do { c <- getChar ; putchr with ?d = c}
I think you're supposed to use a let binding, like this: putchr :: (?d::Char) => IO () putchr = putChar ?d main = do c <- getChar let ?d = c putchr Best, -- Grzegorz