summaryrefslogtreecommitdiff
path: root/ghc/lib/std/PrelHugs.lhs
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 2000-11-13 13:57:31 by sewardj]sewardj2000-11-131-196/+0
| | | | No longer needed.
* [project @ 2000-11-07 10:42:55 by simonmar]simonmar2000-11-071-3/+3
| | | | | merge before-ghci -> before-ghci-branch-merged into the ghc (non-compiler) parts of the tree.
* [project @ 2000-06-30 13:39:35 by simonmar]simonmar2000-06-301-2/+4
| | | | | | - fix copyrights - remove some unused imports - comment formatting fixes
* [project @ 2000-05-28 20:39:43 by panne]panne2000-05-281-1/+1
| | | | | Added a few -#includes to eliminate warnings from gcc (*please merge*)
* [project @ 2000-05-01 14:53:47 by panne]panne2000-05-011-2/+2
| | | | | Adding a bunch of `unsafe's to foreign imports. TODO: Could somebody verify that declaring shutdownHaskellAndExit as unsafe is OK?
* [project @ 2000-04-14 15:28:24 by rrt]rrt2000-04-141-1/+1
| | | | Removed -fcompiling-prelude flag (now removed from compiler)
* [project @ 2000-04-12 11:49:50 by sewardj]sewardj2000-04-121-1/+1
| | | | Add -fcompiling-prelude so as to get right dependencies in the interface.
* [project @ 2000-03-02 10:10:33 by sewardj]sewardj2000-03-021-2/+36
| | | | Changes needed to support foreign export (dynamic) in combined mode.
* [project @ 2000-02-29 12:54:51 by sewardj]sewardj2000-02-291-6/+27
| | | | | | | | Make foreign import work in combined mode: -- Allow interpreter to do ccall primops even in combined mode -- Implement hugsprimMkIO in combined mode, so as to wrap up a an IO value created by Hugs in a form compatible with GHC's IO representation.
* [project @ 2000-02-15 11:24:20 by sewardj]sewardj2000-02-151-7/+6
| | | | | | | In hugsprimRunIO_toplevel, use catchException instead of catch. At least exceptions can then be caught, although Hugs then goes on to die with an assertion failure in unblockAsyncExceptionszh_ret_entry, probably caused by wrongly entering it twice in immediate succession.
* [project @ 2000-02-09 14:50:19 by sewardj]sewardj2000-02-091-2/+14
| | | | | | | | | | | | | | | | | | | More bug fixes resulting from trying to load small programs into Hugs using the GHC Prelude: -- Better handling of kinds on class method types. It's still a kludge (I reckon) but works well enough to correctly handle methods in Monad and Functor. See comment in startGHCClass() in interface.c. -- Add hugsprimReadField and hugsprimShowField. -- Make error be exported from the Prelude. For some reason, PrelErr.hi doesn't give a signature for error, so we have to fake it by copying that of hugsprimError. -- Handle fixity declarations read from interfaces. -- Set nameListMonad so that list comprehensions can be translated.
* [project @ 2000-02-08 15:34:36 by sewardj]sewardj2000-02-081-1/+8
| | | | Add hugsprimError, hugsprimCompAux.
* [project @ 2000-02-03 14:01:07 by sewardj]sewardj2000-02-031-1/+6
| | | | Add hugsprimPmFail.
* [project @ 2000-01-12 10:44:50 by sewardj]sewardj2000-01-121-3/+10
| | | | | Make hugsprimUnpackString :: Addr -> String available to Hugs' desugarer in both modes.
* [project @ 2000-01-11 10:15:24 by sewardj]sewardj2000-01-111-0/+109
A module for use with the combined GHC-Hugs system. Contains various small helper functions referred to which Hugs' desugarer emits references. The same functions are implemented in ghc/interpreter/lib/Prelude.hs for use in standalone Hugs. The two versions should correspond exactly.