grisette-0.11.0.0: Symbolic evaluation as a library
Copyright(c) Sirui Lu 2024
LicenseBSD-3-Clause (see the LICENSE file)
Maintainersiruilu@cs.washington.edu
StabilityExperimental
PortabilityGHC only
Safe HaskellNone
LanguageHaskell2010

Grisette.Internal.Core.Data.SExpr

Description

 
Synopsis

Documentation

data SExpr Source #

S-expression data type. Used for symbol metadata.

Instances

Instances details
Binary SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

put :: SExpr -> Put #

get :: Get SExpr #

putList :: [SExpr] -> Put #

Serial SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

serialize :: MonadPut m => SExpr -> m () #

deserialize :: MonadGet m => m SExpr #

Serialize SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

put :: Putter SExpr #

get :: Get SExpr #

NFData SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

rnf :: SExpr -> () #

Generic SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Associated Types

type Rep SExpr 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

from :: SExpr -> Rep SExpr x #

to :: Rep SExpr x -> SExpr #

Show SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

showsPrec :: Int -> SExpr -> ShowS #

show :: SExpr -> String #

showList :: [SExpr] -> ShowS #

Eq SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

(==) :: SExpr -> SExpr -> Bool #

(/=) :: SExpr -> SExpr -> Bool #

Ord SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

compare :: SExpr -> SExpr -> Ordering #

(<) :: SExpr -> SExpr -> Bool #

(<=) :: SExpr -> SExpr -> Bool #

(>) :: SExpr -> SExpr -> Bool #

(>=) :: SExpr -> SExpr -> Bool #

max :: SExpr -> SExpr -> SExpr #

min :: SExpr -> SExpr -> SExpr #

AsMetadata SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.Symbol

Hashable SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

hashWithSalt :: Int -> SExpr -> Int #

hash :: SExpr -> Int #

Lift SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

Methods

lift :: Quote m => SExpr -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => SExpr -> Code m SExpr #

type Rep SExpr Source # 
Instance details

Defined in Grisette.Internal.Core.Data.SExpr

showsSExprWithParens :: Char -> Char -> SExpr -> ShowS Source #

Show an S-expression with specific parentheses.

parseFileLocation :: String -> SExpr Source #

Parse a file location string into an S-expression.

fileLocation :: SpliceQ SExpr Source #

Get the file location of the splice.