typelift/Swiftz
View on GitHub ↗ ★ 3,317 Swift
Functional programming in Swift
9 mentions on Hacker News by 9 people: 4 stories, 5 comments · first 2014-06-03 · latest 2024-04-19
20082026
-
…8-year-old exercise in type-lifting Swift [1] and ask yourself: what is he doing now at Apple? [1] https://github.com/typelift/Swiftz
comment by w10-1 · 2024-04-19 · in C-Macs – a pure C macOS application -
Swiftz ( https://github.com/typelift/Swiftz ) offers well tested implementation of operator definitions and constructs from functional language. It takes inspiration from Scalaz and Haskell. If I were to write a library using wacky…
comment by hxucaa · 2016-02-18 · in Debunking the myths about parsing JSON in Swift -
yup. we have a "Functor" https://github.com/maxpow4h/swiftz/blob/master/swiftz/Unsoun... It requires constructing a "Functor" value manually, otherwise it works fine. You can still write functions over an A in Functor. The Result enum bug…
comment by maxpow4h · 2014-06-16 · in Smashing Swift -
Some folks are working on a library for this already: https://github.com/maxpow4h/swiftz
comment by platz · 2014-06-15 · in Smashing Swift -
If you're new to functional programming styles this swift project might be more relevant: https://github.com/maxpow4h/swiftz
comment by stigi · 2014-06-03 · in Flappy Bird in Swift