You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
datatype myType = TwoInts of int * int
| Str of string
| Pizza
funf x = (* mytype -> int *)case x of
Pizza => 3
| TwoInts (i1, i2) => i1 + i2
(*| Str s => String.size s*)val test_1 = f Pizza = 3
The text was updated successfully, but these errors were encountered:
E.g.
The text was updated successfully, but these errors were encountered: