Live data from Hacker News

Becoming Productive in Haskell

mechanical-elephant.com

1–10 of 213 posts

Re: Becoming Productive in Haskell

#2
I really liked this article, in particular the sections around learning things like Functor and Monad (if you haven't read the article, don't worry, it's not a list of new explanations that's why I like it).

A minor wording recommendation:

> better in every measure(lower complexity, speed, readability, extensibility)

Apart from a missing space before the parenthesis, this reads like there was lower complexity, lower speed ...

Re: Becoming Productive in Haskell

#4
> So, I started calling it Mappable. Mappable was easy for me to remember and was descriptive of what it did. A list is a Functor. A list is Mappable.

I wish there was a language or library that was willing to take the Haskell functionality and just give it all names like this.

Re: Becoming Productive in Haskell

#5
Nice article, i've been learning Haskell for about a month solving kata on http://www.codeswars.com/ using https://www.fpcomplete.com/ as my IDE. I'm finding it quite a learning curve understanding what library functions there are and how to use them. The code I write often ends up being quite different to the other solutions on codewars.

I'm missing Visual Studio, are there any realy good Haskell IDEs out there? for example ones which allow debugging.

Re: Becoming Productive in Haskell

#6
post #4

> So, I started calling it Mappable. Mappable was easy for me to remember and was descriptive of what it did. A list is a Functor. A list is Mappable. I wish there was a language or library that was willing to take the Haskell functionality and just give it all names like this.

A fork of Haskell with descriptive names and operators could be really popular, I think.

Re: Becoming Productive in Haskell

#7
Nice article. I find FP incredibly elegant and I'd like to learn Haskell, but every time I search, there are never any jobs in it, so it seems like Scala is the better choice for where I live...

Speaking of which, I found "Functional Programming in Scala" excellent for teaching someone with an imperative background how to "think functionally". Monads are explained in an easy to understand way. I can imagine that without reading that book I'd have been looking at a couple of years of coding before I started to see the abstractions, etc. By contrast "Learn You a Haskell" lost me part way through both times I tried to read it...

Re: Becoming Productive in Haskell

#8
Great article. I do think a better "Getting started with Haskell" guide is Chris Allen's:

https://github.com/bitemyapp/learnhaskell

OP's article is still a great way of wetting appetite, and sharing insights; but moving on from there is better facilitated by Chris Allen's recommendations.

There is also the IDE issue; FPComplete has a web-based IDE that is good for beginners, and it is possible to setup Emacs to be a very helpful IDE (though this is by no means simple). With Haskell an IDE is really helpful: see the errors as you type, and resolving them before running into a wall of compile errors.

Anyway: go Haskell. I'm looking forward to a less buggy future :)

Re: Becoming Productive in Haskell

#9
I don't think I have ever used a haskell program written by someone else that wasn't ghc. Is that usual? Are there now a bunch of .debs for useful things other than writing haskell that are actually written in Haskell? I'm not trolling, it's just a good test of what something is useful for when it's been around a while is to ask "Well, what has it actually been used for?"

Re: Becoming Productive in Haskell

#10

Nice article, i've been learning Haskell for about a month solving kata on http://www.codeswars.com/ using https://www.fpcomplete.com/ as my IDE. I'm finding it quite a learning curve understanding what library functions there are and how to use them. The code I write often ends up being quite different to the other solutions on codewars. I'm missing Visual Studio, are there any realy good Haskell IDEs out there? for…

Haskell with Emacs is awesome! There's a few modes available to have a powerful IDE. I don't remember which ones as xmonad + yi (or vi) is enough for me now.
Post reply on HN