Go to the first, previous, next, last section, table of contents.
Here is our "crib sheet" for converting 1.2 I/O to 1.3. In most cases,
it's really easy.
-
Change `readChan stdin' to `hGetContents stdin'.
-
Change `appendChan stdout' to `putStr', which is equivalent to
`hPutStr stdout'.
Change `appendChan stderr' to `hPutStr stderr'.
-
You need to `import LibSystem' if you used `getArgs', `getEnv',
or `getProgName'.
-
Assuming continuation-style `Dialogue' code, change `... exit done $'
to `... >>'. Change `... exit $ \ foo ->' to `... >>= \ foo ->'.
-
If you had any functions named `(>>)', `(>>=)', or `return',
change them to something else.
Go to the first, previous, next, last section, table of contents.