Stack: Multi-line script interpreter opener

Created on 28 Dec 2016  路  3Comments  路  Source: commercialhaskell/stack

In the book I am working on, I am going to be limited to either 43 or 59 columns. Accordingly, this script interpreter opener isn't going to work on a single line:

-- stack --resolver lts-6.27 --install-ghc runghc --package aeson --package raw-strings-qq

Is there a way for me to split it across lines? \ didn't work.

Most helpful comment

BTW, this was my first commit to stack a year ago!

All 3 comments

Use a multiline haskell comment and write the comment whatever way you want.

{- stack 
... 
-}

Ah, perfect!

{-
stack --resolver lts-6.27 --install-ghc
      runghc --package aeson
      --package raw-strings-qq
-}

This worked great, thank you!

BTW, this was my first commit to stack a year ago!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

domenkozar picture domenkozar  路  3Comments

symbiont-joseph-kachmar picture symbiont-joseph-kachmar  路  3Comments

Cosmius picture Cosmius  路  3Comments

cybaj picture cybaj  路  3Comments

sjakobi picture sjakobi  路  4Comments