From 28f72bd51394f5929ac0a8d16cf82716fca41220 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sat, 20 Sep 2014 23:28:36 -0400 Subject: [PATCH] baby time --- lyahfgg/baby.hs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lyahfgg/baby.hs 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!"