hsdev-0.3.1.3: Haskell development library

Safe HaskellNone
LanguageHaskell98

HsDev.Database.SQLite.Instances

Contents

Documentation

newtype JSON a Source #

Constructors

JSON 

Fields

Instances

Eq a => Eq (JSON a) Source # 

Methods

(==) :: JSON a -> JSON a -> Bool #

(/=) :: JSON a -> JSON a -> Bool #

Ord a => Ord (JSON a) Source # 

Methods

compare :: JSON a -> JSON a -> Ordering #

(<) :: JSON a -> JSON a -> Bool #

(<=) :: JSON a -> JSON a -> Bool #

(>) :: JSON a -> JSON a -> Bool #

(>=) :: JSON a -> JSON a -> Bool #

max :: JSON a -> JSON a -> JSON a #

min :: JSON a -> JSON a -> JSON a #

Read a => Read (JSON a) Source # 
Show a => Show (JSON a) Source # 

Methods

showsPrec :: Int -> JSON a -> ShowS #

show :: JSON a -> String #

showList :: [JSON a] -> ShowS #

FromJSON a => FromField (JSON a) Source # 

Methods

fromField :: FieldParser (JSON a) #

ToJSON a => ToField (JSON a) Source # 

Methods

toField :: JSON a -> SQLData #

Orphan instances

FromRow Symbol Source # 
FromRow Info Source # 
FromRow Test Source # 
FromRow Executable Source # 
FromRow Library Source # 
FromRow Project Source # 
FromRow ModulePackage Source # 
FromRow ModuleLocation Source # 
FromRow ModuleId Source # 
FromRow SymbolId Source # 
FromRow Position Source # 
FromRow Region Source # 
FromRow OutputMessage Source # 
FromRow Inspection Source # 
FromRow SymbolUsage Source # 
FromRow SymbolInfo Source # 
FromRow Symbol Source # 
FromRow Import Source # 
FromRow TypedExpr Source # 
FromField POSIXTime Source # 
FromField Language Source # 
FromField Value Source # 
FromField PackageDb Source # 
FromField PackageDbStack Source # 
FromField Severity Source # 
ToRow Symbol Source # 

Methods

toRow :: Symbol -> [SQLData] #

ToRow Project Source # 

Methods

toRow :: Project -> [SQLData] #

ToRow ModulePackage Source # 

Methods

toRow :: ModulePackage -> [SQLData] #

ToRow ModuleLocation Source # 

Methods

toRow :: ModuleLocation -> [SQLData] #

ToRow ModuleId Source # 

Methods

toRow :: ModuleId -> [SQLData] #

ToRow SymbolId Source # 

Methods

toRow :: SymbolId -> [SQLData] #

ToRow Position Source # 

Methods

toRow :: Position -> [SQLData] #

ToRow Region Source # 

Methods

toRow :: Region -> [SQLData] #

ToRow OutputMessage Source # 

Methods

toRow :: OutputMessage -> [SQLData] #

ToRow Inspection Source # 

Methods

toRow :: Inspection -> [SQLData] #

ToRow SymbolInfo Source # 

Methods

toRow :: SymbolInfo -> [SQLData] #

ToRow Symbol Source # 

Methods

toRow :: Symbol -> [SQLData] #

ToRow Import Source # 

Methods

toRow :: Import -> [SQLData] #

ToRow TypedExpr Source # 

Methods

toRow :: TypedExpr -> [SQLData] #

ToField POSIXTime Source # 

Methods

toField :: POSIXTime -> SQLData #

ToField Value Source # 

Methods

toField :: Value -> SQLData #

ToField PackageDb Source # 

Methods

toField :: PackageDb -> SQLData #

ToField PackageDbStack Source # 
ToField Severity Source # 

Methods

toField :: Severity -> SQLData #

FromRow a => FromRow (Note a) Source # 

Methods

fromRow :: RowParser (Note a) #

FromRow a => FromRow (Scoped a) Source # 

Methods

fromRow :: RowParser (Scoped a) #

FromField (Name ()) Source # 

Methods

fromField :: FieldParser (Name ()) #

FromField (ModuleName ()) Source # 
ToRow a => ToRow (Note a) Source # 

Methods

toRow :: Note a -> [SQLData] #

ToRow a => ToRow (Scoped a) Source # 

Methods

toRow :: Scoped a -> [SQLData] #

ToField (Name ()) Source # 

Methods

toField :: Name () -> SQLData #

ToField (ModuleName ()) Source # 

Methods

toField :: ModuleName () -> SQLData #