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:
2606087
)
erratum1: forgot to box in cbs-embedding
author
Mart Lubbers
<mart@martlubbers.net>
Wed, 5 Jul 2017 15:14:07 +0000
(17:14 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Wed, 5 Jul 2017 15:14:07 +0000
(17:14 +0200)
edsl.class.tex
patch
|
blob
|
history
diff --git
a/edsl.class.tex
b/edsl.class.tex
index
aafd355
..
a2456d9
100644
(file)
--- a/
edsl.class.tex
+++ b/
edsl.class.tex
@@
-36,12
+36,12
@@
class boolArith where
eq :: (v t) (v t) -> (v Bool) | == t
instance intArith Evaluator where
- lit x
=
\e->x
- add x y = ...
+ lit x
= Evaluator
\e->x
+ add x y =
Evaluator
...
instance intArith PrettyPrinter where
- lit x
=
toString x
- add x y = x +++ "+" +++ y
+ lit x
= PP $
toString x
+ add x y =
PP $
x +++ "+" +++ y
...
...