Skip to content

Commit 700e821

Browse files
committed
Add second example
1 parent 4863951 commit 700e821

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Haskell/maybe2.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
main = do
2+
print $ (* 2) . (+ 5) . (^ 2) <$> Just 5
3+
print $ (* 2) . (+ 5) . (^ 2) <$> Nothing

0 commit comments

Comments
 (0)