More
This commit is contained in:
parent
31f7bc363c
commit
92df99aa2b
@ -1 +1,10 @@
|
|||||||
-- This is a comment
|
-- This is a comment
|
||||||
|
|
||||||
|
doubleMe x = x * 3
|
||||||
|
|
||||||
|
doubleUs x y = doubleMe x + doubleMe y
|
||||||
|
|
||||||
|
doubleSmallNumber x = if x <= 100 then doubleMe x else x
|
||||||
|
|
||||||
|
-- ' <- uptick is used as convetion to mark lightly modified function
|
||||||
|
doubleSmallNumber' x = (if x <= 100 then doubleMe x else x) + 1
|
||||||
|
Loading…
Reference in New Issue
Block a user