Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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

This comment has been minimized.

Copy link

@rybak rybak commented Dec 28, 2017

Seems that the space in the first " LND" is not supposed to be there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment