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.TH.Derivation.UnifiedOpCommon

Description

 
Synopsis

Documentation

newtype UnaryOpUnifiedConfig Source #

Configuration for the derivation rules for a unified operation.

Constructors

UnaryOpUnifiedConfig 

Fields

Instances

Instances details
UnaryOpFunConfig UnaryOpUnifiedConfig Source # 
Instance details

Defined in Grisette.Internal.TH.Derivation.UnifiedOpCommon

Methods

genUnaryOpFun :: DeriveConfig -> UnaryOpUnifiedConfig -> [Name] -> Int -> [(Type, Kind)] -> [(Type, Kind)] -> [(Type, Kind)] -> (Name -> Bool) -> [ConstructorInfo] -> Q Dec Source #

defaultUnaryOpUnifiedFun :: [Name] -> Type -> (Type, Kind) -> Q (Maybe Exp) Source #

Default implementation for the derivation rules for a unified operation.