From ac45f1bfcf29e3ceb44b5461fd6da5654b60f6f1 Mon Sep 17 00:00:00 2001
From: Ari Angga Nugraha <ari.angga@ui.ac.id>
Date: Thu, 10 Dec 2020 22:58:42 +0700
Subject: [PATCH] create function to count net benefit

---
 src/Lib.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Lib.hs b/src/Lib.hs
index 3387a8d..7e32b67 100755
--- a/src/Lib.hs
+++ b/src/Lib.hs
@@ -19,3 +19,5 @@ handler person context =
     return (Right person)
   else
     return (Left "A person's age must be positive")
+
+countNB a b = zipWith (+) a b
-- 
GitLab