repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/dopefishh/cc1516
[cc1516.git]
/
src
/
example.spl
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 {
First the recursive version .
*/
facR(n) :: Int -> Int {
- if (n
}
< 2) {
+ if (n < 2) {
return 1;
} else {
return n * facR(n-1);
return 1;
} else {
return n * facR(n-1);