I stated in my last post some ideas I came up with involving Perl 6 that I’d be at least semi-interested in doing. Although the code repository (P6SSMPR) was actually my favorite idea, I decided to start with the small (and remotely possible) stuff, namely a project whose ultimate goal is a pretty graph.
For the past couple days I’ve been taking notes on any mention of types and especially the hierarchy of types in Perl 6. You can see the work so far here. S01 contained no information, while S02 is proving to be quite the ordeal (as seen in this recent commit message). I knew this wasn’t going to be easy.
I state the goals for this project in the README (by the way, yes I do support the use of .pod6 as a valid extension), but to repeat them here, I want to do this for two reasons:
- To help newcomers to Perl 6 understand the type system (one less confusing aspect of the language to be all alone on)
- To reveal any potential inconsistencies in the synopses, at least what’s pertinent to types and the type hierarchy.
There it is! Hope you’ll follow the work, and snicker at the occasional witty note/commit message.
(Actually, moritz mentioned that there is no type hierarchy. In that case, is the P6 Standard Objects Inheritance Chain? Or maybe SCOI. No wait, definitely CISO. No,…)
TL;DR: You just missed a valuable cash opportunity in the blog post. Maybe next time.