Skip to content

Instantly share code, notes, and snippets.



Last active Sep 23, 2018
What would you like to do?
type CardType =
| Visa
| MC
type PaypalId =
| Id of int
type CardNumber =
| Number of int
type PaymentMethod =
| CashOnDelivery
| Paypal of PaypalId
| Card of CardNumber * CardType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.