summaryrefslogtreecommitdiff
path: root/ghc/compiler/hsSyn/HsBasic.lhs
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 2000-09-22 16:00:08 by simonpj]simonpj2000-09-221-72/+0
| | | | Forgot to remove HsBasic and add HsLit
* [project @ 2000-08-07 23:37:19 by qrczak]qrczak2000-08-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now Char, Char#, StgChar have 31 bits (physically 32). "foo"# is still an array of bytes. CharRep represents 32 bits (on a 64-bit arch too). There is also Int8Rep, used in those places where bytes were originally meant. readCharArray, indexCharOffAddr etc. still use bytes. Storable and {I,M}Array use wide Chars. In future perhaps all sized integers should be primitive types. Then some usages of indexing primops scattered through the code could be changed to then-available Int8 ones, and then Char variants of primops could be made wide (other usages that handle text should use conversion that will be provided later). I/O and _ccall_ arguments assume ISO-8859-1. UTF-8 is internally used for string literals (only). Z-encoding is ready for Unicode identifiers. Ranges of intlike and charlike closures are more easily configurable. I've probably broken nativeGen/MachCode.lhs:chrCode for Alpha but I don't know the Alpha assembler to fix it (what is zapnot?). Generally I'm not sure if I've done the NCG changes right. This commit breaks the binary compatibility (of course). TODO: * is* and to{Lower,Upper} in Char (in progress). * Libraries for text conversion (in design / experiments), to be plugged to I/O and a higher level foreign library. * PackedString. * StringBuffer and accepting source in encodings other than ISO-8859-1.
* [project @ 1998-12-02 13:17:09 by simonm]simonm1998-12-021-7/+8
| | | | Move 4.01 onto the main trunk.
* [project @ 1998-01-08 18:03:08 by simonm]simonm1998-01-081-16/+12
| | | | | | | | | | | | | | | | | | | The Great Multi-Parameter Type Classes Merge. Notes from Simon (abridged): * Multi-parameter type classes are fully implemented. * Error messages from the type checker should be noticeably improved * Warnings for unused bindings (-fwarn-unused-names) * many other minor bug fixes. Internally there are the following changes * Removal of Haskell 1.2 compatibility. * Dramatic clean-up of the PprStyle stuff. * The type Type has been substantially changed. * The dictionary for each class is represented by a new data type for that purpose, rather than by a tuple.
* [project @ 1997-12-02 18:03:56 by quintela]quintela1997-12-021-0/+3
| | | | HsLit instance of Eq; need by Check
* [project @ 1997-05-26 04:44:02 by sof]sof1997-05-261-34/+1
| | | | Moved Fixity(..) and Version(..) to basicTypes/BasicTypes
* [project @ 1997-05-19 00:12:10 by sof]sof1997-05-191-14/+17
| | | | 2.04 changes
* [project @ 1997-03-14 07:52:06 by simonpj]simonpj1997-03-141-3/+3
| | | | Major update to more-or-less 2.02
* [project @ 1997-01-18 10:03:27 by simonpj]simonpj1997-01-181-0/+102
More polishing by Simon; to get nofib to run!