diff --git a/prax1/prax1.hs b/prax1/prax1.hs index 5e7aa74..16ed447 100644 --- a/prax1/prax1.hs +++ b/prax1/prax1.hs @@ -1 +1,10 @@ -- 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