Skip to content

Update docs to indicate behavior of List.map/2, add tests#345

Merged
zachdaniel merged 3 commits intoash-project:mainfrom
ollien:map-docs
Oct 24, 2025
Merged

Update docs to indicate behavior of List.map/2, add tests#345
zachdaniel merged 3 commits intoash-project:mainfrom
ollien:map-docs

Conversation

@ollien
Copy link
Copy Markdown
Contributor

@ollien ollien commented Oct 22, 2025

I noticed the documentation for Code.List.map/2 was incorrect (seemed to be a copy/paste error from move_to_list_item), so I fixed that.

I thought the return behavior was a bit surprising, especially having written it out, so I added a test just to prove that behavior :)

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@zachdaniel zachdaniel merged commit d90eb60 into ash-project:main Oct 24, 2025
45 checks passed
@zachdaniel
Copy link
Copy Markdown
Contributor

🚀 Thank you for your contribution! 🚀

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