robrix/Hammer — pull request #75 by robrix (2014-04-13 07:02:49+00:00)
Title: [WIP] Destructuring

Implements destructuring pattern matching.

id firstIfConcatenation = [HMRCase match:combinator withCases:@[
[HMRCase case:HMRConcatenationPredicate(HMRBind, HMREmptyPredicate) then:^(id first) {
return first;
}],
]]

Fixes #15.