Connecting Tech Pros Worldwide Help | Site Map

Haskell functions for Javascript

  #1  
Old November 19th, 2008, 10:15 PM
Ariel Flesler
Guest
 
Posts: n/a
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
  #2  
Old November 19th, 2008, 10:25 PM
David Mark
Guest
 
Posts: n/a

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!
  #3  
Old November 19th, 2008, 10:35 PM
Ariel Flesler
Guest
 
Posts: n/a

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
  #4  
Old November 20th, 2008, 01:35 AM
David Mark
Guest
 
Posts: n/a

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.
  #5  
Old November 21st, 2008, 08:55 PM
Michael Wojcik
Guest
 
Posts: n/a

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 Threads
Thread Thread Starter Forum Replies Last Post
Dynamic features used bearophileHUGS@lycos.com answers 5 November 21st, 2008 04:55 PM
Should I learn C++? Scott Sellers answers 42 April 18th, 2007 04:15 PM
What is Expressiveness in a Computer Language Xah Lee answers 669 July 22nd, 2006 04:45 PM
IDE for Python ? news@absamail.co.za answers 1 January 1st, 2006 10:55 AM