Haskell functions for Javascript

A

Ariel Flesler

Hi all

I hope this is the right place to post this (I already read the FAQ).

A couple of days ago, I ported some functions from Haskell[1] to
Javascript.
I added the possibility to curry[2] these (and other) functions.

I wrote a blog post[3] and prepared a demo[4].
Note that this is merely didactic and I was just playing a bit...

I appreciate any opinion.

Cheers!

[1] http://en.wikipedia.org/wiki/Haskell_(programming_language)
[2] http://en.wikipedia.org/wiki/Currying
[3] http://flesler.blogspot.com/2008/11/haskell-functions-for-javascript.html
[4] http://demos.flesler.com/HS/
 
D

David Mark

Hi all

I hope this is the right place to post this (I already read the FAQ).

It is.
A couple of days ago, I ported some functions from Haskell[1] to
Javascript.
I added the possibility to curry[2] these (and other) functions.

I wrote a blog post[3] and prepared a demo[4].
Note that this is merely didactic and I was just playing a bit...

I appreciate any opinion.

The demo is unusable. You removed my browser's scroll bars. Thank
heavens the back button still works!
 
D

David Mark

Ok, sorry. There you have them.

Well thank you very much! Now, the floating blocks on the right are
overlapping the rightmost part of the content, so I can't read it. I
suppose I could make the window bigger, but I don't want it bigger.
 
M

Michael Wojcik

Ariel said:
A couple of days ago, I ported some functions from Haskell[1] to
Javascript.
I added the possibility to curry[2] these (and other) functions.

I just skimmed the implementation (in particular, I didn't check for
nonstandard constructs), but at first glance it looks like a nice
little implementation of the currying-lambda operator and various HOFs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,135
Messages
2,570,783
Members
47,339
Latest member
flaviu2

Latest Threads

Top