add documentation for single-file Haskell scripts (#8559)
commit344958d8f15f4bbb3ff04c7ef0c9a1d57dd66a4c
authorinstinctive <177694+instinctive@users.noreply.github.com>
Wed, 16 Nov 2022 13:31:50 +0000 (16 05:31 -0800)
committerGitHub <noreply@github.com>
Wed, 16 Nov 2022 13:31:50 +0000 (16 13:31 +0000)
treedd91438ded4c2dcb71e1b8db8a04f795452100e2
parent4cdaa50afc99df758b9b754a6fb00f8723172c2f
add documentation for single-file Haskell scripts (#8559)

* add documentation for single-file Haskell scripts

This is a useful feature which I think would benefit newcomers by being a top-level, early entry in the docs. See: https://stackoverflow.com/a/65541020

* Add project metadata and cabal run doc link

* Fix cabal run link

* Add custom anchor for 'cabal run'

* Qualify use of executable shell script to unix-likes
doc/cabal-commands.rst
doc/getting-started.rst