Connecting Tech Pros Worldwide Forums | Help | Site Map

Haskell functions for Javascript

Ariel Flesler
Guest
 
Posts: n/a
#1: Nov 19 '08
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...mming_language)
[2] http://en.wikipedia.org/wiki/Currying
[3] http://flesler.blogspot.com/2008/11/...avascript.html
[4] http://demos.flesler.com/HS/

--
Ariel Flesler
http://flesler.blogspot.com



David Mark
Guest
 
Posts: n/a
#2: Nov 19 '08

re: Haskell functions for Javascript


On Nov 19, 5:10*pm, Ariel Flesler <afles...@gmail.comwrote:
Quote:
Hi all
>
I hope this is the right place to post this (I already read the FAQ).
It is.
Quote:
>
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!
Ariel Flesler
Guest
 
Posts: n/a
#3: Nov 19 '08

re: Haskell functions for Javascript


The demo is unusable. *You removed my browser's scroll bars. *Thank
Quote:
heavens the back button still works!
Ok, sorry. There you have them.

--
Ariel Flesler
http://flesler.blogspot.com
David Mark
Guest
 
Posts: n/a
#4: Nov 20 '08

re: Haskell functions for Javascript


On Nov 19, 5:29*pm, Ariel Flesler <afles...@gmail.comwrote:
Quote:
Quote:
The demo is unusable. *You removed my browser's scroll bars. *Thank
heavens the back button still works!
>
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.
Michael Wojcik
Guest
 
Posts: n/a
#5: Nov 21 '08

re: Haskell functions for Javascript


Ariel Flesler wrote:
Quote:
>
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.

--
Michael Wojcik
Micro Focus
Rhetoric & Writing, Michigan State University
Closed Thread


Similar JavaScript / Ajax / DHTML bytes