MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/889h93/tensorflowjs/dwkb0qi/?context=3
r/javascript • u/deathmood • Mar 30 '18
101 comments sorted by
View all comments
Show parent comments
36
ReferenceError: big is not defined
11 u/Combinatorilliance Mar 30 '18 (function (isTrue) {if (isTrue) console.log("Big");}(true)); 8 u/[deleted] Mar 30 '18 console.log((arg => (a => b => c => a(b)(c))(arg)('Big')('Small'))(a => b => a)) 2 u/spel3o Mar 31 '18 console.log((arg => (a => b => c => a(b)(c))(arg)('Big')('Small'))(a => b => a))No joke, doing beta reduction on this comment has given me the best intuition to date as to why (a => b => a) represents "True" in lambda calculus.
11
(function (isTrue) {if (isTrue) console.log("Big");}(true));
8 u/[deleted] Mar 30 '18 console.log((arg => (a => b => c => a(b)(c))(arg)('Big')('Small'))(a => b => a)) 2 u/spel3o Mar 31 '18 console.log((arg => (a => b => c => a(b)(c))(arg)('Big')('Small'))(a => b => a))No joke, doing beta reduction on this comment has given me the best intuition to date as to why (a => b => a) represents "True" in lambda calculus.
8
console.log((arg => (a => b => c => a(b)(c))(arg)('Big')('Small'))(a => b => a))
2 u/spel3o Mar 31 '18 console.log((arg => (a => b => c => a(b)(c))(arg)('Big')('Small'))(a => b => a))No joke, doing beta reduction on this comment has given me the best intuition to date as to why (a => b => a) represents "True" in lambda calculus.
2
No joke, doing beta reduction on this comment has given me the best intuition to date as to why (a => b => a) represents "True" in lambda calculus.
36
u/Knext Mar 30 '18