ptal / oak

A typed parser generator embedded in Rust code for Parsing Expression Grammars
Apache License 2.0
142 stars 14 forks source link

automatically unpacking tuple into function arguments #43

Closed ptal closed 9 years ago

ptal commented 9 years ago

For the moment a b c > f makes f to be called with a tuple (a, b, c). It'd be better to unpack the tuple as arguments to f, so f(a, b, c) would be called instead of f((a,b,c)).

ptal commented 9 years ago

For the moment nothing is done... this is a misguiding issue. Furthermore, we want tuple unpacking to be the default behavior. Closing it since it is not a real issue.