Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

Commit 875699a

Browse files
committed
sync with uhc-util, work on chr typing
1 parent 6aa4ae8 commit 875699a

23 files changed

+62
-4777
lines changed

EHC/changelog.md.editthis

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- [type system] Ongoing work for CHR based type system
2+
- [uhc-util] Ongoing sync with uhc-util
13
- [compiler driver] check for writeability of directory is now on dest dir, not src dir
24
- [pragmas] bangpatterns pragma turned off by default
35
- [pragmas] bangpatterns pragma propagation to parser fixed

EHC/src/ehc/Base/Pragma.chs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
%%[99 import({%{EH}Opts.CommandLine})
1919
%%]
2020

21+
%%[(99 chrtysys) import(UHC.Util.CHR.GTerm)
22+
%%]
23+
2124
%%[doesWhat doclatex
2225
Internal representation of pragmas.
2326
%%]
@@ -50,11 +53,14 @@ data Pragma
5053
| Pragma_OptionsUHC -- commandline options
5154
{ pragmaOptions :: String
5255
}
53-
%%[[99
5456
| Pragma_ExcludeIfTarget
5557
{ pragmaExcludeTargets :: [Target]
5658
}
57-
%%]]
59+
{-
60+
| Pragma_CHR -- CHR rules
61+
{ pragmaCHR :: String
62+
}
63+
-}
5864
deriving (Eq,Ord,Show,Typeable,Generic)
5965

6066
%%]

EHC/src/ehc/EH/Infer.cag

Lines changed: 0 additions & 792 deletions
This file was deleted.

EHC/src/ehc/EH/InferCaseExpr.cag

Lines changed: 0 additions & 68 deletions
This file was deleted.

EHC/src/ehc/EH/InferClass.cag

Lines changed: 0 additions & 397 deletions
This file was deleted.

EHC/src/ehc/EH/InferClassCHR.cag

Lines changed: 0 additions & 267 deletions
This file was deleted.

0 commit comments

Comments
 (0)