haskell / haskell/cabal-userguide

New To Cabal - Cabal repl

Open
#10 0 comments 0 reactions 1 assignee Claimed by @JonathanLorimer View on GitHub
New Chapter New To Cabal
Dominant language
Nix
Stars
29
Forks
5
PR merge metrics
No merged PRs in 30d

Description

file to edit: https://github.com/haskell/cabal-userguide/blob/main/src/new_to_cabal/02_cabal_repl.md

## Brief Summary

In the [content discussion issue](https://github.com/haskell/cabal-userguide/issues/1#issuecomment-861943815) it was mentioned that the easiest way to show a new user how to use cabal is through an interactive environment where they can try things out. This chapter should show the users the basics of the cabal repl (loading a package with `--build-depends`, basic repl like activities). The intent of the chapter should be to show the user how to experiment with cabal. It might also be nice to show how cabal repl integrates into an interactive workflow via something like `ghcid`.

## Prior Art

[Kowainik blog post repl section](https://kowainik.github.io/posts/2018-06-21-haskell-build-tools#cabal-repl)

## Resources

[Prior Cabal User Guide](https://cabal.readthedocs.io/en/3.4/cabal-commands.html#cabal-v2-repl)
[Repl Command Source](https://github.com/haskell/cabal/blob/master/cabal-install/src/Distribution/Client/CmdRepl.hs#L145-L180)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.