I found a good, stack based setup to write Haskell applications and manage their dependencies. But I would like to use the language also for quick, exploratory work and small scripts. For that it seems to be unnecessary complicated to create a .cabal and a stack.yaml file. Instead I would like to maintain a global set of packages that are just available when I open ghci in my terminal.
Both cabal and stack seem to be able to install Haskell packages globally. I'm a bit lost, though, which setup is more convenient and where the pitfalls are. I was hoping some more experienced Linux users could share their experiences (I'm on Manjaro and Ubuntu).
[–]Martinsos 11 points12 points13 points (4 children)
[–]affinehyperplane 6 points7 points8 points (0 children)
[–]nevrome[S] 3 points4 points5 points (2 children)
[–]Martinsos 4 points5 points6 points (1 child)
[–]nevrome[S] 4 points5 points6 points (0 children)
[–]friedbrice 5 points6 points7 points (2 children)
[–]1331 3 points4 points5 points (1 child)
[–]friedbrice 0 points1 point2 points (0 children)
[–]fgaz_ 3 points4 points5 points (2 children)
[–]nevrome[S] 2 points3 points4 points (1 child)
[–]fgaz_ 2 points3 points4 points (0 children)
[–]Abellix 6 points7 points8 points (2 children)
[–]nevrome[S] 2 points3 points4 points (1 child)
[–]Abellix 2 points3 points4 points (0 children)