Skip to content
Snippets Groups Projects
Commit 5ca77490 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 2000-01-04 17:40:46 by simonpj]

This commit arranges that literal strings will fuse
nicely, by expressing them as an application of build.

* NoRepStr is now completely redundant, though I havn't removed it yet.

* The unpackStr stuff moves from PrelPack to PrelBase.

* There's a new form of Rule, a BuiltinRule, for rules that
  can't be expressed in Haskell.  The string-fusion rule is one
  such.  It's defined in prelude/PrelRules.lhs.

* PrelRules.lhs also contains a great deal of code that
  implements constant folding.  In due course this will replace
  ConFold.lhs, but for the moment it simply duplicates it.
parent a8b0e4a2
No related branches found
No related tags found
No related merge requests found
Showing
with 770 additions and 264 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment