From 455e100cc93bfb21689f77bbd3c7a9361f5a3344 Mon Sep 17 00:00:00 2001 From: Jacob Page Date: Sat, 1 Mar 2025 14:06:50 -0800 Subject: [PATCH] Fix install instructions The provided install instructions do not work. ``` $ cabal install parsec Resolving dependencies... Error: [Cabal-7127] Cannot build the executables in the package parsec because it does not contain any executables. Check the .cabal file for the package and make sure that it properly declares the components that you expect. ``` It looks like at some point cabal made it so you've have to use a `--lib` option to install a library. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16c9da7..ea862d4 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ any modern installation of Haskell, such as First install Parsec. - cabal install parsec + cabal install --lib parsec Below we show how a very simple parser that tests matching parentheses was made from GHCI (the interactive GHC environment), which we started