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

Fix array signature fn (List(a)) -> Value to fn (List(a), fn (a) -> Value) -> Value #46

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

ghivert
Copy link
Contributor

@ghivert ghivert commented Nov 25, 2024

pog.array was wrong, in the sense that any data could be sent in the parameter. That PR come to fix this.
To stay consistent with packages like json, I decided to provide the converter function as argument of array. We could introduce preprocessed_array if you think it's useful.

@ghivert ghivert changed the title Fix array signature fn (List(a)) -> Value to fn (List(a), fn (a) -> Value) -> Value Fix array signature fn (List(a)) -> Value to fn (List(a), fn (a) -> Value) -> Value Nov 25, 2024
Copy link
Owner

@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.

Thank you

@lpil lpil merged commit 3c7dd0d into lpil:main Nov 26, 2024
1 check passed
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