Haskell functions for Javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ariel Flesler

    Haskell functions for Javascript

    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
    My jQuery plugins, and other scripts.

  • David Mark

    #2
    Re: Haskell functions for Javascript

    On Nov 19, 5:10 pm, Ariel Flesler <afles...@gmail .comwrote:
    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!

    Comment

    • Ariel Flesler

      #3
      Re: Haskell functions for Javascript

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

      --
      Ariel Flesler
      My jQuery plugins, and other scripts.

      Comment

      • David Mark

        #4
        Re: Haskell functions for Javascript

        On Nov 19, 5:29 pm, Ariel Flesler <afles...@gmail .comwrote:
        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.

        Comment

        • Michael Wojcik

          #5
          Re: Haskell functions for Javascript

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

          Comment

          Working...