Haskell2010 is an official GHC extension (https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/table.html) and used in yi-editor/yi (https://github.com/yi-editor/yi/blob/13fa0f7c598a115485572b66fed5bc3cf383d0ef/yi-core/src/Yi/PersistentState.hs#L5), for example. I suggest to support this extension by replacing
readExtension :: String -> Maybe Extension
with
readExtension :: String -> [Extension]
and yield default2010Extensions in the case of Haskell2010.
If this is fine, I will create a pull request.
Haskell2010is an official GHC extension (https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/table.html) and used inyi-editor/yi(https://github.com/yi-editor/yi/blob/13fa0f7c598a115485572b66fed5bc3cf383d0ef/yi-core/src/Yi/PersistentState.hs#L5), for example. I suggest to support this extension by replacingwith
and yield
default2010Extensionsin the case ofHaskell2010.If this is fine, I will create a pull request.