repositories
/
cc1516.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25712a3
)
nu met en nu zonder
author
Mart Lubbers
<mart@martlubbers.net>
Sun, 29 May 2016 19:11:10 +0000
(21:11 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Sun, 29 May 2016 19:11:10 +0000
(21:11 +0200)
examples/printparse.spl
patch
|
blob
|
history
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);