- install ghc (haskell compiler) with (ghcup)[https://www.haskell.org/ghcup/].
cabal run
haskell-reader-example > cabal run
... compiler output ...
What is your name?
nate
How many lines of poetry do you want?
5
This poem is for their majesty nate in the year of our lord 2023
Kind solace in a dying hour!
Such, father, is not (now) my theme—
I will not madly deem that power
Of Earth may shrive me of the sin
Unearthly pride hath revell’d in—