Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ErrorLocation #
Instances
Eq ErrorLocation # | |
Defined in Napkin.Run.Effects.Languages.SqlParse (==) :: ErrorLocation -> ErrorLocation -> Bool # (/=) :: ErrorLocation -> ErrorLocation -> Bool # | |
Ord ErrorLocation # | |
Defined in Napkin.Run.Effects.Languages.SqlParse compare :: ErrorLocation -> ErrorLocation -> Ordering # (<) :: ErrorLocation -> ErrorLocation -> Bool # (<=) :: ErrorLocation -> ErrorLocation -> Bool # (>) :: ErrorLocation -> ErrorLocation -> Bool # (>=) :: ErrorLocation -> ErrorLocation -> Bool # max :: ErrorLocation -> ErrorLocation -> ErrorLocation # min :: ErrorLocation -> ErrorLocation -> ErrorLocation # | |
Show ErrorLocation # | |
Defined in Napkin.Run.Effects.Languages.SqlParse showsPrec :: Int -> ErrorLocation -> ShowS # show :: ErrorLocation -> String # showList :: [ErrorLocation] -> ShowS # |
data SqlParseError #
Instances
Eq SqlParseError # | |
Defined in Napkin.Run.Effects.Languages.SqlParse (==) :: SqlParseError -> SqlParseError -> Bool # (/=) :: SqlParseError -> SqlParseError -> Bool # | |
Show SqlParseError # | |
Defined in Napkin.Run.Effects.Languages.SqlParse showsPrec :: Int -> SqlParseError -> ShowS # show :: SqlParseError -> String # showList :: [SqlParseError] -> ShowS # |
ParseSqlQuery' :: ErrorLocation -> Text -> SqlParse m (Either SqlParseError Query) | |
ParseSqlExp' :: ErrorLocation -> Text -> SqlParse m (Either SqlParseError SExp) | |
ParseSqlFrom' :: ErrorLocation -> Text -> SqlParse m (Either SqlParseError From) | |
ParseSqlRelation' :: ErrorLocation -> Text -> SqlParse m (Either SqlParseError (Alias Relation)) | |
ParseSqlSelExps' :: ErrorLocation -> Text -> SqlParse m (Either SqlParseError [Alias SExp]) |
Instances
GShow (SqlParse a :: Type -> Type) # | |
Defined in Napkin.Run.Effects.Languages.SqlParse gshowsPrec :: forall (a0 :: k). Int -> SqlParse a a0 -> ShowS # | |
CachableEffect (SqlParse :: k -> Type -> Type) SqlParseCacheKey # | |
Defined in Napkin.Run.Effects.Languages.SqlParse | |
Eq (SqlParse m a) # | |
Ord (SqlParse m a) # | |
Defined in Napkin.Run.Effects.Languages.SqlParse | |
Show (SqlParse m a) # | |
parseSqlSelExps' :: forall r. MemberWithError SqlParse r => ErrorLocation -> Text -> Sem r (Either SqlParseError [Alias SExp]) #
parseSqlRelation' :: forall r. MemberWithError SqlParse r => ErrorLocation -> Text -> Sem r (Either SqlParseError (Alias Relation)) #
parseSqlFrom' :: forall r. MemberWithError SqlParse r => ErrorLocation -> Text -> Sem r (Either SqlParseError From) #
parseSqlExp' :: forall r. MemberWithError SqlParse r => ErrorLocation -> Text -> Sem r (Either SqlParseError SExp) #
parseSqlQuery' :: forall r. MemberWithError SqlParse r => ErrorLocation -> Text -> Sem r (Either SqlParseError Query) #
parseSqlQuery :: Members [SqlParse, FatalError] r => ErrorLocation -> Text -> Sem r Query #
parseSqlExp :: Members [SqlParse, FatalError] r => ErrorLocation -> Text -> Sem r SExp #
parseSqlFrom :: Members [SqlParse, FatalError] r => ErrorLocation -> Text -> Sem r From #
parseSqlRelation :: Members [SqlParse, FatalError] r => ErrorLocation -> Text -> Sem r (Alias Relation) #
parseSqlSelExps :: Members [SqlParse, FatalError] r => ErrorLocation -> Text -> Sem r [Alias SExp] #
data SqlParseCacheKey #
Instances
CachableEffect (SqlParse :: k -> Type -> Type) SqlParseCacheKey # | |
Defined in Napkin.Run.Effects.Languages.SqlParse |