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

Resolve "typespec to validator" in compile-time #1

Open
hissssst opened this issue Feb 6, 2020 · 0 comments
Open

Resolve "typespec to validator" in compile-time #1

hissssst opened this issue Feb 6, 2020 · 0 comments

Comments

@hissssst
Copy link

hissssst commented Feb 6, 2020

You can make cast/2 a macro of two arguments and escape the first one because is is defined in compile time, so you wouldn't search for typespec in runtime (what is extremely inefficent)

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

No branches or pull requests

1 participant