Copyright | (c) Sirui Lu 2024 |
---|---|
License | BSD-3-Clause (see the LICENSE file) |
Maintainer | siruilu@cs.washington.edu |
Stability | Experimental |
Portability | GHC only |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- type family GetInteger mode = int | int -> mode
- class UnifiedIntegerImpl mode (GetInteger mode) => UnifiedInteger (mode :: EvalModeTag)
Documentation
type family GetInteger mode = int | int -> mode Source #
Get a unified Integer type. Resolves to Integer
in Con
mode, and
SymInteger
in Sym
mode.
Instances
type GetInteger 'Con Source # | |
Defined in Grisette.Unified.Internal.UnifiedInteger | |
type GetInteger 'Sym Source # | |
Defined in Grisette.Unified.Internal.UnifiedInteger |
class UnifiedIntegerImpl mode (GetInteger mode) => UnifiedInteger (mode :: EvalModeTag) Source #
Evaluation mode with unified Integer
type.
Instances
UnifiedInteger 'Con Source # | |
Defined in Grisette.Unified.Internal.UnifiedInteger | |
UnifiedInteger 'Sym Source # | |
Defined in Grisette.Unified.Internal.UnifiedInteger |