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

Strange behaviour in docs #29

Open
drshade opened this issue Mar 22, 2022 · 0 comments
Open

Strange behaviour in docs #29

drshade opened this issue Mar 22, 2022 · 0 comments

Comments

@drshade
Copy link

drshade commented Mar 22, 2022

Hi Again!

I found another issue in the docs that I wanted to try and fix while going through them, specifically at:
https://www.unison-lang.org/learn/fundamentals/control-flow/pattern-matching2/

Somewhere in the middle of the page, the snippet {Left} renders as Right (Term.Term (Any (_ a -> Left a))) which I thought was a little confusing and probably not the intended rendering. Looking at the code I wasn't able to find the issue until I started deleting prior paragraphs. It turns out that by removing Left a (in double-ticks) from the previous paragraph it magically fixes itself.

Hmmm... I'm completely stumped by that one - but hopefully this is useful to someone in tracking down the root cause.

All the best,
Tom

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