Live data from Hacker News

An opinionated guide to Haskell

lexi-lambda.github.io

1–10 of 96 posts

Re: An opinionated guide to Haskell

#2
Learning Haskell is one of those two weeks things that’s been on my interests list for a long time, but will likely stay there for awhile yet.

Though, if anyone has got any high-quality quick resources handy that’d be appreciated!

Re: An opinionated guide to Haskell

#3
This is really great. I'd love to see a follow up covering other topics. Such as testing (with hedgehog), modeling SQL, etc. Or -- anything that helps open up the world to see how Haskell is a beautiful language to build on.

Re: An opinionated guide to Haskell

#4
post #2

Learning Haskell is one of those two weeks things that’s been on my interests list for a long time, but will likely stay there for awhile yet. Though, if anyone has got any high-quality quick resources handy that’d be appreciated!

http://haskellbook.com/ is a great modern deep dive catered to folks like you! It is long, but guides you along the way

Re: An opinionated guide to Haskell

#5
post #2

Learning Haskell is one of those two weeks things that’s been on my interests list for a long time, but will likely stay there for awhile yet. Though, if anyone has got any high-quality quick resources handy that’d be appreciated!

http://haskellbook.com/ is a great modern deep dive catered to folks like you! It is long, but guides you along the way

Thank you!

Re: An opinionated guide to Haskell

#6
post #2

Learning Haskell is one of those two weeks things that’s been on my interests list for a long time, but will likely stay there for awhile yet. Though, if anyone has got any high-quality quick resources handy that’d be appreciated!

I’ve been reading “Real World Haskell” and enjoying it thus far. Big bonus is it is available for free online:

http://book.realworldhaskell.org

Re: An opinionated guide to Haskell

#7
Wow, I wish this existed when I was wprking with Haskell a few years ago. This is a compendium of useful information. I really love how Haskell makes me think and code in an entirely different way. It is fun, and I hope the language continues to grow.

Re: An opinionated guide to Haskell

#8
post #2

Learning Haskell is one of those two weeks things that’s been on my interests list for a long time, but will likely stay there for awhile yet. Though, if anyone has got any high-quality quick resources handy that’d be appreciated!

If you’re in it for the two-week thing rather than the long term, “learn you a Haskell for great good” is a good choice. Not terribly informative if your goal is writing large applications, but pretty good introduction to the mindset that goes with writing haskell

Re: An opinionated guide to Haskell

#9
I've tried messing around with haskell a few times, but the biggest problem I have is the tooling.

I just tried to get haskell set up a few days ago and I couldn't get it working with either vscode or Idea. I also couldn't get ihaskell (jupyter notebook) installed successfully.

I might give it another shot based on these instructions, but the fact that pretty much every program seems to make different assumptions about whether you're using cabal or stack and how you have them set up is really annoying. I assume if you are really knowledgeable about this tools it's not that bad, but as a haskell beginner they are completely impenetrable. (Even just the yaml files used by stack seem completely incomprehensible compared to the formats used by most languages' build tools.)

Considering that the language itself has a pretty steep learning curve, it's really frustrating wasting several hours just trying to get the haskell environment set up without success and not even getting the point of being able to try to actually use it.

I've had a pretty bad opinion of the Ocaml and F# tooling in the past, but the haskell tooling is just so, so much worse. (F# seems to have gotten to a point where the tooling if you can just use .net core, although it gets horrible again if you then need to also use mono at the same time so you can use the interpreter.)

It's especially bad if you compare it to something like rust where cargo works so well it's actually in itself a reason to use rust.

Re: An opinionated guide to Haskell

#10

I've tried messing around with haskell a few times, but the biggest problem I have is the tooling. I just tried to get haskell set up a few days ago and I couldn't get it working with either vscode or Idea. I also couldn't get ihaskell (jupyter notebook) installed successfully. I might give it another shot based on these instructions, but the fact that pretty much every program seems to make different assumptions abo…

It takes a while for the Haskell community to reach consensus. Stack is definitely recommended by almost everyone for both beginners and production projects. It is used on every project I’ve run in to lately. Sure there are different ways to configure it, but these days there’s really one way to get started. Just download stack, make a new project, and start coding
Post reply on HN