robrix / Prelude

Swift µframework of simple functional programming tools
MIT License
409 stars 26 forks source link

Tuple field getters #44

Closed robrix closed 8 years ago

robrix commented 9 years ago

a la fst and snd but not named that because oy

robrix commented 8 years ago

(Note for @nikita-leonov or anyone else interested in tackling this: first and second would be preferable names.)

nikita-leonov commented 8 years ago

Nice. In our code base we actually used first & second too, as it is more inline with Swift conventions. I will find time this week on converting our quick & nimble tests into XCTests and will provide PR. Thanks!

nikita-leonov commented 8 years ago

Added in #48. There are also suggestion / question for other tuple related operators.

robrix commented 8 years ago

Closed by #48. Thanks again @nikita-leonov :bow: :grin: