Replies: 2 comments 7 replies
-
The docs in check PosInt :isa(INT) ($value) { $value > 0 } |
Beta Was this translation helpful? Give feedback.
4 replies
-
No, I saw that. I'm talking about metaprogramming without having to use stringy eval to define types. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Types would need to be first-class for this, but it would be good to have an API to export types to whatever lexical scope is currently being compiled, like
export_lexically
in blead's builtin.pm.It would also be good to be able to declare types via an API. Something like:
Beta Was this translation helpful? Give feedback.
All reactions