{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/e55e0ec3c00f834d78fbdddeaa36e308?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e55e0ec3c00f834d78fbdddeaa36e308","url":"https://api.github.com/users/schwern","login":"schwern","id":25888},"milestone":null,"assignee":null,"updated_at":"2011-11-13T19:02:34Z","labels":[{"name":"signatures","color":"ededed","url":"https://api.github.com/repos/schwern/perl5i/labels/signatures"},{"name":"syntax","color":"ededed","url":"https://api.github.com/repos/schwern/perl5i/labels/syntax"},{"name":"wishlist","color":"edd713","url":"https://api.github.com/repos/schwern/perl5i/labels/wishlist"},{"name":"yes do it","color":"11e60e","url":"https://api.github.com/repos/schwern/perl5i/labels/yes+do+it"}],"comments":2,"closed_at":null,"url":"https://api.github.com/repos/schwern/perl5i/issues/159","body":"Add named parameters.  `func foo(:$arg) {}` accepts `foo({ arg => 42 })`.\r\n\r\nSee Method::Signatures for details.  The difference is named parameters in perl5i are taken as a hash ref.  This makes it jive with the rest of the perl5i API and potentially allows mixing of optional and required arguments (don't allow it yet).","html_url":"https://github.com/schwern/perl5i/issues/159","title":"Named parameters","number":159,"id":269017,"created_at":"2010-08-04T20:28:18Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/e55e0ec3c00f834d78fbdddeaa36e308?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e55e0ec3c00f834d78fbdddeaa36e308","url":"https://api.github.com/users/schwern","login":"schwern","id":25888},"updated_at":"2011-11-13T19:02:34Z","url":"https://api.github.com/repos/schwern/perl5i/issues/comments/2723742","body":"Thanks for the work!\r\n\r\nAt this point I'd like to pull in Method::Signatures.  It's come along very nicely lately and if we're going to build OO stuff into perl5i it's going to be centered around Mouse.\r\n\r\nThe major thing which must be changed in Method::Signatures is removing its dependency on Devel::BeginLift.  I figured out a way to do it, and still retain compile-time `func`, but I won't have time to work on it until the end of the month.  You're welcome to take a stab.\r\nhttps://github.com/schwern/method-signatures/issues/39\r\n\r\nThe thing which perl5i's signatures do very well is provide the signature introspection object.  If you're interested, you could work on turning the signature hash in Method::Signatures into a real object so it can be used by perl5i.","id":2723742,"created_at":"2011-11-13T19:02:34Z"}}