repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WOOPWOOP expressies typen, behalve func
[cc1516.git]
/
AST.icl
diff --git
a/AST.icl
b/AST.icl
index
b9b9417
..
b5f8ca0
100644
(file)
--- a/
AST.icl
+++ b/
AST.icl
@@
-76,6
+76,9
@@
instance print FieldSelector where
print FieldSnd = print "snd"
print FieldFst = print "fst"
+instance toString FieldSelector where
+ toString fs = concat $ print fs
+
instance print VarDef where
print (VarDef i fs) = printersperse "." [i:flatten $ map print fs]