haskell / cabal-userguide

A handy user guide for the Cabal build tool
28 stars 5 forks source link

New To Cabal - First cabal executable #15

Open JonathanLorimer opened 3 years ago

JonathanLorimer commented 3 years ago

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

Brief Summary

This chapter should build off of the previous one https://github.com/haskell/cabal-userguide/issues/14 and demonstrate how to create an executable that uses the library. However, it would be a good idea to show that an executable can exist without depending on the library. It might be nice to show 2 executables that use the same library, this would demonstrate that there can be more than one exe unlike libraries. It would also be nice to show the user how to run their executable.

Prior Art

Kowainik blog adding an executable Haskell School building and running executables

Resources

Old cabal user guide library vs executable