Created
May 17, 2014 14:50
-
-
Save frabbit/7d878a65c299de8e343a 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
| a,((TMono x) as b) -> | |
(match !x with | |
| None -> if not (link x b a) then error [cannot_unify t1 t2] | |
| _ -> error [cannot_unify t1 t2]) | |
| ((TMono x) as a),b -> | |
(match !x with | |
| None -> if not (link x a b) then error [cannot_unify t1 t2] | |
| _ -> error [cannot_unify t1 t2]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment