Skip to content

Instantly share code, notes, and snippets.

Created February 20, 2015 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e3481d2cf907cccbd984 to your computer and use it in GitHub Desktop.
Save anonymous/e3481d2cf907cccbd984 to your computer and use it in GitHub Desktop.
MacBookProRetinaFCO:Resource fernando$ ~/rakudo-star-2015.01/install/bin/perl6 -e '
class MyType { method postcircumfix:<( )>($from) { say $from } }; my MyType() $x = 42
'
===SORRY!=== Error while compiling -e
coercive type declarations not yet implemented. Sorry.
at -e:4
------> ( )>($from) { say $from } }; my MyType()⏏ $x = 42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment