View RSS Feed

WingedPanther

Impressions of Haskell

Rate this Entry
by , 10-18-2009 at 11:37 AM (1394 Views)
I decided a few days ago to take a serious look at Haskell, and started yesterday. I cracked open a tutorial at http://learnyouahaskell.com/ and started playing with GHCi.

Haskell can bend your mind. It appears to be based on the model of Turing Machines called Recursive Functions. There are no variables, only n-ary functions. A nullary function is a constant. Other functions produce output in a deterministic manner.

The only non-deterministic functions are the user interfaces. The key thing is you have NO variables. You have no ability to store data between function calls. This makes things like a standard rand() function almost impossible. A function's output depends ONLY on its parameters. There is no outside interference.

I like it, but it's bizarre. It's based on several things: lists, set-builder notation, tuples. It does not support OOP, but does have type abstraction that provides similar behaviors.

If you want to scramble your brains, Haskell is a good way to do it

Submit "Impressions of Haskell" to Digg Submit "Impressions of Haskell" to del.icio.us Submit "Impressions of Haskell" to StumbleUpon Submit "Impressions of Haskell" to Google

Tags: None Add / Edit Tags
Categories
Uncategorized

Comments

  1. Jordan's Avatar
    It looks interesting. What made you decide to learn Haskell?
  2. ZekeDragon's Avatar
    I was thinking of trying out Haskell, since I'm on a nice little language voyage. You should see some of Scheme, there's all sorts of differences. It's very much not a C dialect. XD

    I'll look at the link and see if I can't get something made!
  3. marwex89's Avatar
    lol that's a crazy one... I'll add it to my list after malbolge
  4. WingedPanther's Avatar
    I've been aware of Haskell for a while, but never really looked at it. I figured it was about time to look at it. I'm also starting to look at common Lisp. As I said in the Lisp thread, it's worth while to program with different paradigms