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

Custom type coercion function #4

Open
florence opened this issue Aug 31, 2015 · 1 comment
Open

Custom type coercion function #4

florence opened this issue Aug 31, 2015 · 1 comment
Labels

Comments

@florence
Copy link

It would be nice to have a custom coertion/parsing function beyond the generic type based ones. Something like:

(define/provide-environment [id #:coerse my-parse])

This would allow types beyond the default ones supported.

@lexi-lambda
Copy link
Owner

Yes, this is semi-planned, I just don't know exactly how I want to do it yet. The solution you mentioned is definitely the simplest one, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants