Created
October 29, 2013 19:10
-
-
Save firesofmay/7220764 to your computer and use it in GitHub Desktop.
Test case for week3 challenge problem.
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
| val Q13_same_con_in_2_datatypes = typecheck_patterns ([("A", "Dt1", IntT), | |
| ("A", "Dt2", IntT)], | |
| [TupleP [ConstructorP ("A", ConstP 20)], | |
| TupleP [ConstructorP ("A", ConstP 10)]]); | |
| (*val Q13_same_con_in_2_datatypes = SOME (TupleT [Datatype "Dt1"]) : typ option*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment