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

Add Example to Reference Pattern Docs #122

Merged
merged 3 commits into from
May 20, 2021
Merged

Conversation

nucklass
Copy link
Contributor

Hi!
I really like MLStyle and the pattern matching it provides. I ran into an issue today where it was difficult to figure out how to match on the abstract value of an Int16 and Int64. I thought adding some extra detail to the docs might help out anyone else in this position. I also tried to sum up the some of the discussion on pattern matching and equality that happened #62 . Let me know what you think!

Copy link
Owner

@thautwarm thautwarm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for the PR!
I've left a review comment, please fix accordingly and I'll merge your PR!

docs/syntax/pattern.md Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented May 18, 2021

Codecov Report

Merging #122 (fc92a74) into master (591bcce) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #122   +/-   ##
=======================================
  Coverage   81.93%   81.93%           
=======================================
  Files          26       26           
  Lines        1522     1522           
=======================================
  Hits         1247     1247           
  Misses        275      275           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 591bcce...fc92a74. Read the comment docs.

@thautwarm thautwarm merged commit ab9762c into thautwarm:master May 20, 2021
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

Successfully merging this pull request may close these issues.

2 participants