From b91d5fe868873cd251d7711104cc8ee960db350f Mon Sep 17 00:00:00 2001 From: Monika Mazella Date: Mon, 8 Jan 2024 15:39:46 +0100 Subject: [PATCH 1/2] multiply-added --- example.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.hs b/example.hs index 009910b..578b6a3 100644 --- a/example.hs +++ b/example.hs @@ -1,5 +1,5 @@ add :: Int -> Int -> Int -add x y = x + y +add x y = x * y subtract :: Int -> Int -> Int From ea905ec1e65d0c83131402f67cab17c729ec3fb4 Mon Sep 17 00:00:00 2001 From: Monika Mazella Date: Mon, 8 Jan 2024 15:39:46 +0100 Subject: [PATCH 2/2] multiply-added --- example.hs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 example.hs diff --git a/example.hs b/example.hs new file mode 100644 index 0000000..578b6a3 --- /dev/null +++ b/example.hs @@ -0,0 +1,6 @@ +add :: Int -> Int -> Int +add x y = x * y + + +subtract :: Int -> Int -> Int +subtract x y = x + y