repositories
/
cc1516.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c779c9
)
fixed example
author
pimjager
<pim@pimjager.nl>
Mon, 29 Feb 2016 13:04:13 +0000
(14:04 +0100)
committer
pimjager
<pim@pimjager.nl>
Mon, 29 Feb 2016 13:04:13 +0000
(14:04 +0100)
src/example.spl
patch
|
blob
|
history
diff --git
a/src/example.spl
b/src/example.spl
index
b3f6b95
..
58d037e
100644
(file)
--- a/
src/example.spl
+++ b/
src/example.spl
@@
-3,7
+3,7
@@
First the recursive version .
*/
facR(n) :: Int -> Int {
- if (n
}
< 2) {
+ if (n < 2) {
return 1;
} else {
return n * facR(n-1);