[project @ 1999-12-06 16:25:23 by sewardj]
Remove Hugs' special treatment of tuples, and instead have them as just another Tycon. This is to make interworking with GHC simpler. Put tuple entries in the Tycon table. Modify isTycon, isTuple, tupleOf, mkTuple and whatIs so that client code doesn't see any difference. Add allocTupleTycon to manufacture tuple Tycon entries as startup.
Showing
- ghc/interpreter/codegen.c 4 additions, 6 deletionsghc/interpreter/codegen.c
- ghc/interpreter/hugs.c 18 additions, 6 deletionsghc/interpreter/hugs.c
- ghc/interpreter/link.c 7 additions, 2 deletionsghc/interpreter/link.c
- ghc/interpreter/runnofib 4 additions, 4 deletionsghc/interpreter/runnofib
- ghc/interpreter/storage.c 34 additions, 4 deletionsghc/interpreter/storage.c
- ghc/interpreter/storage.h 15 additions, 4 deletionsghc/interpreter/storage.h
- ghc/interpreter/translate.c 2 additions, 3 deletionsghc/interpreter/translate.c
- ghc/interpreter/type.c 3 additions, 3 deletionsghc/interpreter/type.c
Loading
Please register or sign in to comment