purescript-0.13.8: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.CST.Utils

Synopsis

Documentation

toName :: (Text -> a) -> SourceToken -> Parser (Name a) Source #

toConstraint :: forall a. Monoid a => Type a -> Parser (Constraint a) Source #

isLeftFatArrow :: Text -> Bool Source #

This is to keep the Parser.y file ASCII, otherwise happy will break in non-unicode locales.

Related GHC issue: https://gitlab.haskell.org/ghc/ghc/issues/8167