|
Izzy Muerte
@slurpsmadrips
|
27. sij |
|
Thanks, I hate it 😬 pic.twitter.com/R1M3I58h2r
|
||
|
|
||
|
Katharina 🍪🏴 Fey
@spacekookie
|
27. sij |
|
wat?
|
||
|
|
||
|
Katharina 🍪🏴 Fey
@spacekookie
|
27. sij |
|
What language is this?! Is this gonna be syntactic sugar for Ok(Ok(value)) if value => ?
|
||
|
|
||
|
Celti B.
@CeltiBurroughs
|
27. sij |
|
It's effectively sugar for `Ok(Ok(value)) if value == false` — though I think @ bindings are strictly a subset of what's capable with actual match guards.
|
||
|
|
||
|
q3k
@q3k
|
27. sij |
|
I think this is inspired by Haskell's as-patterns? With `bindings_after_at` you can do some even neater stuff. pic.twitter.com/skCKza1og9
|
||
|
|
||
|
emily
@lambdakitten
|
27. sij |
|
I just say "at-patterns"
|
||
|
|
||
|
emily
@lambdakitten
|
27. sij |
|
apparently the Report calls them "as-patterns"
|
||
|
|
||