Re:Swift is like Kotlin
by Black-Plaid on Thursday May 18, 2017 @01:54AM
(#14365091)
It's strange that on the Kotlin side the author goes out of their way to show 'shorter' ways to do things that are also available in Swift but not illustrated.
as examples
[ Parent
| on HN ]
There's a PR that fixes one of them which was filed on December 22 of last year... Yikes.
while we're at it http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.34.16...
Re:Swift is like Kotlin
by throwaway7645 on Thursday May 18, 2017 @06:31AM
(#14366114)
Why are you citing an FP comp Sci professor? I must've missed something
seeing reduce in swift made me think about the universality of fold, which is the paper linked.
Re:Swift is like Kotlin
by throwaway7645 on Thursday May 18, 2017 @02:59PM
(#14370040)
Ah, was about to say that all goes back to lambda calculus by Church and could be found in Lisp probably around ~1958.