[project @ 1997-01-18 10:03:27 by simonpj]
[ghc-hetmet.git] / ghc / lib / ghc / GHC.hi-boot
diff --git a/ghc/lib/ghc/GHC.hi-boot b/ghc/lib/ghc/GHC.hi-boot
new file mode 100644 (file)
index 0000000..040802b
--- /dev/null
@@ -0,0 +1,210 @@
+---------------------------------------------------------------------------
+--                             GHC.hi
+-- 
+--     This hand-written interface file allows you to bring into scope the 
+--     primitive operations and types that GHC knows about.
+---------------------------------------------------------------------------
+
+_interface_ GHC 2
+_exports_
+GHC
+  ->
+
+  Void
+  void
+
+-- I/O primitives
+  RealWorld
+  realWorld#
+  State#
+
+  fork#
+  delay# 
+  
+  SynchVar#
+  newSynchVar#
+  takeMVar#
+  putMVar#
+  waitRead#
+  waitWrite#
+  
+  errorIO#
+  
+  Char# 
+  gtChar#
+  geChar#
+  eqChar#
+  neChar#
+  ltChar#
+  leChar#
+  ord#
+  chr#
+  
+  Int#
+  >#
+  >=#
+  ==#
+  /=#
+  <#
+  <=#
+  +#
+  -#
+  *#
+  quotInt#
+  remInt#
+  negateInt#
+  iShiftL#
+  iShiftRA#
+  iShiftRL#
+  
+  Word#
+  gtWord#
+  geWord#
+  eqWord#
+  neWord#
+  ltWord#
+  leWord#
+  and#
+  or#
+  not#
+  shiftL#
+  shiftRA#
+  shiftRL#
+  int2Word#
+  word2Int#
+  
+  Addr#
+  gtAddr#
+  geAddr#
+  eqAddr#
+  neAddr#
+  ltAddr#
+  leAddr#
+  int2Addr#
+  addr2Int#
+  
+  Float#
+  gtFloat#
+  geFloat#
+  eqFloat#
+  neFloat#
+  ltFloat#
+  leFloat#
+  plusFloat#
+  minusFloat#
+  timesFloat#
+  divideFloat#
+  negateFloat#
+  float2Int#
+  int2Float#
+  expFloat#
+  logFloat#
+  sqrtFloat#
+  sinFloat#
+  cosFloat#
+  tanFloat#
+  asinFloat#
+  acosFloat#
+  atanFloat#
+  sinhFloat#
+  coshFloat#
+  tanhFloat#
+  powerFloat#
+  decodeFloat#
+  encodeFloat#
+  
+  Double#
+  >##
+  >=##
+  ==##
+  /=##
+  <##
+  <=##
+  +##
+  -##
+  *##
+  /##
+  negateDouble#
+  double2Int#
+  int2Double#
+  double2Float#
+  float2Double#
+  expDouble#
+  logDouble#
+  sqrtDouble#
+  sinDouble#
+  cosDouble#
+  tanDouble#
+  asinDouble#
+  acosDouble#
+  atanDouble#
+  sinhDouble#
+  coshDouble#
+  tanhDouble#
+  **##
+  decodeDouble#
+  encodeDouble#
+  
+  cmpInteger#
+  negateInteger#
+  plusInteger#
+  minusInteger#
+  timesInteger#
+  quotRemInteger#
+  integer2Int#
+  int2Integer#
+  
+  indexArray#
+  
+  Array#
+  ByteArray#
+  MutableArray#
+  MutableByteArray#
+  
+  sameMutableArray#
+  
+  newArray#
+  newCharArray#
+  newIntArray#
+  newFloatArray#
+  newDoubleArray#
+  newAddrArray#
+  
+  indexArray#
+  indexCharArray#
+  indexIntArray#
+  indexFloatArray#
+  indexDoubleArray#
+  indexAddrArray#
+  
+  indexOffAddr#
+  indexCharOffAddr#
+  indexIntOffAddr#
+  indexFloatOffAddr#
+  indexDoubleOffAddr#
+  indexAddrOffAddr#
+  
+  writeArray#
+  writeCharArray#
+  writeIntArray#
+  writeFloatArray#
+  writeDoubleArray#
+  writeAddrArray#
+  
+  readArray#
+  readCharArray#
+  readIntArray#
+  readFloatArray#
+  readDoubleArray#
+  readAddrArray#
+  
+  unsafeFreezeArray#
+  unsafeFreezeByteArray#
+  
+  ForeignObj#
+  makeForeignObj#
+  
+  StablePtr#
+  makeStablePtr#
+  deRefStablePtr#
+;