Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement case pattern matching for tutoriald #280

Open
agentm opened this issue Mar 29, 2021 · 0 comments
Open

implement case pattern matching for tutoriald #280

agentm opened this issue Mar 29, 2021 · 0 comments

Comments

@agentm
Copy link
Owner

agentm commented Mar 29, 2021

From the "Out of the Tarpit" tutd:

data Price = Price Integer

There is no way to use this with integer functions without a pattern match. Implement case expressions in TutorialD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant