Created
August 8, 2016 11:01
-
-
Save gsg/9b78ba4a5ea9ace33b0835432ce21b19 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let test b x y = | |
match if b then x, y else y, x with | 0, 1 -> 0 | _, _ -> 1 | |
let test2 b x y = | |
let c, d = if b then x, y else y, x in | |
match c, d with | 0, 1 -> 0 | _, _ -> 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment