Showing posts with label functional-programming. Show all posts
Showing posts with label functional-programming. Show all posts

Sunday, May 13, 2012

n-ary curry in CoffeeScript


I was playing with CoffeeScript when I found myself writing the following lines and then looking at them in awe:

Thursday, April 19, 2012

Are any Javascript engines tail call optimized?


I have a tail recursive pathfinding algorithm that I've implemented in Javascript and would like to know if any (all?) browsers would possibly get stack overflow exceptions.