repositories
/
msc-thesis1617.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6baf27
)
fix small typo in presentation
author
Mart Lubbers
<mart@martlubbers.net>
Wed, 12 Jul 2017 18:24:25 +0000
(20:24 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Wed, 12 Jul 2017 18:24:25 +0000
(20:24 +0200)
pres.mtask.tex
patch
|
blob
|
history
diff --git
a/pres.mtask.tex
b/pres.mtask.tex
index
4b6f7d6
..
52115ae
100644
(file)
--- a/
pres.mtask.tex
+++ b/
pres.mtask.tex
@@
-124,12
+124,12
@@
Plus x y = \e -> x e + y e
:: Evaluator a = Evaluator (Env -> a)
:: PrettyPrinter a = PP String
-class intArith where
+class intArith
v
where
lit :: t -> v t | toString t
add :: (v t) (v t) -> (v t) | + t
minus :: (v t) (v t) -> (v t) | - t
-class boolArith where ...
+class boolArith
v
where ...
instance intArith Evaluator where
lit x = Evaluator \e->x