Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
viebel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
301.
▲
by
viebel
10y ago
Not useless, almost useless: You can do elegant recursive memoization with the Y combinator as explained here http://blog.klipse.tech/lambda/2016/08/10/y-combinator-app-j...
302.
▲
by
viebel
10y ago
The full Y combinator is presented in the sequel of the current article: http://blog.klipse.tech/lambda/2016/08/10/pure-y-combinator-...
303.
▲
by
viebel
10y ago
There is a practical application for recursive memoization: http://blog.klipse.tech/lambda/2016/08/10/y-combinator-app-j...
304.
▲
by
viebel
10y ago
Indeed, the klipse plugin has access to DOM elements. What ideas do you have for kids? I have tried to do something for kids here: kids.klipse.tech The klipse plugin concept is explained in details: 1. http://blog.klipse.tech
305.
▲
Recursions without names: Introduction to the Y combinator in JavaScript
(blog.klipse.tech)
77 points
by
viebel
10y ago
|
32 comments
306.
▲
by
viebel
10y ago
Did you ever try to memoize a recursive function? In this article, we show a real life application of the Y combinator: the memoization of a recursive function.
307.
▲
Show HN: Y combinator real life application: recursive memoization
(blog.klipse.tech)
1 points
by
viebel
10y ago
|
1 comments
308.
▲
by
viebel
10y ago
Oops, I forgot to submit the link. I opened a new story with the link: https://news.ycombinator.com/item?id=12250435
309.
▲
by
viebel
10y ago
As far as I know, this is the first time one can experiment the Y combinator in the browser in a live an interactive environment. Feedbacks and comments are appreciated.
310.
▲
Show HN: The Y combinator running in the browser
(blog.klipse.tech)
4 points
by
viebel
10y ago
|
1 comments
311.
▲
by
viebel
10y ago
The Y combinator is one of the most beautiful idea in Computer Science: it allows to write recursive functions without using names at all!
312.
▲
Lambda Calculus: The Y combinator in action
7 points
by
viebel
10y ago
|
6 comments
313.
▲
by
viebel
10y ago
The idea of this article is to let the reader feel with his hands that it possible to write recursions without names. Playing with the interactive code give a much clearer understanding of what's going on. Especially, when one deals wi
314.
▲
Show HN: The Y combinator running in your browser
(blog.klipse.tech)
3 points
by
viebel
10y ago
|
1 comments
315.
▲
by
viebel
10y ago
This article is part of a mini-course for kids about LISP and Clojure. The particularity of this mini-course is that the code snippets are interactive. The snippets are powered by klipse: https://github.com/viebel/klips
316.
▲
Teach your kids about truth in computer programming
(kids.klipse.tech)
2 points
by
viebel
10y ago
|
1 comments
317.
▲
by
viebel
10y ago
The idea of this article is to let the reader feel with his hands that it possible to write recursions without names. Playing with the interactive code give a much clearer understanding of what's going on. Especially, when one deals wi
318.
▲
Recursions without names: Introduction to the Y combinator
(blog.klipse.tech)
2 points
by
viebel
10y ago
|
1 comments
319.
▲
by
viebel
10y ago
In javascript (1, eval) returns eval. But this is indirect. This is why `eval` runs in the outer scope. The whole point of this article is to demonstrate how weird is `eval`.
320.
▲
by
viebel
10y ago
Every javascript developer knows that eval is evil. But eval is really powerful and from a theoretical perspective eval is very interesting. For instance, did you ever ask yourself in what context does eval run? This article features live &
321.
▲
JavaScript eval: direct vs. indirect call
(blog.klipse.tech)
2 points
by
viebel
10y ago
|
3 comments
322.
▲
by
viebel
10y ago
Not a lot of readers yet. But it's promising.
323.
▲
by
viebel
10y ago
The klipse plugin is a javascript tag that transforms static code snippets of an html page into live and interactive snippets: 1. Live: The code is executed in your browser 2. Interactive: You can modify the code and it is evaluated as you
324.
▲
Show HN: Klipse – code evaluator pluggable on a web page clojure/ruby/JavaScript
(github.com)
2 points
by
viebel
10y ago
|
1 comments
325.
▲
by
viebel
10y ago
For kids alone, it is indeed difficult. But if the parent knows a bit about Lisp and goes over the tutorial with them, the kids can learn and even enjoy!
326.
▲
by
viebel
10y ago
My kids get very easily used to the lisp notation where the operator is always on first position
327.
▲
by
viebel
10y ago
I have went over this tutorial with my kids (12 and 13 years old) and they enjoyed it a lot.
328.
▲
by
viebel
10y ago
It's still work in progress. Only a few articles for the moment. I would be happy to hear your thoughts about the best way to teach functional programming to kids.
329.
▲
Show HN: Functional Programming for Kids: Interactive Tutorial
(github.com)
40 points
by
viebel
10y ago
|
18 comments
330.
▲
by
viebel
10y ago
A note to the parents: This tutorial's goal is to teach the kids the foundations of functional programming, in a fun and interactive way. It is mostly based on Clojure and LISP. The code snippets are interactive. It is supposed to be f
More ›