HackerTube 中文?

Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich

ConfreaksYouTube ↗

Further reading 1

Caption notes

Starting with Church encodings and higher-order functions, Weirich derives recursion through self-application and arrives at a fixed-point combinator.

Original passages · 6
functions are the only data type. No integers, no strings,
Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · ▶ 9:19–9:53
Recursion is no problem for it by doing this little trick
Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · ▶ 36:21–36:38
the function y calculates the fixpoint of an improver function.
Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · ▶ 46:27–47:02
it evaluates its arguments before it passes the arguments down into functions.
Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · ▶ 47:59–48:48
calculates the fixpoint of an improver function
Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · ▶ 46:31–46:42
you don't need the y combinator
Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · ▶ 50:52–50:55

Hacker News comments

View original on HN ↗