Eric <eeoam <at> ukfsn.org> writes:
>
> 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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe
