Skip to content
0:00 / 0:00

#haskell#stack#haskell-stack

Haskell Stack Mega-Tutorial

bitemyapp

1K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Chris Allen and Julie Moronuki, authors of Haskell Programming from first principles
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

37K views11 years ago1 recommendation

Tools and practiceProgramming languagesTestingBuild systems and packagingVim, Emacs and editors

Chris Allen and Julie Moronuki present a comprehensive, step-by-step tutorial on setting up and using the Haskell Stack build tool.

A Stack tutorial to help new people dive with Haskell by Chris Allen and Julie Moronuki, authors of the Haskell book "Haskell Programming from first principles". NOTE: We only told you we were using Docker for transparency about when we were working from a clean-slate, you _do not_ need to use Docker and that's not how Julie or I use Stack. We have Stack installed directly on our computers and you should be able to follow along with this without touching Docker. Haskell Programming book: haskellbook.com/ Julie's website: superginbaby.wordpress.com Chris's website: bitemyapp.com Sections: Intro, getting Stack installed, how to setup the PATH Installing wreq, lens, pandoc. More on the PATH Making your own project with Stack, stack templates Adding a stack.yaml to an existing project Getting more difficult builds to work Using different snapshots in a new project Organizing large projects under a single stack.yaml, installing Purescript and Idris. ... Papu makes some noise

Why it's here

1 person recommends this

What people say. Recommended as an excellent, thorough guide for beginners learning how to manage Haskell projects with Stack.

u/Mob_Of_Onein r/haskell • Recommends

Haskell Stack tutorial video

u/wewbullin r/haskell • Mentions

On “Opinions on "haskell programming from first principles"?”

I bought this about 6 months ago, and it's been better than any other resource I've tried. Specifically the authors do the Monoid, Semigroup, Functor, Applicatative, Monad data types better than anybody else. Primarily because they explain what they **ARE** rather than trying to make similes. They start with the simplest (but still useful) type, and build things up layer by layer. That journey takes at least 6 of the 31 chapters. Nobody else takes the time to do it right. My biggest gripe with the book is really nothing the authors can do anything about. That is that all other Haskell documentation is really poor, so when you try to jump off and find out more information on a topic you can…

u/wewbullin r/haskell • Mentions

On “Struggling to get started with "developing" with Haskell”

This is the link to this video that got me actually working with a flow. It's a couple of years old now, but I think it probably still holds up. A few points: - It's `stack` based - It's Linux based - It's emacs based. - It's 2 hours long, and is a little slow at points, but it really does walk you through. The emacs bit probably isn't as important, but emacs + intero + stack works **REALLY** well. In editor type checking, completion, and documentation lookup, and that's just for starters. Chris has got a lot of other video's on that channel which are him coding on various projects, just showing how he works.

u/Mob_Of_Onein r/haskell • Mentions

On “24 days of Hackage, 2015: day 1: Introduction and Stack”

In case anyone would like a longer tutorial that covers more use-cases and some things that require more effort/know-how, my coauthor and I made a Stack tutorial video here. We believe it's pretty comprehensive and demonstrates everything from installation, to explaining how the PATH works, to how to build stuff that doesn't work out of the box and requires amending dependencies.

u/Mob_Of_Onein r/haskell • Mentions

On “Michael Snoyman Twitter tech talk: Haskell for fast, concurrent, robust services”

I think Julie and I did alright on audio and visuals in our Stack tutorial, but it's pretty hard to naildown AV for a meetup/talk without a fair bit of prep & gear. I keep a mic in my backpack now, but I still don't have a good solution for recording video.

u/pepper_chicoin r/haskell • Mentions

On “Why I am not a fan of Cabal or Stack”

I'm not a Haskell user, I'm just posting a user experience I've read of someone I don't know because it's almost exactly the same one I had the many times I tried it. It's not just the `uninstall` thing, there are several points there, explicit or implied. I went through the pretty stone age way of nuking `~/.cabal` to fix things, and I've seen a lot of devs doing and advocating that. You still have to manage cached artifacts when using sandboxes, which easily grow to several GBs. At least the time I used, and in this post too, Stack is viewed as a Cabal replacement to fix all the things, but then you learn you have to deal with the two. I once watched this 2 hour long tutorial on Stack (…