Skip to content

Instantly share code, notes, and snippets.

@vendethiel
Created April 6, 2015 09:49
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 vendethiel/5332f431236490f39ffa to your computer and use it in GitHub Desktop.
Save vendethiel/5332f431236490f39ffa to your computer and use it in GitHub Desktop.
Variants of standard single-dispatch method call
$obj.+meth
$obj.?meth
$obj.*meth
.=
.^
:truey and :!falsey with other names
“does A does B” (multi)
remove 2th stuff.
... "$a ! $b ! $c; # with a list-associative `!`, this is `infix:<>
trait_mod:<is>(Routine $r, :$curry!)
type smileys
auto-vification hash/array/(my $x)++
prefix:<|>, flattening (explained a bit already)
(??) LoL semantics + ; + ||
(??) bitwise operators
(??) WhateverWhatever
x, xx (+ thunking)
junctions
let/temp, unless mentioned
(??) but/does (infix), with mixins ? (dans le passage “OO”)
comparison chaining, unless mentioned already
[remove comparisons]
(???) min/max/minmax
(??) more on adverbs
$obj.implicit: ‘call’;
list/flat/lol contextualizers
trust relationship
(??) natively typed attributes
delegation
==>, (==>> NYI) feeding
Paramatric roles + type capture
enums, sauf si deja ok
argument coercion
nested signature, :(Str -> Int)
(??) nextsame, nextwith, callsame, …
(??) need/require
(??) andthen/orself (NYI in rakudo)
(??) << “$foo” >>
(???) macros
(??) threads
(??) DESTROY
(??) andthen orelse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment