repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nu met en nu zonder
[cc1516.git]
/
examples
/
printparse.spl
diff --git
a/examples/printparse.spl
b/examples/printparse.spl
index
06b4f1f
..
41f1988
100644
(file)
--- a/
examples/printparse.spl
+++ b/
examples/printparse.spl
@@
-48,7
+48,8
@@
strToInt(x) :: [Char] -> Int {
return i*m;
}
-printList(p, l) {
+//printList(p, l) :: (a -> Void) -> [a] -> Void {
+printList(p, l) :: (a -> Void) -> [a] -> Void {
print('[');
if(!isEmpty(l)){
p(l.hd);