Closed dandoh closed 4 years ago
Have you enabled the corresponding language extension?
@mrkkrp I put in in package.yaml
, do I have to put it on the file?
package.yaml
doesn't mean anything to Ormolu. There are two ways to make it aware of language extensions: 1) put them on the top of each module (recommended) 2) pass with --ghc-option
, i.e. --ghc-option -XArrows
.
Confirm it works if I enable them in the file.
Ormolu fails to parse arrow notation
proc () ->
: