Created
June 13, 2017 11:58
-
-
Save deque-blog/45c84724beade5460918ad5495a6e8aa 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
john : Customer | |
john = MkCustomer "John" "NYC" (MkAccount "123" "NYC") | |
update_billing_address john " LND" | |
=> MkCustomer "John" "NYC" (MkAccount "123" "LND") : Customer | |
concat_billing_address john " LND" | |
=> MkCustomer "John" "NYC" (MkAccount "123" "NYC LND") : Customer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems that the space in the first
" LND"
is not supposed to be there.