[project @ 2000-03-09 06:14:38 by andy]
authorandy <unknown>
Thu, 9 Mar 2000 06:14:39 +0000 (06:14 +0000)
committerandy <unknown>
Thu, 9 Mar 2000 06:14:39 +0000 (06:14 +0000)
commit7bc3ecec5e8c39c61413c1d00cd920ebd3bd6308
tree72e5185da737100e763dca04fe2faa5fde2350de
parent075e0c07f4c873dbdb41bccdfa883b65c4ffb0f4
[project @ 2000-03-09 06:14:38 by andy]
improving the synatax and semantics of the privileged import

 Typical use might be:

  import Prelude
  import privileged Prelude ( IORef , unsafePerformIO )

 Which means please ignore the export that comes with Prelude,
 and let me at compiler internal magic operations, IORef and
 unsafePerformIO (both are later exported by IOExt)

I've also updated the stdlib files to use this (hugs only :-).
ghc/includes/options.h
ghc/interpreter/parser.y
ghc/interpreter/static.c
ghc/lib/hugs/Prelude.hs
ghc/lib/std/Array.lhs
ghc/lib/std/CPUTime.lhs
ghc/lib/std/IO.lhs
ghc/lib/std/Random.lhs
ghc/lib/std/Ratio.lhs
ghc/lib/std/System.lhs