1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Apply stylish-haskell.

This commit is contained in:
Rob Rix 2020-02-04 13:41:20 -05:00
parent d40f3832e8
commit ca0d7d51fe
No known key found for this signature in database
GPG Key ID: 2BE643E01DC032AE

View File

@ -9,6 +9,9 @@ module AST.GenerateSyntax
, astDeclarationsForLanguage
) where
import AST.Deserialize (Children (..), Datatype (..), DatatypeName (..), Field (..), Multiple (..), Named (..), Required (..), Type (..))
import AST.Token
import qualified AST.Unmarshal as TS
import Data.Aeson hiding (String)
import Data.Foldable
import Data.List
@ -22,12 +25,9 @@ import Language.Haskell.TH as TH
import Language.Haskell.TH.Syntax as TH
import System.Directory
import System.FilePath.Posix
import AST.Deserialize (Children (..), Datatype (..), DatatypeName (..), Field (..), Multiple (..), Named (..), Required (..), Type (..))
import qualified TreeSitter.Language as TS
import TreeSitter.Node
import TreeSitter.Symbol (TSSymbol, toHaskellCamelCaseIdentifier, toHaskellPascalCaseIdentifier)
import AST.Token
import qualified AST.Unmarshal as TS
-- | Derive Haskell datatypes from a language and its @node-types.json@ file.
--