greet :: IO ()
greet = putStrLn "Hi everyone!!" >> greet
-- The most important thing in the code is that we make it fail-safe.
safediv :: Int -> Int -> Maybe Int
safediv x y = if y == 0 then Nothing else Just $ div x y
ezequieljm Goto Github PK
Type: User
Bio: I'm currently a system engineering student. I focus on functional programming, web development and informatic security.
Twitter: ezequieljm95
Location: Argentina