Perl6: The World’s Worst ML?
Since Perl6 uses the smartmatch operator to match up type signatures, that means that we can also match on arguments by value…. The declaration is entirely optional, just as the type signature in the Haskell version is entirely optional. Hope you enjoyed this
Here’s Damian Conway, a Perl 6 language designer, on the goals of the Perl 6 language in relation to this post:
One of the original Perl 6 design philosophies was that complexity is intrinsically irreducible…but extrinsically redistributable.
Source: aearnus.github.io