Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

speaking of painful programming languages

I was googling for an image visually representing what "fold" does (the current homework in my programming languages class involves implementing a fold-like function and the students are hardly comfortable with induction/recursion, let alone functions as parameters, polymorphism, etc.) and I came across this page.

They define a numerical integration function, first in Haskell and then in XSLT. The Haskell is five lines near the beginning. To see the XSLT, scroll down a few pages: it's on a colored background so you won't miss it.
Subscribe

  • livejournal kids

    Neat image from Jack Dorsey. Every so often someone will ask me about Twitter and I'll dig up a a random day from Brad's LJ in 1999 and talk about…

  • münchen

    On that note: I'm living in Munich for the next week plus a few days. Do I know anyone around here? (PS: The LJ → PubSubHubbub → Reader…

  • deb/rpm diffing tools

    Dear Linux hackers, Chrome tends to push minor updates (often security) pretty frequently. We'd like to operate as a good member of the Linux…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment