diff --git a/lyahfgg/baby.hs b/lyahfgg/baby.hs new file mode 100644 index 0000000..6ccf1bd --- /dev/null +++ b/lyahfgg/baby.hs @@ -0,0 +1,11 @@ +doubleMe x = x + x + +doubleUs x y = doubleMe x + doubleMe y + +doubleSmallNumber x = if x > 100 + then x + else x*2 + +doubleSmallNumber' x = (if x > 100 then x else x*2) + 1 + +conanO'Brien = "It's a-me, Conan O'Brien!"