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

Allow custom types with a Parse method #220

Open
Smaug123 opened this issue Aug 26, 2024 · 1 comment
Open

Allow custom types with a Parse method #220

Smaug123 opened this issue Aug 26, 2024 · 1 comment

Comments

@Smaug123
Copy link
Owner

Smaug123 commented Aug 26, 2024

Call a static .Parse : string -> 'a method as a final resort on a type. Cope with this throwing. (We can't cope with it returning None or Error without more information; perhaps add attributes for this.)

@Smaug123
Copy link
Owner Author

Smaug123 commented Sep 5, 2024

Add an attribute [<ArgumentOpaque>] to indicate "don't attempt to turn this into part of the parser".

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

No branches or pull requests

1 participant