-
-
Save Wilfred/b605923e3bca378fe6a43640fbddb452 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type fruit = Apple of int | Pear of int | |
;; | |
let foo z = | |
let y = 2 in begin | |
function | |
| Apple x -> x + y + z | |
| Pear x -> x + y + z | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment