Skip to content

doc: fixes to documentation for gleam/dynamic/decode #826

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

isaacharrisholt
Copy link

@isaacharrisholt isaacharrisholt commented Apr 12, 2025

Couple of fixes to the documentation for the decode module:

  • Replaced assert with let assert as the former is not currently valid Gleam code.
    • I did this work in a separate commit so it can be easily reverted when this syntax becomes valid.
  • Fixed a syntax error.
  • Removed a reference to decode.then from an example that doesn't use it.

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

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

Could you undo the assert change please? We will likely have assert by the time this is release 🙏

@isaacharrisholt
Copy link
Author

docs: minor corrections to dynamic/decode

Yep! All done

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