NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Type Inference vs. Abstract Interpretation (Score:1)
Reply to This
Partial evaluation (Score:2)
sub fib ($n) is cached { ... }. Normally this would be a runtime cache, but coupled with a topleveluse optimize <close>, symbols can't be rebound infib, so the optimizer can do a static analyzation and choose to evaluate this in the compile time.First-class types and pattern bindings (the function signature kind, not the rules kind) are one of the more exciting features in Perl 6, and I've been pushing for ML-style unification based type variables, which can be