Go to the first, previous, next, last section, table of contents.

Use of Glasgow extensions

Leading-underscore names are gone. Simon hated them. To get access to GHC innards, you will need to import system modules with names of the form `GHCxxx'. We plan to restrict access to such interfaces in the future; and, of course, we reserve the right to make horrible changes to `GHC*' modules.... You can't dig around inside the `ST'/`IO' monads quite so freely. The old `PreludePrimIO' interface is DEAD. The even-older `PreludeGlaIO' interface is DEADER. `returnPrimIO', `thenPrimIO', and `seqPrimIO' are deprecated. You were warned. `foldrPrimIO' has died. `_FILE', `fclose', `fdopen', `fflush', `fopen', `fread', `freopen', and `fwrite' are dead. `appendChanPrimIO', `appendFilePrimIO', `getArgsPrimIO', and `readChanPrimIO' are dead (as previously warned). The `LibPosix' stuff didn't make it into 1.3 I/O, so it has become a "system library" (`-syslib posix'). Other than dropping the `Lib*' prefix, everything should be the same as in 0.29. As of GHC 2.09, `mainPrimIO' is now called `mainIO', to reflect the fact that `PrimIO' doesn't exist anymore. If you want to provide your own `mainIO' routine, it must be in a module `GHCmain', not `Main'.
Go to the first, previous, next, last section, table of contents.