Roadmap #19
Replies: 2 comments 2 replies
-
I agree with this in particular and it would side-step some of the concerns about naming. Do we want to continue discussion of that here or in a different discussion? I was thinking that the types would have fully-qualified names just like things stored in the stash.
Damian's spec also says that user-defined checks would be lexical and can be imported into other lexical scopes if marked as
Combining some ideas from both of these points together, why not create checks that use faster low-level checks like:
I'm hoping an approach like this will allow the checks themselves to be thought of as rules that can be reasoned about (by both the developer and tools that may do more advanced checking outside of the core). |
Beta Was this translation helpful? Give feedback.
-
This is for waaay down the line, but has to do with Cor and how it can interact with types for method dispatch. If certain methods / classes are declared as {static, final, sealed} (various terminology in other languages), then the method dispatch can be known at compile time. An implementation of this idea exists on CPAN as: Though even in the absence of that, there are other techniques (though this gets too much into implementation details)... More references for other langauges:
|
Beta Was this translation helpful? Give feedback.
-
Summary what we want now, what later
Milestone 1 - MVP
:of
:returns
Int',
Str,
Undef`, ...Milestone 2
Assorted features
Void
subsBeta Was this translation helpful? Give feedback.
All reactions