beginning to learn #haskell and as well as "Learn You A Haskell" I'm also going to got do this mooc: haskell.mooc.fi

they seem to use "stack" something I dont' really want to learn a lot about

they want us to run

stack ghci Set1.hs

but I'm wonder if my original way of running ghci then :load scratch.hs is equivalent?

Follow

@rzeta0 It's okay to skip the stack/cabal/etc if the code has no dependencies besides `base`.
Otherwise, switch to the project-based setup ASAP and save hours trying to figure out how to install stuff, where, and which versions.

Since the package they use for exercises has quite a few deps, you'd rather follow the suit and `ghcup install stack` or make yourself at least a minimal `cabal.project` (`packages: .`) and use `cabal ghci ...` instead.
Just don't try to `cabal install` - this way lies madness.

Apparently they use stack to install ghc too. That was superceded by ghcup.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.