haskell/haskell-ide-engine

Automatic extension detection from package.yaml for Floskell

Open

#1,506 建立於 2019年12月29日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Haskell (205 fork)batch import
good first issue

倉庫指標

Star
 (2,358 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I have several extensions enabled in my package.yaml file in the default-extensions field (e.g. DerivingStrategies), so floskell fails to parse the source file (on seeing deriving stock for example) and reports a syntax error.

Is there any possibility that we automatically detect the default-extensions field in package.yaml file and pass them to floskell? Or perhaps by default enabling some extensions that in general don't break otherwise well-formed programs (e.g. DerivingStrategies, StandaloneDeriving, etc.)?

貢獻者指南