-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Description
src/Spago/Dhall.hs:39:11: error:
• Couldn't match expected type ‘Maybe Dhall.Pretty.CharacterSet’
with actual type ‘Dhall.Pretty.CharacterSet’
• In the first argument of ‘Dhall.Format.Format’, namely
‘Dhall.Pretty.ASCII’
In the second argument of ‘(.)’, namely
‘Dhall.Format.Format
Dhall.Pretty.ASCII NoCensor
(PossiblyTransitiveInputFile (Text.unpack pathText) NonTransitive)’
In the expression:
Dhall.Format.format
. Dhall.Format.Format
Dhall.Pretty.ASCII NoCensor
(PossiblyTransitiveInputFile (Text.unpack pathText) NonTransitive)
|
39 | Dhall.Pretty.ASCII
| ^^^^^^^^^^^^^^^^^^
I believe this came up in the discussion in ASCII vs. Unicode discussion on the Dhall Discourse, but now the autoformatter can deduce which style the user is using. The update happened in dhall-haskell last month with this commit. I suppose this library at least needs the library updated.
I would assume spago should also be "smart" about formatting too even if PureScript, the org?, wants to keep ASCII by default?
Metadata
Metadata
Assignees
Labels
No labels