plutus-core-1.69.0.0: Language library for Plutus Core
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusPrelude

Synopsis

Reexports from base

(&) ∷ a → (a → b) → b infixl 1 Source #

& is a reverse application operator. This provides notational convenience. Its precedence is one higher than that of the forward application operator $, which allows & to be nested in $.

>>> 5 & (+1) & show
"6"

Since: base-4.8.0.0

(&&&) ∷ Arrow a ⇒ a b c → a b c' → a b (c, c') infixr 3 Source #

Fanout: send the input to both argument arrows and combine their output.

The default definition may be overridden with a more efficient version if desired.

(>>>) ∷ ∀ {k} cat (a ∷ k) (b ∷ k) (c ∷ k). Category cat ⇒ cat a b → cat b c → cat a c infixr 1 Source #

Left-to-right composition

(<&>) ∷ Functor f ⇒ f a → (a → b) → f b infixl 1 Source #

Flipped version of <$>.

(<&>) = flip fmap

Examples

Expand

Apply (+1) to a list, a Just and a Right:

>>> Just 2 <&> (+1)
Just 3
>>> [1,2,3] <&> (+1)
[2,3,4]
>>> Right 3 <&> (+1)
Right 4

Since: base-4.11.0.0

toList ∷ Foldable t ⇒ t a → [a] Source #

List of elements of a structure, from left to right. If the entire list is intended to be reduced via a fold, just fold the structure directly bypassing the list.

Examples

Expand

Basic usage:

>>> toList Nothing
[]
>>> toList (Just 42)
[42]
>>> toList (Left "foo")
[]
>>> toList (Node (Leaf 5) 17 (Node Empty 12 (Leaf 8)))
[5,17,12,8]

For lists, toList is the identity:

>>> toList [1, 2, 3]
[1,2,3]

Since: base-4.8.0.0

first ∷ Bifunctor p ⇒ (a → b) → p a c → p b c Source #

Map covariantly over the first argument.

first f ≡ bimap f id

Examples

Expand
>>> first toUpper ('j', 3)
('J',3)
>>> first toUpper (Left 'j')
Left 'J'

second ∷ Bifunctor p ⇒ (b → c) → p a b → p a c Source #

Map covariantly over the second argument.

second ≡ bimap id

Examples

Expand
>>> second (+1) ('j', 3)
('j',4)
>>> second (+1) (Right 3)
Right 4

on ∷ (b → b → c) → (a → b) → a → a → c infixl 0 Source #

on b u x y runs the binary function b on the results of applying unary function u to two arguments x and y. From the opposite perspective, it transforms two inputs and combines the outputs.

((+) `on` f) x y = f x + f y

Typical usage: sortBy (compare `on` fst).

Algebraic properties:

  • (*) `on` id = (*) -- (if (*) ∉ {⊥, const ⊥})
  • ((*) `on` f) `on` g = (*) `on` (f . g)
  • flip on f . flip on g = flip on (g . f)

isNothing ∷ Maybe a → Bool Source #

The isNothing function returns True iff its argument is Nothing.

Examples

Expand

Basic usage:

>>> isNothing (Just 3)
False
>>> isNothing (Just ())
False
>>> isNothing Nothing
True

Only the outer constructor is taken into consideration:

>>> isNothing (Just Nothing)
False

isJust ∷ Maybe a → Bool Source #

The isJust function returns True iff its argument is of the form Just _.

Examples

Expand

Basic usage:

>>> isJust (Just 3)
True
>>> isJust (Just ())
True
>>> isJust Nothing
False

Only the outer constructor is taken into consideration:

>>> isJust (Just Nothing)
True

fromMaybe ∷ a → Maybe a → a Source #

The fromMaybe function takes a default value and a Maybe value. If the Maybe is Nothing, it returns the default value; otherwise, it returns the value contained in the Maybe.

Examples

Expand

Basic usage:

>>> fromMaybe "" (Just "Hello, World!")
"Hello, World!"
>>> fromMaybe "" Nothing
""

Read an integer from a string using readMaybe. If we fail to parse an integer, we want to return 0 by default:

>>> import Text.Read ( readMaybe )
>>> fromMaybe 0 (readMaybe "5")
5
>>> fromMaybe 0 (readMaybe "")
0

guard ∷ Alternative f ⇒ Bool → f () Source #

Conditional failure of Alternative computations. Defined by

guard True  = pure ()
guard False = empty

Examples

Expand

Common uses of guard include conditionally signaling an error in an error monad and conditionally rejecting the current choice in an Alternative-based parser.

As an example of signaling an error in the error monad Maybe, consider a safe division function safeDiv x y that returns Nothing when the denominator y is zero and Just (x `div` y) otherwise. For example:

>>> safeDiv 4 0
Nothing
>>> safeDiv 4 2
Just 2

A definition of safeDiv using guards, but not guard:

safeDiv :: Int -> Int -> Maybe Int
safeDiv x y | y /= 0    = Just (x `div` y)
            | otherwise = Nothing

A definition of safeDiv using guard and Monad do-notation:

safeDiv :: Int -> Int -> Maybe Int
safeDiv x y = do
  guard (y /= 0)
  return (x `div` y)

foldl' ∷ Foldable t ⇒ (b → a → b) → b → t a → b Source #

Left-associative fold of a structure but with strict application of the operator.

This ensures that each step of the fold is forced to Weak Head Normal Form before being applied, avoiding the collection of thunks that would otherwise occur. This is often what you want to strictly reduce a finite structure to a single strict result (e.g. sum).

For a general Foldable structure this should be semantically identical to,

foldl' f z = foldl' f z . toList

Since: base-4.6.0.0

for_ ∷ (Foldable t, Applicative f) ⇒ t a → (a → f b) → f () Source #

for_ is traverse_ with its arguments flipped. For a version that doesn't ignore the results see for. This is forM_ generalised to Applicative actions.

for_ is just like forM_, but generalised to Applicative actions.

Examples

Expand

Basic usage:

>>> for_ [1..4] print
1
2
3
4

traverse_ ∷ (Foldable t, Applicative f) ⇒ (a → f b) → t a → f () Source #

Map each element of a structure to an Applicative action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see traverse.

traverse_ is just like mapM_, but generalised to Applicative actions.

Examples

Expand

Basic usage:

>>> traverse_ print ["Hello", "world", "!"]
"Hello"
"world"
"!"

fold ∷ (Foldable t, Monoid m) ⇒ t m → m Source #

Given a structure with elements whose type is a Monoid, combine them via the monoid's (<>) operator. This fold is right-associative and lazy in the accumulator. When you need a strict left-associative fold, use foldMap' instead, with id as the map.

Examples

Expand

Basic usage:

>>> fold [[1, 2, 3], [4, 5], [6], []]
[1,2,3,4,5,6]
>>> fold $ Node (Leaf (Sum 1)) (Sum 3) (Leaf (Sum 5))
Sum {getSum = 9}

Folds of unbounded structures do not terminate when the monoid's (<>) operator is strict:

>>> fold (repeat Nothing)
* Hangs forever *

Lazy corecursive folds of unbounded structures are fine:

>>> take 12 $ fold $ map (\i -> [i..i+2]) [0..]
[0,1,2,1,2,3,2,3,4,3,4,5]
>>> sum $ take 4000000 $ fold $ map (\i -> [i..i+2]) [0..]
2666668666666

for ∷ (Traversable t, Applicative f) ⇒ t a → (a → f b) → f (t b) Source #

for is traverse with its arguments flipped. For a version that ignores the results see for_.

throw ∷ ∀ (r ∷ RuntimeRep) (a ∷ TYPE r) e. Exception e ⇒ e → a Source #

Throw an exception. Exceptions may be thrown from purely functional code, but may only be caught within the IO monad.

WARNING: You may want to use throwIO instead so that your pure code stays exception-free.

join ∷ Monad m ⇒ m (m a) → m a Source #

The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level.

'join bss' can be understood as the do expression

do bs <- bss
   bs

Examples

Expand

A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that

atomically :: STM a -> IO a

is used to run STM transactions atomically. So, by specializing the types of atomically and join to

atomically :: STM (IO b) -> IO (IO b)
join       :: IO (IO b)  -> IO b

we can compose them as

join . atomically :: STM (IO b) -> IO b

to run an STM transaction and the IO action it returns.

(<=<) ∷ Monad m ⇒ (b → m c) → (a → m b) → a → m c infixr 1 Source #

Right-to-left composition of Kleisli arrows. (>=>), with the arguments flipped.

Note how this operator resembles function composition (.):

(.)   ::            (b ->   c) -> (a ->   b) -> a ->   c
(<=<) :: Monad m => (b -> m c) -> (a -> m b) -> a -> m c

(>=>) ∷ Monad m ⇒ (a → m b) → (b → m c) → a → m c infixr 1 Source #

Left-to-right composition of Kleisli arrows.

'(bs >=> cs) a' can be understood as the do expression

do b <- bs a
   cs b

($>) ∷ Functor f ⇒ f a → b → f b infixl 4 Source #

Flipped version of <$.

Examples

Expand

Replace the contents of a Maybe Int with a constant String:

>>> Nothing $> "foo"
Nothing
>>> Just 90210 $> "foo"
Just "foo"

Replace the contents of an Either Int Int with a constant String, resulting in an Either Int String:

>>> Left 8675309 $> "foo"
Left 8675309
>>> Right 8675309 $> "foo"
Right "foo"

Replace each element of a list with a constant String:

>>> [1,2,3] $> "foo"
["foo","foo","foo"]

Replace the second element of a pair with a constant String:

>>> (1,2) $> "foo"
(1,"foo")

Since: base-4.7.0.0

fromRight ∷ b → Either a b → b Source #

Return the contents of a Right-value or a default value otherwise.

Examples

Expand

Basic usage:

>>> fromRight 1 (Right 3)
3
>>> fromRight 1 (Left "foo")
1

Since: base-4.10.0.0

isRight ∷ Either a b → Bool Source #

Return True if the given value is a Right-value, False otherwise.

Examples

Expand

Basic usage:

>>> isRight (Left "foo")
False
>>> isRight (Right 3)
True

Assuming a Left value signifies some sort of error, we can use isRight to write a very simple reporting function that only outputs "SUCCESS" when a computation has succeeded.

This example shows how isRight might be used to avoid pattern matching when one does not care about the value contained in the constructor:

>>> import Control.Monad ( when )
>>> let report e = when (isRight e) $ putStrLn "SUCCESS"
>>> report (Left "parse error")
>>> report (Right 1)
SUCCESS

Since: base-4.7.0.0

isLeft ∷ Either a b → Bool Source #

Return True if the given value is a Left-value, False otherwise.

Examples

Expand

Basic usage:

>>> isLeft (Left "foo")
True
>>> isLeft (Right 3)
False

Assuming a Left value signifies some sort of error, we can use isLeft to write a very simple error-reporting function that does absolutely nothing in the case of success, and outputs "ERROR" if any error occurred.

This example shows how isLeft might be used to avoid pattern matching when one does not care about the value contained in the constructor:

>>> import Control.Monad ( when )
>>> let report e = when (isLeft e) $ putStrLn "ERROR"
>>> report (Right 1)
>>> report (Left "parse error")
ERROR

Since: base-4.7.0.0

void ∷ Functor f ⇒ f a → f () Source #

void value discards or ignores the result of evaluation, such as the return value of an IO action.

Examples

Expand

Replace the contents of a Maybe Int with unit:

>>> void Nothing
Nothing
>>> void (Just 3)
Just ()

Replace the contents of an Either Int Int with unit, resulting in an Either Int ():

>>> void (Left 8675309)
Left 8675309
>>> void (Right 8675309)
Right ()

Replace every element of a list with unit:

>>> void [1,2,3]
[(),(),()]

Replace the second element of a pair with unit:

>>> void (1,2)
(1,())

Discard the result of an IO action:

>>> mapM print [1,2]
1
2
[(),()]
>>> void $ mapM print [1,2]
1
2

through ∷ Functor f ⇒ (a → f b) → a → f a Source #

Makes an effectful function ignore its result value and return its input value.

coerce ∷ ∀ {k ∷ RuntimeRep} (a ∷ TYPE k) (b ∷ TYPE k). Coercible a b ⇒ a → b Source #

The function coerce allows you to safely convert between values of types that have the same representation with no run-time overhead. In the simplest case you can use it instead of a newtype constructor, to go from the newtype's concrete type to the abstract type. But it also works in more complicated settings, e.g. converting a list of newtypes to a list of concrete types.

When used in conversions involving a newtype wrapper, make sure the newtype constructor is in scope.

This function is representation-polymorphic, but the RuntimeRep type argument is marked as Inferred, meaning that it is not available for visible type application. This means the typechecker will accept coerce @Int @Age 42.

Examples

Expand
>>> newtype TTL = TTL Int deriving (Eq, Ord, Show)
>>> newtype Age = Age Int deriving (Eq, Ord, Show)
>>> coerce (Age 42) :: TTL
TTL 42
>>> coerce (+ (1 :: Int)) (Age 42) :: TTL
TTL 43
>>> coerce (map (+ (1 :: Int))) [Age 42, Age 24] :: [TTL]
[TTL 43,TTL 25]

coerceVia ∷ Coercible a b ⇒ (a → b) → a → b Source #

Coerce the second argument to the result type of the first one. The motivation for this function is that it's often more annoying to explicitly specify a target type for coerce than to construct an explicit coercion function, so this combinator can be used in cases like that. Plus the code reads better, as it becomes clear what and where gets wrapped/unwrapped.

coerceArg ∷ Coercible a b ⇒ (a → s) → b → s Source #

Same as f -> f . coerce, but does not create any closures and so is completely free.

coerceRes ∷ Coercible s t ⇒ (a → s) → a → t Source #

Same as f -> coerce . f, but does not create any closures and so is completely free.

(#.) ∷ Coercible b c ⇒ (b → c) → (a → b) → a → c Source #

Same as (.), but ignores the first argument and uses a no-op coerction instead.

class Generic a Source #

Representable types of kind *. This class is derivable in GHC with the DeriveGeneric flag on.

A Generic instance must satisfy the following laws:

from . to ≡ id
to . from ≡ id

Minimal complete definition

from, to

Instances

Instances details
Generic Value 
Instance details

Defined in Data.Aeson.Types.Internal

Associated Types

type Rep Value ∷ Type → Type Source #

Methods

from ∷ Value → Rep Value x Source #

to ∷ Rep Value x → Value Source #

Generic All 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep All ∷ Type → Type Source #

Methods

from ∷ All → Rep All x Source #

to ∷ Rep All x → All Source #

Generic Any 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep Any ∷ Type → Type Source #

Methods

from ∷ Any → Rep Any x Source #

to ∷ Rep Any x → Any Source #

Generic Version 
Instance details

Defined in Data.Version

Associated Types

type Rep Version ∷ Type → Type Source #

Methods

from ∷ Version → Rep Version x Source #

to ∷ Rep Version x → Version Source #

Generic Void 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Void ∷ Type → Type Source #

Methods

from ∷ Void → Rep Void x Source #

to ∷ Rep Void x → Void Source #

Generic ByteOrder 
Instance details

Defined in GHC.ByteOrder

Associated Types

type Rep ByteOrder ∷ Type → Type Source #

Generic Fingerprint 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Fingerprint ∷ Type → Type Source #

Generic Associativity 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Associativity ∷ Type → Type Source #

Generic DecidedStrictness 
Instance details

Defined in GHC.Generics

Associated Types

type Rep DecidedStrictness ∷ Type → Type Source #

Generic Fixity 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Fixity ∷ Type → Type Source #

Methods

from ∷ Fixity → Rep Fixity x Source #

to ∷ Rep Fixity x → Fixity Source #

Generic SourceStrictness 
Instance details

Defined in GHC.Generics

Associated Types

type Rep SourceStrictness ∷ Type → Type Source #

Generic SourceUnpackedness 
Instance details

Defined in GHC.Generics

Associated Types

type Rep SourceUnpackedness ∷ Type → Type Source #

Generic ExitCode 
Instance details

Defined in GHC.IO.Exception

Associated Types

type Rep ExitCode ∷ Type → Type Source #

Generic CCFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep CCFlags ∷ Type → Type Source #

Methods

from ∷ CCFlags → Rep CCFlags x Source #

to ∷ Rep CCFlags x → CCFlags Source #

Generic ConcFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep ConcFlags ∷ Type → Type Source #

Generic DebugFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep DebugFlags ∷ Type → Type Source #

Generic DoCostCentres 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep DoCostCentres ∷ Type → Type Source #

Generic DoHeapProfile 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep DoHeapProfile ∷ Type → Type Source #

Generic DoTrace 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep DoTrace ∷ Type → Type Source #

Methods

from ∷ DoTrace → Rep DoTrace x Source #

to ∷ Rep DoTrace x → DoTrace Source #

Generic GCFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep GCFlags ∷ Type → Type Source #

Methods

from ∷ GCFlags → Rep GCFlags x Source #

to ∷ Rep GCFlags x → GCFlags Source #

Generic GiveGCStats 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep GiveGCStats ∷ Type → Type Source #

Generic MiscFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep MiscFlags ∷ Type → Type Source #

Generic ParFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep ParFlags ∷ Type → Type Source #

Generic ProfFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep ProfFlags ∷ Type → Type Source #

Generic RTSFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep RTSFlags ∷ Type → Type Source #

Generic TickyFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep TickyFlags ∷ Type → Type Source #

Generic TraceFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep TraceFlags ∷ Type → Type Source #

Generic SrcLoc 
Instance details

Defined in GHC.Generics

Associated Types

type Rep SrcLoc ∷ Type → Type Source #

Methods

from ∷ SrcLoc → Rep SrcLoc x Source #

to ∷ Rep SrcLoc x → SrcLoc Source #

Generic GCDetails 
Instance details

Defined in GHC.Stats

Associated Types

type Rep GCDetails ∷ Type → Type Source #

Generic RTSStats 
Instance details

Defined in GHC.Stats

Associated Types

type Rep RTSStats ∷ Type → Type Source #

Generic GeneralCategory 
Instance details

Defined in GHC.Generics

Associated Types

type Rep GeneralCategory ∷ Type → Type Source #

Generic IPv4 
Instance details

Defined in Cardano.Base.IP

Associated Types

type Rep IPv4 ∷ Type → Type Source #

Methods

from ∷ IPv4 → Rep IPv4 x Source #

to ∷ Rep IPv4 x → IPv4 Source #

Generic OsChar 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep OsChar ∷ Type → Type Source #

Methods

from ∷ OsChar → Rep OsChar x Source #

to ∷ Rep OsChar x → OsChar Source #

Generic OsString 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep OsString ∷ Type → Type Source #

Generic PosixChar 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep PosixChar ∷ Type → Type Source #

Generic PosixString 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep PosixString ∷ Type → Type Source #

Generic WindowsChar 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep WindowsChar ∷ Type → Type Source #

Generic WindowsString 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep WindowsString ∷ Type → Type Source #

Generic ForeignSrcLang 
Instance details

Defined in GHC.ForeignSrcLang.Type

Associated Types

type Rep ForeignSrcLang ∷ Type → Type Source #

Generic Extension 
Instance details

Defined in GHC.LanguageExtensions.Type

Associated Types

type Rep Extension ∷ Type → Type Source #

Generic ClosureType 
Instance details

Defined in GHC.Exts.Heap.ClosureTypes

Associated Types

type Rep ClosureType ∷ Type → Type Source #

Generic PrimType 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep PrimType ∷ Type → Type Source #

Generic TsoFlags 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep TsoFlags ∷ Type → Type Source #

Generic WhatNext 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep WhatNext ∷ Type → Type Source #

Generic WhyBlocked 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep WhyBlocked ∷ Type → Type Source #

Generic StgInfoTable 
Instance details

Defined in GHC.Exts.Heap.InfoTable.Types

Associated Types

type Rep StgInfoTable ∷ Type → Type Source #

Generic CostCentre 
Instance details

Defined in GHC.Exts.Heap.ProfInfo.Types

Associated Types

type Rep CostCentre ∷ Type → Type Source #

Generic CostCentreStack 
Instance details

Defined in GHC.Exts.Heap.ProfInfo.Types

Associated Types

type Rep CostCentreStack ∷ Type → Type Source #

Generic IndexTable 
Instance details

Defined in GHC.Exts.Heap.ProfInfo.Types

Associated Types

type Rep IndexTable ∷ Type → Type Source #

Generic StgTSOProfInfo 
Instance details

Defined in GHC.Exts.Heap.ProfInfo.Types

Associated Types

type Rep StgTSOProfInfo ∷ Type → Type Source #

Generic Ordering 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Ordering ∷ Type → Type Source #

Generic Half 
Instance details

Defined in Numeric.Half.Internal

Associated Types

type Rep Half ∷ Type → Type Source #

Methods

from ∷ Half → Rep Half x Source #

to ∷ Rep Half x → Half Source #

Generic IP 
Instance details

Defined in Data.IP.Addr

Associated Types

type Rep IP ∷ Type → Type Source #

Methods

from ∷ IP → Rep IP x Source #

to ∷ Rep IP x → IP Source #

Generic IPv4 
Instance details

Defined in Data.IP.Addr

Associated Types

type Rep IPv4 ∷ Type → Type Source #

Methods

from ∷ IPv4 → Rep IPv4 x Source #

to ∷ Rep IPv4 x → IPv4 Source #

Generic IPv6 
Instance details

Defined in Data.IP.Addr

Associated Types

type Rep IPv6 ∷ Type → Type Source #

Methods

from ∷ IPv6 → Rep IPv6 x Source #

to ∷ Rep IPv6 x → IPv6 Source #

Generic IPRange 
Instance details

Defined in Data.IP.Range

Associated Types

type Rep IPRange ∷ Type → Type Source #

Methods

from ∷ IPRange → Rep IPRange x Source #

to ∷ Rep IPRange x → IPRange Source #

Generic InvalidPosException 
Instance details

Defined in Text.Megaparsec.Pos

Associated Types

type Rep InvalidPosException ∷ Type → Type Source #

Generic Pos 
Instance details

Defined in Text.Megaparsec.Pos

Associated Types

type Rep Pos ∷ Type → Type Source #

Methods

from ∷ Pos → Rep Pos x Source #

to ∷ Rep Pos x → Pos Source #

Generic SourcePos 
Instance details

Defined in Text.Megaparsec.Pos

Associated Types

type Rep SourcePos ∷ Type → Type Source #

Generic URI 
Instance details

Defined in Network.URI

Associated Types

type Rep URI ∷ Type → Type Source #

Methods

from ∷ URI → Rep URI x Source #

to ∷ Rep URI x → URI Source #

Generic URIAuth 
Instance details

Defined in Network.URI

Associated Types

type Rep URIAuth ∷ Type → Type Source #

Methods

from ∷ URIAuth → Rep URIAuth x Source #

to ∷ Rep URIAuth x → URIAuth Source #

Generic OsChar 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep OsChar ∷ Type → Type Source #

Methods

from ∷ OsChar → Rep OsChar x Source #

to ∷ Rep OsChar x → OsChar Source #

Generic OsString 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep OsString ∷ Type → Type Source #

Methods

from ∷ OsString → Rep OsString x Source #

to ∷ Rep OsString x → OsString Source #

Generic PosixChar 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep PosixChar ∷ Type → Type Source #

Methods

from ∷ PosixChar → Rep PosixChar x Source #

to ∷ Rep PosixChar x → PosixChar Source #

Generic PosixString 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep PosixString ∷ Type → Type Source #

Methods

from ∷ PosixString → Rep PosixString x Source #

to ∷ Rep PosixString x → PosixString Source #

Generic WindowsChar 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep WindowsChar ∷ Type → Type Source #

Methods

from ∷ WindowsChar → Rep WindowsChar x Source #

to ∷ Rep WindowsChar x → WindowsChar Source #

Generic WindowsString 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep WindowsString ∷ Type → Type Source #

Methods

from ∷ WindowsString → Rep WindowsString x Source #

to ∷ Rep WindowsString x → WindowsString Source #

Generic Ann Source # 
Instance details

Defined in PlutusCore.Annotation

Associated Types

type Rep Ann ∷ Type → Type Source #

Methods

from ∷ Ann → Rep Ann x Source #

to ∷ Rep Ann x → Ann Source #

Generic Case Source # 
Instance details

Defined in PlutusCore.Annotation

Associated Types

type Rep Case ∷ Type → Type Source #

Methods

from ∷ Case → Rep Case x Source #

to ∷ Rep Case x → Case Source #

Generic Inline Source # 
Instance details

Defined in PlutusCore.Annotation

Associated Types

type Rep Inline ∷ Type → Type Source #

Methods

from ∷ Inline → Rep Inline x Source #

to ∷ Rep Inline x → Inline Source #

Generic SrcSpan Source # 
Instance details

Defined in PlutusCore.Annotation

Associated Types

type Rep SrcSpan ∷ Type → Type Source #

Methods

from ∷ SrcSpan → Rep SrcSpan x Source #

to ∷ Rep SrcSpan x → SrcSpan Source #

Generic SrcSpans Source # 
Instance details

Defined in PlutusCore.Annotation

Associated Types

type Rep SrcSpans ∷ Type → Type Source #

Generic Data Source # 
Instance details

Defined in PlutusCore.Data

Associated Types

type Rep Data ∷ Type → Type Source #

Methods

from ∷ Data → Rep Data x Source #

to ∷ Rep Data x → Data Source #

Generic DeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep DeBruijn ∷ Type → Type Source #

Generic FreeVariableError Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep FreeVariableError ∷ Type → Type Source #

Generic Index Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep Index ∷ Type → Type Source #

Methods

from ∷ Index → Rep Index x Source #

to ∷ Rep Index x → Index Source #

Generic NamedDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep NamedDeBruijn ∷ Type → Type Source #

Generic NamedTyDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep NamedTyDeBruijn ∷ Type → Type Source #

Generic TyDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep TyDeBruijn ∷ Type → Type Source #

Generic DefaultFun Source # 
Instance details

Defined in PlutusCore.Default.Builtins

Associated Types

type Rep DefaultFun ∷ Type → Type Source #

Generic ParserError Source # 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep ParserError ∷ Type → Type Source #

Generic ParserErrorBundle Source # 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep ParserErrorBundle ∷ Type → Type Source #

Generic CostModelApplyError Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostModelInterface

Associated Types

type Rep CostModelApplyError ∷ Type → Type Source #

Generic Coefficient0 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient0 ∷ Type → Type Source #

Generic Coefficient00 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient00 ∷ Type → Type Source #

Generic Coefficient01 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient01 ∷ Type → Type Source #

Generic Coefficient02 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient02 ∷ Type → Type Source #

Generic Coefficient1 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient1 ∷ Type → Type Source #

Generic Coefficient10 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient10 ∷ Type → Type Source #

Generic Coefficient11 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient11 ∷ Type → Type Source #

Generic Coefficient12 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient12 ∷ Type → Type Source #

Generic Coefficient2 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient2 ∷ Type → Type Source #

Generic Coefficient20 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Coefficient20 ∷ Type → Type Source #

Generic ExpModCostingFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ExpModCostingFunction ∷ Type → Type Source #

Generic Intercept Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Intercept ∷ Type → Type Source #

Generic ModelConstantOrLinear Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelConstantOrLinear ∷ Type → Type Source #

Generic ModelConstantOrOneArgument Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelConstantOrOneArgument ∷ Type → Type Source #

Generic ModelConstantOrTwoArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelConstantOrTwoArguments ∷ Type → Type Source #

Generic ModelFiveArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelFiveArguments ∷ Type → Type Source #

Generic ModelFourArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelFourArguments ∷ Type → Type Source #

Generic ModelOneArgument Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelOneArgument ∷ Type → Type Source #

Generic ModelSixArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelSixArguments ∷ Type → Type Source #

Generic ModelSubtractedSizes Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelSubtractedSizes ∷ Type → Type Source #

Generic ModelThreeArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelThreeArguments ∷ Type → Type Source #

Generic ModelTwoArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelTwoArguments ∷ Type → Type Source #

Generic OneVariableLinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep OneVariableLinearFunction ∷ Type → Type Source #

Generic OneVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep OneVariableQuadraticFunction ∷ Type → Type Source #

Generic Slope Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep Slope ∷ Type → Type Source #

Methods

from ∷ Slope → Rep Slope x Source #

to ∷ Rep Slope x → Slope Source #

Generic TwoVariableLinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep TwoVariableLinearFunction ∷ Type → Type Source #

Generic TwoVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep TwoVariableQuadraticFunction ∷ Type → Type Source #

Generic TwoVariableWithInteractionFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Generic ExBudget Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Associated Types

type Rep ExBudget ∷ Type → Type Source #

Generic ExCPU Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Associated Types

type Rep ExCPU ∷ Type → Type Source #

Methods

from ∷ ExCPU → Rep ExCPU x Source #

to ∷ Rep ExCPU x → ExCPU Source #

Generic ExMemory Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Associated Types

type Rep ExMemory ∷ Type → Type Source #

Generic ExtensionFun Source # 
Instance details

Defined in PlutusCore.Examples.Builtins

Associated Types

type Rep ExtensionFun ∷ Type → Type Source #

Generic Name Source # 
Instance details

Defined in PlutusCore.Name.Unique

Associated Types

type Rep Name ∷ Type → Type Source #

Methods

from ∷ Name → Rep Name x Source #

to ∷ Rep Name x → Name Source #

Generic TyName Source # 
Instance details

Defined in PlutusCore.Name.Unique

Associated Types

type Rep TyName ∷ Type → Type Source #

Methods

from ∷ TyName → Rep TyName x Source #

to ∷ Rep TyName x → TyName Source #

Generic K Source # 
Instance details

Defined in PlutusCore.Value

Associated Types

type Rep K ∷ Type → Type Source #

Methods

from ∷ K → Rep K x Source #

to ∷ Rep K x → K Source #

Generic Quantity Source # 
Instance details

Defined in PlutusCore.Value

Associated Types

type Rep Quantity ∷ Type → Type Source #

Generic Value Source # 
Instance details

Defined in PlutusCore.Value

Associated Types

type Rep Value ∷ Type → Type Source #

Methods

from ∷ Value → Rep Value x Source #

to ∷ Rep Value x → Value Source #

Generic Version Source # 
Instance details

Defined in PlutusCore.Version

Associated Types

type Rep Version ∷ Type → Type Source #

Methods

from ∷ Version → Rep Version x Source #

to ∷ Rep Version x → Version Source #

Generic CekUserError Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Associated Types

type Rep CekUserError ∷ Type → Type Source #

Generic StepKind Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Associated Types

type Rep StepKind ∷ Type → Type Source #

Generic Inline Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Hints

Associated Types

type Rep Inline ∷ Type → Type Source #

Methods

from ∷ Inline → Rep Inline x Source #

to ∷ Rep Inline x → Inline Source #

Generic CertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

Associated Types

type Rep CertifiedOptStage ∷ Type → Type Source #

Generic UncertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

Associated Types

type Rep UncertifiedOptStage ∷ Type → Type Source #

Generic Filler 
Instance details

Defined in PlutusCore.Flat.Filler

Associated Types

type Rep Filler ∷ Type → Type Source #

Methods

from ∷ Filler → Rep Filler x Source #

to ∷ Rep Filler x → Filler Source #

Generic SatInt 
Instance details

Defined in Data.SatInt

Associated Types

type Rep SatInt ∷ Type → Type Source #

Methods

from ∷ SatInt → Rep SatInt x Source #

to ∷ Rep SatInt x → SatInt Source #

Generic Mode 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep Mode ∷ Type → Type Source #

Methods

from ∷ Mode → Rep Mode x Source #

to ∷ Rep Mode x → Mode Source #

Generic Style 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep Style ∷ Type → Type Source #

Methods

from ∷ Style → Rep Style x Source #

to ∷ Rep Style x → Style Source #

Generic TextDetails 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep TextDetails ∷ Type → Type Source #

Generic Doc 
Instance details

Defined in Text.PrettyPrint.HughesPJ

Associated Types

type Rep Doc ∷ Type → Type Source #

Methods

from ∷ Doc → Rep Doc x Source #

to ∷ Rep Doc x → Doc Source #

Generic AnnLookup 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep AnnLookup ∷ Type → Type Source #

Generic AnnTarget 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep AnnTarget ∷ Type → Type Source #

Generic Bang 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Bang ∷ Type → Type Source #

Methods

from ∷ Bang → Rep Bang x Source #

to ∷ Rep Bang x → Bang Source #

Generic Body 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Body ∷ Type → Type Source #

Methods

from ∷ Body → Rep Body x Source #

to ∷ Rep Body x → Body Source #

Generic Bytes 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Bytes ∷ Type → Type Source #

Methods

from ∷ Bytes → Rep Bytes x Source #

to ∷ Rep Bytes x → Bytes Source #

Generic Callconv 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Callconv ∷ Type → Type Source #

Generic Clause 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Clause ∷ Type → Type Source #

Methods

from ∷ Clause → Rep Clause x Source #

to ∷ Rep Clause x → Clause Source #

Generic Con 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Con ∷ Type → Type Source #

Methods

from ∷ Con → Rep Con x Source #

to ∷ Rep Con x → Con Source #

Generic Dec 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Dec ∷ Type → Type Source #

Methods

from ∷ Dec → Rep Dec x Source #

to ∷ Rep Dec x → Dec Source #

Generic DecidedStrictness 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DecidedStrictness ∷ Type → Type Source #

Generic DerivClause 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DerivClause ∷ Type → Type Source #

Generic DerivStrategy 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DerivStrategy ∷ Type → Type Source #

Generic DocLoc 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DocLoc ∷ Type → Type Source #

Methods

from ∷ DocLoc → Rep DocLoc x Source #

to ∷ Rep DocLoc x → DocLoc Source #

Generic Exp 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Exp ∷ Type → Type Source #

Methods

from ∷ Exp → Rep Exp x Source #

to ∷ Rep Exp x → Exp Source #

Generic FamilyResultSig 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FamilyResultSig ∷ Type → Type Source #

Generic Fixity 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Fixity ∷ Type → Type Source #

Methods

from ∷ Fixity → Rep Fixity x Source #

to ∷ Rep Fixity x → Fixity Source #

Generic FixityDirection 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FixityDirection ∷ Type → Type Source #

Generic Foreign 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Foreign ∷ Type → Type Source #

Methods

from ∷ Foreign → Rep Foreign x Source #

to ∷ Rep Foreign x → Foreign Source #

Generic FunDep 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FunDep ∷ Type → Type Source #

Methods

from ∷ FunDep → Rep FunDep x Source #

to ∷ Rep FunDep x → FunDep Source #

Generic Guard 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Guard ∷ Type → Type Source #

Methods

from ∷ Guard → Rep Guard x Source #

to ∷ Rep Guard x → Guard Source #

Generic Info 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Info ∷ Type → Type Source #

Methods

from ∷ Info → Rep Info x Source #

to ∷ Rep Info x → Info Source #

Generic InjectivityAnn 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep InjectivityAnn ∷ Type → Type Source #

Generic Inline 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Inline ∷ Type → Type Source #

Methods

from ∷ Inline → Rep Inline x Source #

to ∷ Rep Inline x → Inline Source #

Generic Lit 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Lit ∷ Type → Type Source #

Methods

from ∷ Lit → Rep Lit x Source #

to ∷ Rep Lit x → Lit Source #

Generic Loc 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Loc ∷ Type → Type Source #

Methods

from ∷ Loc → Rep Loc x Source #

to ∷ Rep Loc x → Loc Source #

Generic Match 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Match ∷ Type → Type Source #

Methods

from ∷ Match → Rep Match x Source #

to ∷ Rep Match x → Match Source #

Generic ModName 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ModName ∷ Type → Type Source #

Methods

from ∷ ModName → Rep ModName x Source #

to ∷ Rep ModName x → ModName Source #

Generic Module 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Module ∷ Type → Type Source #

Methods

from ∷ Module → Rep Module x Source #

to ∷ Rep Module x → Module Source #

Generic ModuleInfo 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ModuleInfo ∷ Type → Type Source #

Generic Name 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Name ∷ Type → Type Source #

Methods

from ∷ Name → Rep Name x Source #

to ∷ Rep Name x → Name Source #

Generic NameFlavour 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep NameFlavour ∷ Type → Type Source #

Generic NameSpace 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep NameSpace ∷ Type → Type Source #

Generic OccName 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep OccName ∷ Type → Type Source #

Methods

from ∷ OccName → Rep OccName x Source #

to ∷ Rep OccName x → OccName Source #

Generic Overlap 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Overlap ∷ Type → Type Source #

Methods

from ∷ Overlap → Rep Overlap x Source #

to ∷ Rep Overlap x → Overlap Source #

Generic Pat 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Pat ∷ Type → Type Source #

Methods

from ∷ Pat → Rep Pat x Source #

to ∷ Rep Pat x → Pat Source #

Generic PatSynArgs 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PatSynArgs ∷ Type → Type Source #

Generic PatSynDir 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PatSynDir ∷ Type → Type Source #

Generic Phases 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Phases ∷ Type → Type Source #

Methods

from ∷ Phases → Rep Phases x Source #

to ∷ Rep Phases x → Phases Source #

Generic PkgName 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PkgName ∷ Type → Type Source #

Methods

from ∷ PkgName → Rep PkgName x Source #

to ∷ Rep PkgName x → PkgName Source #

Generic Pragma 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Pragma ∷ Type → Type Source #

Methods

from ∷ Pragma → Rep Pragma x Source #

to ∷ Rep Pragma x → Pragma Source #

Generic Range 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Range ∷ Type → Type Source #

Methods

from ∷ Range → Rep Range x Source #

to ∷ Rep Range x → Range Source #

Generic Role 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Role ∷ Type → Type Source #

Methods

from ∷ Role → Rep Role x Source #

to ∷ Rep Role x → Role Source #

Generic RuleBndr 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep RuleBndr ∷ Type → Type Source #

Generic RuleMatch 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep RuleMatch ∷ Type → Type Source #

Generic Safety 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Safety ∷ Type → Type Source #

Methods

from ∷ Safety → Rep Safety x Source #

to ∷ Rep Safety x → Safety Source #

Generic SourceStrictness 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep SourceStrictness ∷ Type → Type Source #

Generic SourceUnpackedness 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep SourceUnpackedness ∷ Type → Type Source #

Generic Specificity 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Specificity ∷ Type → Type Source #

Generic Stmt 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Stmt ∷ Type → Type Source #

Methods

from ∷ Stmt → Rep Stmt x Source #

to ∷ Rep Stmt x → Stmt Source #

Generic TyLit 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TyLit ∷ Type → Type Source #

Methods

from ∷ TyLit → Rep TyLit x Source #

to ∷ Rep TyLit x → TyLit Source #

Generic TySynEqn 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TySynEqn ∷ Type → Type Source #

Generic Type 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Type ∷ Type → Type Source #

Methods

from ∷ Type → Rep Type x Source #

to ∷ Rep Type x → Type Source #

Generic TypeFamilyHead 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TypeFamilyHead ∷ Type → Type Source #

Generic ConstructorInfo 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep ConstructorInfo ∷ Type → Type Source #

Generic ConstructorVariant 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep ConstructorVariant ∷ Type → Type Source #

Generic DatatypeInfo 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep DatatypeInfo ∷ Type → Type Source #

Generic DatatypeVariant 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep DatatypeVariant ∷ Type → Type Source #

Generic FieldStrictness 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep FieldStrictness ∷ Type → Type Source #

Generic Strictness 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep Strictness ∷ Type → Type Source #

Generic Unpackedness 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep Unpackedness ∷ Type → Type Source #

Generic () 
Instance details

Defined in GHC.Generics

Associated Types

type Rep () ∷ Type → Type Source #

Methods

from ∷ () → Rep () x Source #

to ∷ Rep () x → () Source #

Generic Bool 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Bool ∷ Type → Type Source #

Methods

from ∷ Bool → Rep Bool x Source #

to ∷ Rep Bool x → Bool Source #

Generic (Only a) 
Instance details

Defined in Data.Tuple.Only

Associated Types

type Rep (Only a) ∷ Type → Type Source #

Methods

from ∷ Only a → Rep (Only a) x Source #

to ∷ Rep (Only a) x → Only a Source #

Generic (ZipList a) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep (ZipList a) ∷ Type → Type Source #

Methods

from ∷ ZipList a → Rep (ZipList a) x Source #

to ∷ Rep (ZipList a) x → ZipList a Source #

Generic (Complex a) 
Instance details

Defined in Data.Complex

Associated Types

type Rep (Complex a) ∷ Type → Type Source #

Methods

from ∷ Complex a → Rep (Complex a) x Source #

to ∷ Rep (Complex a) x → Complex a Source #

Generic (Identity a) 
Instance details

Defined in Data.Functor.Identity

Associated Types

type Rep (Identity a) ∷ Type → Type Source #

Methods

from ∷ Identity a → Rep (Identity a) x Source #

to ∷ Rep (Identity a) x → Identity a Source #

Generic (First a) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep (First a) ∷ Type → Type Source #

Methods

from ∷ First a → Rep (First a) x Source #

to ∷ Rep (First a) x → First a Source #

Generic (Last a) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep (Last a) ∷ Type → Type Source #

Methods

from ∷ Last a → Rep (Last a) x Source #

to ∷ Rep (Last a) x → Last a Source #

Generic (Down a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Down a) ∷ Type → Type Source #

Methods

from ∷ Down a → Rep (Down a) x Source #

to ∷ Rep (Down a) x → Down a Source #

Generic (First a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (First a) ∷ Type → Type Source #

Methods

from ∷ First a → Rep (First a) x Source #

to ∷ Rep (First a) x → First a Source #

Generic (Last a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Last a) ∷ Type → Type Source #

Methods

from ∷ Last a → Rep (Last a) x Source #

to ∷ Rep (Last a) x → Last a Source #

Generic (Max a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Max a) ∷ Type → Type Source #

Methods

from ∷ Max a → Rep (Max a) x Source #

to ∷ Rep (Max a) x → Max a Source #

Generic (Min a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Min a) ∷ Type → Type Source #

Methods

from ∷ Min a → Rep (Min a) x Source #

to ∷ Rep (Min a) x → Min a Source #

Generic (WrappedMonoid m) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (WrappedMonoid m) ∷ Type → Type Source #

Generic (Dual a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Dual a) ∷ Type → Type Source #

Methods

from ∷ Dual a → Rep (Dual a) x Source #

to ∷ Rep (Dual a) x → Dual a Source #

Generic (Endo a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Endo a) ∷ Type → Type Source #

Methods

from ∷ Endo a → Rep (Endo a) x Source #

to ∷ Rep (Endo a) x → Endo a Source #

Generic (Product a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Product a) ∷ Type → Type Source #

Methods

from ∷ Product a → Rep (Product a) x Source #

to ∷ Rep (Product a) x → Product a Source #

Generic (Sum a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Sum a) ∷ Type → Type Source #

Methods

from ∷ Sum a → Rep (Sum a) x Source #

to ∷ Rep (Sum a) x → Sum a Source #

Generic (NonEmpty a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (NonEmpty a) ∷ Type → Type Source #

Methods

from ∷ NonEmpty a → Rep (NonEmpty a) x Source #

to ∷ Rep (NonEmpty a) x → NonEmpty a Source #

Generic (Par1 p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Par1 p) ∷ Type → Type Source #

Methods

from ∷ Par1 p → Rep (Par1 p) x Source #

to ∷ Rep (Par1 p) x → Par1 p Source #

Generic (SigDSIGN EcdsaSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (SigDSIGN EcdsaSecp256k1DSIGN) ∷ Type → Type Source #

Generic (SigDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Associated Types

type Rep (SigDSIGN Ed25519DSIGN) ∷ Type → Type Source #

Generic (SigDSIGN SchnorrSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Associated Types

type Rep (SigDSIGN SchnorrSecp256k1DSIGN) ∷ Type → Type Source #

Generic (SignKeyDSIGN EcdsaSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (SignKeyDSIGN EcdsaSecp256k1DSIGN) ∷ Type → Type Source #

Generic (SignKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Associated Types

type Rep (SignKeyDSIGN Ed25519DSIGN) ∷ Type → Type Source #

Generic (SignKeyDSIGN SchnorrSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Associated Types

type Rep (SignKeyDSIGN SchnorrSecp256k1DSIGN) ∷ Type → Type Source #

Generic (VerKeyDSIGN EcdsaSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (VerKeyDSIGN EcdsaSecp256k1DSIGN) ∷ Type → Type Source #

Generic (VerKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Associated Types

type Rep (VerKeyDSIGN Ed25519DSIGN) ∷ Type → Type Source #

Generic (VerKeyDSIGN SchnorrSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Associated Types

type Rep (VerKeyDSIGN SchnorrSecp256k1DSIGN) ∷ Type → Type Source #

Generic (Digit a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (Digit a) ∷ Type → Type Source #

Methods

from ∷ Digit a → Rep (Digit a) x Source #

to ∷ Rep (Digit a) x → Digit a Source #

Generic (Elem a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (Elem a) ∷ Type → Type Source #

Methods

from ∷ Elem a → Rep (Elem a) x Source #

to ∷ Rep (Elem a) x → Elem a Source #

Generic (FingerTree a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (FingerTree a) ∷ Type → Type Source #

Methods

from ∷ FingerTree a → Rep (FingerTree a) x Source #

to ∷ Rep (FingerTree a) x → FingerTree a Source #

Generic (Node a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (Node a) ∷ Type → Type Source #

Methods

from ∷ Node a → Rep (Node a) x Source #

to ∷ Rep (Node a) x → Node a Source #

Generic (ViewL a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (ViewL a) ∷ Type → Type Source #

Methods

from ∷ ViewL a → Rep (ViewL a) x Source #

to ∷ Rep (ViewL a) x → ViewL a Source #

Generic (ViewR a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (ViewR a) ∷ Type → Type Source #

Methods

from ∷ ViewR a → Rep (ViewR a) x Source #

to ∷ Rep (ViewR a) x → ViewR a Source #

Generic (Tree a) 
Instance details

Defined in Data.Tree

Associated Types

type Rep (Tree a) ∷ Type → Type Source #

Methods

from ∷ Tree a → Rep (Tree a) x Source #

to ∷ Rep (Tree a) x → Tree a Source #

Generic (Fix f) 
Instance details

Defined in Data.Fix

Associated Types

type Rep (Fix f) ∷ Type → Type Source #

Methods

from ∷ Fix f → Rep (Fix f) x Source #

to ∷ Rep (Fix f) x → Fix f Source #

Generic (GenClosure b) 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep (GenClosure b) ∷ Type → Type Source #

Methods

from ∷ GenClosure b → Rep (GenClosure b) x Source #

to ∷ Rep (GenClosure b) x → GenClosure b Source #

Generic (AddrRange a) 
Instance details

Defined in Data.IP.Range

Associated Types

type Rep (AddrRange a) ∷ Type → Type Source #

Methods

from ∷ AddrRange a → Rep (AddrRange a) x Source #

to ∷ Rep (AddrRange a) x → AddrRange a Source #

Generic (ErrorFancy e) 
Instance details

Defined in Text.Megaparsec.Error

Associated Types

type Rep (ErrorFancy e) ∷ Type → Type Source #

Methods

from ∷ ErrorFancy e → Rep (ErrorFancy e) x Source #

to ∷ Rep (ErrorFancy e) x → ErrorFancy e Source #

Generic (ErrorItem t) 
Instance details

Defined in Text.Megaparsec.Error

Associated Types

type Rep (ErrorItem t) ∷ Type → Type Source #

Methods

from ∷ ErrorItem t → Rep (ErrorItem t) x Source #

to ∷ Rep (ErrorItem t) x → ErrorItem t Source #

Generic (PosState s) 
Instance details

Defined in Text.Megaparsec.State

Associated Types

type Rep (PosState s) ∷ Type → Type Source #

Methods

from ∷ PosState s → Rep (PosState s) x Source #

to ∷ Rep (PosState s) x → PosState s Source #

Generic (BuiltinSemanticsVariant DefaultFun) Source # 
Instance details

Defined in PlutusCore.Default.Builtins

Associated Types

type Rep (BuiltinSemanticsVariant DefaultFun) ∷ Type → Type Source #

Generic (Kind ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Kind ann) ∷ Type → Type Source #

Methods

from ∷ Kind ann → Rep (Kind ann) x Source #

to ∷ Rep (Kind ann) x → Kind ann Source #

Generic (Normalized a) Source # 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Normalized a) ∷ Type → Type Source #

Methods

from ∷ Normalized a → Rep (Normalized a) x Source #

to ∷ Rep (Normalized a) x → Normalized a Source #

Generic (LR a) Source # 
Instance details

Defined in PlutusCore.Eq

Associated Types

type Rep (LR a) ∷ Type → Type Source #

Methods

from ∷ LR a → Rep (LR a) x Source #

to ∷ Rep (LR a) x → LR a Source #

Generic (RL a) Source # 
Instance details

Defined in PlutusCore.Eq

Associated Types

type Rep (RL a) ∷ Type → Type Source #

Methods

from ∷ RL a → Rep (RL a) x Source #

to ∷ Rep (RL a) x → RL a Source #

Generic (ExpectedShapeOr a) Source # 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (ExpectedShapeOr a) ∷ Type → Type Source #

Generic (UniqueError ann) Source # 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (UniqueError ann) ∷ Type → Type Source #

Methods

from ∷ UniqueError ann → Rep (UniqueError ann) x Source #

to ∷ Rep (UniqueError ann) x → UniqueError ann Source #

Generic (BuiltinCostModelBase f) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Associated Types

type Rep (BuiltinCostModelBase f) ∷ Type → Type Source #

Generic (CostingFun model) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep (CostingFun model) ∷ Type → Type Source #

Methods

from ∷ CostingFun model → Rep (CostingFun model) x Source #

to ∷ Rep (CostingFun model) x → CostingFun model Source #

Generic (MachineError fun) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.Exception

Associated Types

type Rep (MachineError fun) ∷ Type → Type Source #

Methods

from ∷ MachineError fun → Rep (MachineError fun) x Source #

to ∷ Rep (MachineError fun) x → MachineError fun Source #

Generic (EvaluationResult a) Source # 
Instance details

Defined in PlutusCore.Evaluation.Result

Associated Types

type Rep (EvaluationResult a) ∷ Type → Type Source #

Generic (CekMachineCostsBase f) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

Associated Types

type Rep (CekMachineCostsBase f) ∷ Type → Type Source #

Generic (CekExTally fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Associated Types

type Rep (CekExTally fun) ∷ Type → Type Source #

Methods

from ∷ CekExTally fun → Rep (CekExTally fun) x Source #

to ∷ Rep (CekExTally fun) x → CekExTally fun Source #

Generic (TallyingSt fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Associated Types

type Rep (TallyingSt fun) ∷ Type → Type Source #

Methods

from ∷ TallyingSt fun → Rep (TallyingSt fun) x Source #

to ∷ Rep (TallyingSt fun) x → TallyingSt fun Source #

Generic (ExBudgetCategory fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Associated Types

type Rep (ExBudgetCategory fun) ∷ Type → Type Source #

Generic (Hints term) Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Hints

Associated Types

type Rep (Hints term) ∷ Type → Type Source #

Methods

from ∷ Hints term → Rep (Hints term) x Source #

to ∷ Rep (Hints term) x → Hints term Source #

Generic (InlinePlus term) Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Hints

Associated Types

type Rep (InlinePlus term) ∷ Type → Type Source #

Methods

from ∷ InlinePlus term → Rep (InlinePlus term) x Source #

to ∷ Rep (InlinePlus term) x → InlinePlus term Source #

Generic (PostAligned a) 
Instance details

Defined in PlutusCore.Flat.Filler

Associated Types

type Rep (PostAligned a) ∷ Type → Type Source #

Methods

from ∷ PostAligned a → Rep (PostAligned a) x Source #

to ∷ Rep (PostAligned a) x → PostAligned a Source #

Generic (PreAligned a) 
Instance details

Defined in PlutusCore.Flat.Filler

Associated Types

type Rep (PreAligned a) ∷ Type → Type Source #

Methods

from ∷ PreAligned a → Rep (PreAligned a) x Source #

to ∷ Rep (PreAligned a) x → PreAligned a Source #

Generic (Doc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep (Doc a) ∷ Type → Type Source #

Methods

from ∷ Doc a → Rep (Doc a) x Source #

to ∷ Rep (Doc a) x → Doc a Source #

Generic (Doc ann) 
Instance details

Defined in Prettyprinter.Internal

Associated Types

type Rep (Doc ann) ∷ Type → Type Source #

Methods

from ∷ Doc ann → Rep (Doc ann) x Source #

to ∷ Rep (Doc ann) x → Doc ann Source #

Generic (SimpleDocStream ann) 
Instance details

Defined in Prettyprinter.Internal

Associated Types

type Rep (SimpleDocStream ann) ∷ Type → Type Source #

Generic (Maybe a) 
Instance details

Defined in Data.Strict.Maybe

Associated Types

type Rep (Maybe a) ∷ Type → Type Source #

Methods

from ∷ Maybe a → Rep (Maybe a) x Source #

to ∷ Rep (Maybe a) x → Maybe a Source #

Generic (TyVarBndr flag) 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep (TyVarBndr flag) ∷ Type → Type Source #

Methods

from ∷ TyVarBndr flag → Rep (TyVarBndr flag) x Source #

to ∷ Rep (TyVarBndr flag) x → TyVarBndr flag Source #

Generic (Window a) 
Instance details

Defined in System.Console.Terminal.Common

Associated Types

type Rep (Window a) ∷ Type → Type Source #

Methods

from ∷ Window a → Rep (Window a) x Source #

to ∷ Rep (Window a) x → Window a Source #

Generic (Doc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Associated Types

type Rep (Doc a) ∷ Type → Type Source #

Methods

from ∷ Doc a → Rep (Doc a) x Source #

to ∷ Rep (Doc a) x → Doc a Source #

Generic (SimpleDoc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Associated Types

type Rep (SimpleDoc a) ∷ Type → Type Source #

Methods

from ∷ SimpleDoc a → Rep (SimpleDoc a) x Source #

to ∷ Rep (SimpleDoc a) x → SimpleDoc a Source #

Generic (Maybe a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Maybe a) ∷ Type → Type Source #

Methods

from ∷ Maybe a → Rep (Maybe a) x Source #

to ∷ Rep (Maybe a) x → Maybe a Source #

Generic (a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a) ∷ Type → Type Source #

Methods

from ∷ (a) → Rep (a) x Source #

to ∷ Rep (a) x → (a) Source #

Generic [a] 
Instance details

Defined in GHC.Generics

Associated Types

type Rep [a] ∷ Type → Type Source #

Methods

from ∷ [a] → Rep [a] x Source #

to ∷ Rep [a] x → [a] Source #

Generic (Container b a) 
Instance details

Defined in Barbies.Internal.Containers

Associated Types

type Rep (Container b a) ∷ Type → Type Source #

Methods

from ∷ Container b a → Rep (Container b a) x Source #

to ∷ Rep (Container b a) x → Container b a Source #

Generic (ErrorContainer b e) 
Instance details

Defined in Barbies.Internal.Containers

Associated Types

type Rep (ErrorContainer b e) ∷ Type → Type Source #

Methods

from ∷ ErrorContainer b e → Rep (ErrorContainer b e) x Source #

to ∷ Rep (ErrorContainer b e) x → ErrorContainer b e Source #

Generic (Unit f) 
Instance details

Defined in Barbies.Internal.Trivial

Associated Types

type Rep (Unit f) ∷ Type → Type Source #

Methods

from ∷ Unit f → Rep (Unit f) x Source #

to ∷ Rep (Unit f) x → Unit f Source #

Generic (Void f) 
Instance details

Defined in Barbies.Internal.Trivial

Associated Types

type Rep (Void f) ∷ Type → Type Source #

Methods

from ∷ Void f → Rep (Void f) x Source #

to ∷ Rep (Void f) x → Void f Source #

Generic (WrappedMonad m a) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep (WrappedMonad m a) ∷ Type → Type Source #

Methods

from ∷ WrappedMonad m a → Rep (WrappedMonad m a) x Source #

to ∷ Rep (WrappedMonad m a) x → WrappedMonad m a Source #

Generic (Either a b) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Either a b) ∷ Type → Type Source #

Methods

from ∷ Either a b → Rep (Either a b) x Source #

to ∷ Rep (Either a b) x → Either a b Source #

Generic (Proxy t) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Proxy t) ∷ Type → Type Source #

Methods

from ∷ Proxy t → Rep (Proxy t) x Source #

to ∷ Rep (Proxy t) x → Proxy t Source #

Generic (Arg a b) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Arg a b) ∷ Type → Type Source #

Methods

from ∷ Arg a b → Rep (Arg a b) x Source #

to ∷ Rep (Arg a b) x → Arg a b Source #

Generic (U1 p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (U1 p) ∷ Type → Type Source #

Methods

from ∷ U1 p → Rep (U1 p) x Source #

to ∷ Rep (U1 p) x → U1 p Source #

Generic (V1 p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (V1 p) ∷ Type → Type Source #

Methods

from ∷ V1 p → Rep (V1 p) x Source #

to ∷ Rep (V1 p) x → V1 p Source #

Generic (Bimap a b) 
Instance details

Defined in Data.Bimap

Associated Types

type Rep (Bimap a b) ∷ Type → Type Source #

Methods

from ∷ Bimap a b → Rep (Bimap a b) x Source #

to ∷ Rep (Bimap a b) x → Bimap a b Source #

Generic (SignedDSIGN v a) 
Instance details

Defined in Cardano.Crypto.DSIGN.Class

Associated Types

type Rep (SignedDSIGN v a) ∷ Type → Type Source #

Methods

from ∷ SignedDSIGN v a → Rep (SignedDSIGN v a) x Source #

to ∷ Rep (SignedDSIGN v a) x → SignedDSIGN v a Source #

Generic (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Associated Types

type Rep (Hash h a) ∷ Type → Type Source #

Methods

from ∷ Hash h a → Rep (Hash h a) x Source #

to ∷ Rep (Hash h a) x → Hash h a Source #

Generic (Cofree f a) 
Instance details

Defined in Control.Comonad.Cofree

Associated Types

type Rep (Cofree f a) ∷ Type → Type Source #

Methods

from ∷ Cofree f a → Rep (Cofree f a) x Source #

to ∷ Rep (Cofree f a) x → Cofree f a Source #

Generic (Free f a) 
Instance details

Defined in Control.Monad.Free

Associated Types

type Rep (Free f a) ∷ Type → Type Source #

Methods

from ∷ Free f a → Rep (Free f a) x Source #

to ∷ Rep (Free f a) x → Free f a Source #

Generic (ListT m a) 
Instance details

Defined in ListT

Associated Types

type Rep (ListT m a) ∷ Type → Type Source #

Methods

from ∷ ListT m a → Rep (ListT m a) x Source #

to ∷ Rep (ListT m a) x → ListT m a Source #

Generic (ParseError s e) 
Instance details

Defined in Text.Megaparsec.Error

Associated Types

type Rep (ParseError s e) ∷ Type → Type Source #

Methods

from ∷ ParseError s e → Rep (ParseError s e) x Source #

to ∷ Rep (ParseError s e) x → ParseError s e Source #

Generic (ParseErrorBundle s e) 
Instance details

Defined in Text.Megaparsec.Error

Associated Types

type Rep (ParseErrorBundle s e) ∷ Type → Type Source #

Generic (State s e) 
Instance details

Defined in Text.Megaparsec.State

Associated Types

type Rep (State s e) ∷ Type → Type Source #

Methods

from ∷ State s e → Rep (State s e) x Source #

to ∷ Rep (State s e) x → State s e Source #

Generic (TyVarDecl tyname ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (TyVarDecl tyname ann) ∷ Type → Type Source #

Methods

from ∷ TyVarDecl tyname ann → Rep (TyVarDecl tyname ann) x Source #

to ∷ Rep (TyVarDecl tyname ann) x → TyVarDecl tyname ann Source #

Generic (EvaluationError structural operational) Source # 
Instance details

Defined in PlutusCore.Evaluation.Error

Associated Types

type Rep (EvaluationError structural operational) ∷ Type → Type Source #

Methods

from ∷ EvaluationError structural operational → Rep (EvaluationError structural operational) x Source #

to ∷ Rep (EvaluationError structural operational) x → EvaluationError structural operational Source #

Generic (ErrorWithCause err cause) Source # 
Instance details

Defined in PlutusCore.Evaluation.ErrorWithCause

Associated Types

type Rep (ErrorWithCause err cause) ∷ Type → Type Source #

Methods

from ∷ ErrorWithCause err cause → Rep (ErrorWithCause err cause) x Source #

to ∷ Rep (ErrorWithCause err cause) x → ErrorWithCause err cause Source #

Generic (Def var val) Source # 
Instance details

Defined in PlutusCore.MkPlc

Associated Types

type Rep (Def var val) ∷ Type → Type Source #

Methods

from ∷ Def var val → Rep (Def var val) x Source #

to ∷ Rep (Def var val) x → Def var val Source #

Generic (UVarDecl name ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Type

Associated Types

type Rep (UVarDecl name ann) ∷ Type → Type Source #

Methods

from ∷ UVarDecl name ann → Rep (UVarDecl name ann) x Source #

to ∷ Rep (UVarDecl name ann) x → UVarDecl name ann Source #

Generic (ListF a b) 
Instance details

Defined in Data.Functor.Base

Associated Types

type Rep (ListF a b) ∷ Type → Type Source #

Methods

from ∷ ListF a b → Rep (ListF a b) x Source #

to ∷ Rep (ListF a b) x → ListF a b Source #

Generic (NonEmptyF a b) 
Instance details

Defined in Data.Functor.Base

Associated Types

type Rep (NonEmptyF a b) ∷ Type → Type Source #

Methods

from ∷ NonEmptyF a b → Rep (NonEmptyF a b) x Source #

to ∷ Rep (NonEmptyF a b) x → NonEmptyF a b Source #

Generic (TreeF a b) 
Instance details

Defined in Data.Functor.Base

Associated Types

type Rep (TreeF a b) ∷ Type → Type Source #

Methods

from ∷ TreeF a b → Rep (TreeF a b) x Source #

to ∷ Rep (TreeF a b) x → TreeF a b Source #

Generic (Either a b) 
Instance details

Defined in Data.Strict.Either

Associated Types

type Rep (Either a b) ∷ Type → Type Source #

Methods

from ∷ Either a b → Rep (Either a b) x Source #

to ∷ Rep (Either a b) x → Either a b Source #

Generic (These a b) 
Instance details

Defined in Data.Strict.These

Associated Types

type Rep (These a b) ∷ Type → Type Source #

Methods

from ∷ These a b → Rep (These a b) x Source #

to ∷ Rep (These a b) x → These a b Source #

Generic (Pair a b) 
Instance details

Defined in Data.Strict.Tuple

Associated Types

type Rep (Pair a b) ∷ Type → Type Source #

Methods

from ∷ Pair a b → Rep (Pair a b) x Source #

to ∷ Rep (Pair a b) x → Pair a b Source #

Generic (These a b) 
Instance details

Defined in Data.These

Associated Types

type Rep (These a b) ∷ Type → Type Source #

Methods

from ∷ These a b → Rep (These a b) x Source #

to ∷ Rep (These a b) x → These a b Source #

Generic (Lift f a) 
Instance details

Defined in Control.Applicative.Lift

Associated Types

type Rep (Lift f a) ∷ Type → Type Source #

Methods

from ∷ Lift f a → Rep (Lift f a) x Source #

to ∷ Rep (Lift f a) x → Lift f a Source #

Generic (MaybeT m a) 
Instance details

Defined in Control.Monad.Trans.Maybe

Associated Types

type Rep (MaybeT m a) ∷ Type → Type Source #

Methods

from ∷ MaybeT m a → Rep (MaybeT m a) x Source #

to ∷ Rep (MaybeT m a) x → MaybeT m a Source #

Generic (a, b) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b) ∷ Type → Type Source #

Methods

from ∷ (a, b) → Rep (a, b) x Source #

to ∷ Rep (a, b) x → (a, b) Source #

Generic (WrappedArrow a b c) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep (WrappedArrow a b c) ∷ Type → Type Source #

Methods

from ∷ WrappedArrow a b c → Rep (WrappedArrow a b c) x Source #

to ∷ Rep (WrappedArrow a b c) x → WrappedArrow a b c Source #

Generic (Kleisli m a b) 
Instance details

Defined in Control.Arrow

Associated Types

type Rep (Kleisli m a b) ∷ Type → Type Source #

Methods

from ∷ Kleisli m a b → Rep (Kleisli m a b) x Source #

to ∷ Rep (Kleisli m a b) x → Kleisli m a b Source #

Generic (Const a b) 
Instance details

Defined in Data.Functor.Const

Associated Types

type Rep (Const a b) ∷ Type → Type Source #

Methods

from ∷ Const a b → Rep (Const a b) x Source #

to ∷ Rep (Const a b) x → Const a b Source #

Generic (Ap f a) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep (Ap f a) ∷ Type → Type Source #

Methods

from ∷ Ap f a → Rep (Ap f a) x Source #

to ∷ Rep (Ap f a) x → Ap f a Source #

Generic (Alt f a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Alt f a) ∷ Type → Type Source #

Methods

from ∷ Alt f a → Rep (Alt f a) x Source #

to ∷ Rep (Alt f a) x → Alt f a Source #

Generic (Rec1 f p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Rec1 f p) ∷ Type → Type Source #

Methods

from ∷ Rec1 f p → Rep (Rec1 f p) x Source #

to ∷ Rep (Rec1 f p) x → Rec1 f p Source #

Generic (URec (Ptr ()) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec (Ptr ()) p) ∷ Type → Type Source #

Methods

from ∷ URec (Ptr ()) p → Rep (URec (Ptr ()) p) x Source #

to ∷ Rep (URec (Ptr ()) p) x → URec (Ptr ()) p Source #

Generic (URec Char p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Char p) ∷ Type → Type Source #

Methods

from ∷ URec Char p → Rep (URec Char p) x Source #

to ∷ Rep (URec Char p) x → URec Char p Source #

Generic (URec Double p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Double p) ∷ Type → Type Source #

Methods

from ∷ URec Double p → Rep (URec Double p) x Source #

to ∷ Rep (URec Double p) x → URec Double p Source #

Generic (URec Float p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Float p) ∷ Type → Type Source #

Methods

from ∷ URec Float p → Rep (URec Float p) x Source #

to ∷ Rep (URec Float p) x → URec Float p Source #

Generic (URec Int p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Int p) ∷ Type → Type Source #

Methods

from ∷ URec Int p → Rep (URec Int p) x Source #

to ∷ Rep (URec Int p) x → URec Int p Source #

Generic (URec Word p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Word p) ∷ Type → Type Source #

Methods

from ∷ URec Word p → Rep (URec Word p) x Source #

to ∷ Rep (URec Word p) x → URec Word p Source #

Generic (Fix p a) 
Instance details

Defined in Data.Bifunctor.Fix

Associated Types

type Rep (Fix p a) ∷ Type → Type Source #

Methods

from ∷ Fix p a → Rep (Fix p a) x Source #

to ∷ Rep (Fix p a) x → Fix p a Source #

Generic (Join p a) 
Instance details

Defined in Data.Bifunctor.Join

Associated Types

type Rep (Join p a) ∷ Type → Type Source #

Methods

from ∷ Join p a → Rep (Join p a) x Source #

to ∷ Rep (Join p a) x → Join p a Source #

Generic (CofreeF f a b) 
Instance details

Defined in Control.Comonad.Trans.Cofree

Associated Types

type Rep (CofreeF f a b) ∷ Type → Type Source #

Methods

from ∷ CofreeF f a b → Rep (CofreeF f a b) x Source #

to ∷ Rep (CofreeF f a b) x → CofreeF f a b Source #

Generic (FreeF f a b) 
Instance details

Defined in Control.Monad.Trans.Free

Associated Types

type Rep (FreeF f a b) ∷ Type → Type Source #

Methods

from ∷ FreeF f a b → Rep (FreeF f a b) x Source #

to ∷ Rep (FreeF f a b) x → FreeF f a b Source #

Generic (TyDecl tyname uni ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (TyDecl tyname uni ann) ∷ Type → Type Source #

Methods

from ∷ TyDecl tyname uni ann → Rep (TyDecl tyname uni ann) x Source #

to ∷ Rep (TyDecl tyname uni ann) x → TyDecl tyname uni ann Source #

Generic (Type tyname uni ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Type tyname uni ann) ∷ Type → Type Source #

Methods

from ∷ Type tyname uni ann → Rep (Type tyname uni ann) x Source #

to ∷ Rep (Type tyname uni ann) x → Type tyname uni ann Source #

Generic (Error uni fun ann) Source # 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (Error uni fun ann) ∷ Type → Type Source #

Methods

from ∷ Error uni fun ann → Rep (Error uni fun ann) x Source #

to ∷ Rep (Error uni fun ann) x → Error uni fun ann Source #

Generic (MachineParameters machineCosts fun val) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.MachineParameters

Associated Types

type Rep (MachineParameters machineCosts fun val) ∷ Type → Type Source #

Methods

from ∷ MachineParameters machineCosts fun val → Rep (MachineParameters machineCosts fun val) x Source #

to ∷ Rep (MachineParameters machineCosts fun val) x → MachineParameters machineCosts fun val Source #

Generic (MachineVariantParameters machineCosts fun val) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.MachineParameters

Associated Types

type Rep (MachineVariantParameters machineCosts fun val) ∷ Type → Type Source #

Methods

from ∷ MachineVariantParameters machineCosts fun val → Rep (MachineVariantParameters machineCosts fun val) x Source #

to ∷ Rep (MachineVariantParameters machineCosts fun val) x → MachineVariantParameters machineCosts fun val Source #

Generic (Tagged s b) 
Instance details

Defined in Data.Tagged

Associated Types

type Rep (Tagged s b) ∷ Type → Type Source #

Methods

from ∷ Tagged s b → Rep (Tagged s b) x Source #

to ∷ Rep (Tagged s b) x → Tagged s b Source #

Generic (These1 f g a) 
Instance details

Defined in Data.Functor.These

Associated Types

type Rep (These1 f g a) ∷ Type → Type Source #

Methods

from ∷ These1 f g a → Rep (These1 f g a) x Source #

to ∷ Rep (These1 f g a) x → These1 f g a Source #

Generic (Backwards f a) 
Instance details

Defined in Control.Applicative.Backwards

Associated Types

type Rep (Backwards f a) ∷ Type → Type Source #

Methods

from ∷ Backwards f a → Rep (Backwards f a) x Source #

to ∷ Rep (Backwards f a) x → Backwards f a Source #

Generic (AccumT w m a) 
Instance details

Defined in Control.Monad.Trans.Accum

Associated Types

type Rep (AccumT w m a) ∷ Type → Type Source #

Methods

from ∷ AccumT w m a → Rep (AccumT w m a) x Source #

to ∷ Rep (AccumT w m a) x → AccumT w m a Source #

Generic (ExceptT e m a) 
Instance details

Defined in Control.Monad.Trans.Except

Associated Types

type Rep (ExceptT e m a) ∷ Type → Type Source #

Methods

from ∷ ExceptT e m a → Rep (ExceptT e m a) x Source #

to ∷ Rep (ExceptT e m a) x → ExceptT e m a Source #

Generic (IdentityT f a) 
Instance details

Defined in Control.Monad.Trans.Identity

Associated Types

type Rep (IdentityT f a) ∷ Type → Type Source #

Methods

from ∷ IdentityT f a → Rep (IdentityT f a) x Source #

to ∷ Rep (IdentityT f a) x → IdentityT f a Source #

Generic (ReaderT r m a) 
Instance details

Defined in Control.Monad.Trans.Reader

Associated Types

type Rep (ReaderT r m a) ∷ Type → Type Source #

Methods

from ∷ ReaderT r m a → Rep (ReaderT r m a) x Source #

to ∷ Rep (ReaderT r m a) x → ReaderT r m a Source #

Generic (SelectT r m a) 
Instance details

Defined in Control.Monad.Trans.Select

Associated Types

type Rep (SelectT r m a) ∷ Type → Type Source #

Methods

from ∷ SelectT r m a → Rep (SelectT r m a) x Source #

to ∷ Rep (SelectT r m a) x → SelectT r m a Source #

Generic (StateT s m a) 
Instance details

Defined in Control.Monad.Trans.State.Lazy

Associated Types

type Rep (StateT s m a) ∷ Type → Type Source #

Methods

from ∷ StateT s m a → Rep (StateT s m a) x Source #

to ∷ Rep (StateT s m a) x → StateT s m a Source #

Generic (StateT s m a) 
Instance details

Defined in Control.Monad.Trans.State.Strict

Associated Types

type Rep (StateT s m a) ∷ Type → Type Source #

Methods

from ∷ StateT s m a → Rep (StateT s m a) x Source #

to ∷ Rep (StateT s m a) x → StateT s m a Source #

Generic (WriterT w m a) 
Instance details

Defined in Control.Monad.Trans.Writer.CPS

Associated Types

type Rep (WriterT w m a) ∷ Type → Type Source #

Methods

from ∷ WriterT w m a → Rep (WriterT w m a) x Source #

to ∷ Rep (WriterT w m a) x → WriterT w m a Source #

Generic (WriterT w m a) 
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

Associated Types

type Rep (WriterT w m a) ∷ Type → Type Source #

Methods

from ∷ WriterT w m a → Rep (WriterT w m a) x Source #

to ∷ Rep (WriterT w m a) x → WriterT w m a Source #

Generic (WriterT w m a) 
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Associated Types

type Rep (WriterT w m a) ∷ Type → Type Source #

Methods

from ∷ WriterT w m a → Rep (WriterT w m a) x Source #

to ∷ Rep (WriterT w m a) x → WriterT w m a Source #

Generic (Constant a b) 
Instance details

Defined in Data.Functor.Constant

Associated Types

type Rep (Constant a b) ∷ Type → Type Source #

Methods

from ∷ Constant a b → Rep (Constant a b) x Source #

to ∷ Rep (Constant a b) x → Constant a b Source #

Generic (Reverse f a) 
Instance details

Defined in Data.Functor.Reverse

Associated Types

type Rep (Reverse f a) ∷ Type → Type Source #

Methods

from ∷ Reverse f a → Rep (Reverse f a) x Source #

to ∷ Rep (Reverse f a) x → Reverse f a Source #

Generic (a, b, c) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c) ∷ Type → Type Source #

Methods

from ∷ (a, b, c) → Rep (a, b, c) x Source #

to ∷ Rep (a, b, c) x → (a, b, c) Source #

Generic (Product f g a) 
Instance details

Defined in Data.Functor.Product

Associated Types

type Rep (Product f g a) ∷ Type → Type Source #

Methods

from ∷ Product f g a → Rep (Product f g a) x Source #

to ∷ Rep (Product f g a) x → Product f g a Source #

Generic (Sum f g a) 
Instance details

Defined in Data.Functor.Sum

Associated Types

type Rep (Sum f g a) ∷ Type → Type Source #

Methods

from ∷ Sum f g a → Rep (Sum f g a) x Source #

to ∷ Rep (Sum f g a) x → Sum f g a Source #

Generic ((f :*: g) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :*: g) p) ∷ Type → Type Source #

Methods

from ∷ (f :*: g) p → Rep ((f :*: g) p) x Source #

to ∷ Rep ((f :*: g) p) x → (f :*: g) p Source #

Generic ((f :+: g) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :+: g) p) ∷ Type → Type Source #

Methods

from ∷ (f :+: g) p → Rep ((f :+: g) p) x Source #

to ∷ Rep ((f :+: g) p) x → (f :+: g) p Source #

Generic (K1 i c p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (K1 i c p) ∷ Type → Type Source #

Methods

from ∷ K1 i c p → Rep (K1 i c p) x Source #

to ∷ Rep (K1 i c p) x → K1 i c p Source #

Generic (VarDecl tyname name uni ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (VarDecl tyname name uni ann) ∷ Type → Type Source #

Methods

from ∷ VarDecl tyname name uni ann → Rep (VarDecl tyname name uni ann) x Source #

to ∷ Rep (VarDecl tyname name uni ann) x → VarDecl tyname name uni ann Source #

Generic (TypeError term uni fun ann) Source # 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (TypeError term uni fun ann) ∷ Type → Type Source #

Methods

from ∷ TypeError term uni fun ann → Rep (TypeError term uni fun ann) x Source #

to ∷ Rep (TypeError term uni fun ann) x → TypeError term uni fun ann Source #

Generic (Program name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Type

Associated Types

type Rep (Program name uni fun ann) ∷ Type → Type Source #

Methods

from ∷ Program name uni fun ann → Rep (Program name uni fun ann) x Source #

to ∷ Rep (Program name uni fun ann) x → Program name uni fun ann Source #

Generic (Term name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Type

Associated Types

type Rep (Term name uni fun ann) ∷ Type → Type Source #

Methods

from ∷ Term name uni fun ann → Rep (Term name uni fun ann) x Source #

to ∷ Rep (Term name uni fun ann) x → Term name uni fun ann Source #

Generic (Subst name uni fun a) Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Inline

Associated Types

type Rep (Subst name uni fun a) ∷ Type → Type Source #

Methods

from ∷ Subst name uni fun a → Rep (Subst name uni fun a) x Source #

to ∷ Rep (Subst name uni fun a) x → Subst name uni fun a Source #

Generic (ContT r m a) 
Instance details

Defined in Control.Monad.Trans.Cont

Associated Types

type Rep (ContT r m a) ∷ Type → Type Source #

Methods

from ∷ ContT r m a → Rep (ContT r m a) x Source #

to ∷ Rep (ContT r m a) x → ContT r m a Source #

Generic (a, b, c, d) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d) → Rep (a, b, c, d) x Source #

to ∷ Rep (a, b, c, d) x → (a, b, c, d) Source #

Generic (Compose f g a) 
Instance details

Defined in Data.Functor.Compose

Associated Types

type Rep (Compose f g a) ∷ Type → Type Source #

Methods

from ∷ Compose f g a → Rep (Compose f g a) x Source #

to ∷ Rep (Compose f g a) x → Compose f g a Source #

Generic ((f :.: g) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :.: g) p) ∷ Type → Type Source #

Methods

from ∷ (f :.: g) p → Rep ((f :.: g) p) x Source #

to ∷ Rep ((f :.: g) p) x → (f :.: g) p Source #

Generic (M1 i c f p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (M1 i c f p) ∷ Type → Type Source #

Methods

from ∷ M1 i c f p → Rep (M1 i c f p) x Source #

to ∷ Rep (M1 i c f p) x → M1 i c f p Source #

Generic (Clown f a b) 
Instance details

Defined in Data.Bifunctor.Clown

Associated Types

type Rep (Clown f a b) ∷ Type → Type Source #

Methods

from ∷ Clown f a b → Rep (Clown f a b) x Source #

to ∷ Rep (Clown f a b) x → Clown f a b Source #

Generic (Flip p a b) 
Instance details

Defined in Data.Bifunctor.Flip

Associated Types

type Rep (Flip p a b) ∷ Type → Type Source #

Methods

from ∷ Flip p a b → Rep (Flip p a b) x Source #

to ∷ Rep (Flip p a b) x → Flip p a b Source #

Generic (Joker g a b) 
Instance details

Defined in Data.Bifunctor.Joker

Associated Types

type Rep (Joker g a b) ∷ Type → Type Source #

Methods

from ∷ Joker g a b → Rep (Joker g a b) x Source #

to ∷ Rep (Joker g a b) x → Joker g a b Source #

Generic (WrappedBifunctor p a b) 
Instance details

Defined in Data.Bifunctor.Wrapped

Associated Types

type Rep (WrappedBifunctor p a b) ∷ Type → Type Source #

Methods

from ∷ WrappedBifunctor p a b → Rep (WrappedBifunctor p a b) x Source #

to ∷ Rep (WrappedBifunctor p a b) x → WrappedBifunctor p a b Source #

Generic (Program tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Program tyname name uni fun ann) ∷ Type → Type Source #

Methods

from ∷ Program tyname name uni fun ann → Rep (Program tyname name uni fun ann) x Source #

to ∷ Rep (Program tyname name uni fun ann) x → Program tyname name uni fun ann Source #

Generic (Term tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Term tyname name uni fun ann) ∷ Type → Type Source #

Methods

from ∷ Term tyname name uni fun ann → Rep (Term tyname name uni fun ann) x Source #

to ∷ Rep (Term tyname name uni fun ann) x → Term tyname name uni fun ann Source #

Generic (NormCheckError tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (NormCheckError tyname name uni fun ann) ∷ Type → Type Source #

Methods

from ∷ NormCheckError tyname name uni fun ann → Rep (NormCheckError tyname name uni fun ann) x Source #

to ∷ Rep (NormCheckError tyname name uni fun ann) x → NormCheckError tyname name uni fun ann Source #

Generic (RWST r w s m a) 
Instance details

Defined in Control.Monad.Trans.RWS.CPS

Associated Types

type Rep (RWST r w s m a) ∷ Type → Type Source #

Methods

from ∷ RWST r w s m a → Rep (RWST r w s m a) x Source #

to ∷ Rep (RWST r w s m a) x → RWST r w s m a Source #

Generic (RWST r w s m a) 
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

Associated Types

type Rep (RWST r w s m a) ∷ Type → Type Source #

Methods

from ∷ RWST r w s m a → Rep (RWST r w s m a) x Source #

to ∷ Rep (RWST r w s m a) x → RWST r w s m a Source #

Generic (RWST r w s m a) 
Instance details

Defined in Control.Monad.Trans.RWS.Strict

Associated Types

type Rep (RWST r w s m a) ∷ Type → Type Source #

Methods

from ∷ RWST r w s m a → Rep (RWST r w s m a) x Source #

to ∷ Rep (RWST r w s m a) x → RWST r w s m a Source #

Generic (a, b, c, d, e) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e) → Rep (a, b, c, d, e) x Source #

to ∷ Rep (a, b, c, d, e) x → (a, b, c, d, e) Source #

Generic (Product f g a b) 
Instance details

Defined in Data.Bifunctor.Product

Associated Types

type Rep (Product f g a b) ∷ Type → Type Source #

Methods

from ∷ Product f g a b → Rep (Product f g a b) x Source #

to ∷ Rep (Product f g a b) x → Product f g a b Source #

Generic (Sum p q a b) 
Instance details

Defined in Data.Bifunctor.Sum

Associated Types

type Rep (Sum p q a b) ∷ Type → Type Source #

Methods

from ∷ Sum p q a b → Rep (Sum p q a b) x Source #

to ∷ Rep (Sum p q a b) x → Sum p q a b Source #

Generic (a, b, c, d, e, f) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f) → Rep (a, b, c, d, e, f) x Source #

to ∷ Rep (a, b, c, d, e, f) x → (a, b, c, d, e, f) Source #

Generic (Tannen f p a b) 
Instance details

Defined in Data.Bifunctor.Tannen

Associated Types

type Rep (Tannen f p a b) ∷ Type → Type Source #

Methods

from ∷ Tannen f p a b → Rep (Tannen f p a b) x Source #

to ∷ Rep (Tannen f p a b) x → Tannen f p a b Source #

Generic (a, b, c, d, e, f, g) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f, g) → Rep (a, b, c, d, e, f, g) x Source #

to ∷ Rep (a, b, c, d, e, f, g) x → (a, b, c, d, e, f, g) Source #

Generic (a, b, c, d, e, f, g, h) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f, g, h) → Rep (a, b, c, d, e, f, g, h) x Source #

to ∷ Rep (a, b, c, d, e, f, g, h) x → (a, b, c, d, e, f, g, h) Source #

Generic (Biff p f g a b) 
Instance details

Defined in Data.Bifunctor.Biff

Associated Types

type Rep (Biff p f g a b) ∷ Type → Type Source #

Methods

from ∷ Biff p f g a b → Rep (Biff p f g a b) x Source #

to ∷ Rep (Biff p f g a b) x → Biff p f g a b Source #

Generic (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f, g, h, i) → Rep (a, b, c, d, e, f, g, h, i) x Source #

to ∷ Rep (a, b, c, d, e, f, g, h, i) x → (a, b, c, d, e, f, g, h, i) Source #

Generic (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j) → Rep (a, b, c, d, e, f, g, h, i, j) x Source #

to ∷ Rep (a, b, c, d, e, f, g, h, i, j) x → (a, b, c, d, e, f, g, h, i, j) Source #

Generic (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k) → Rep (a, b, c, d, e, f, g, h, i, j, k) x Source #

to ∷ Rep (a, b, c, d, e, f, g, h, i, j, k) x → (a, b, c, d, e, f, g, h, i, j, k) Source #

Generic (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k, l) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Rep (a, b, c, d, e, f, g, h, i, j, k, l) x Source #

to ∷ Rep (a, b, c, d, e, f, g, h, i, j, k, l) x → (a, b, c, d, e, f, g, h, i, j, k, l) Source #

Generic (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k, l, m) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Rep (a, b, c, d, e, f, g, h, i, j, k, l, m) x Source #

to ∷ Rep (a, b, c, d, e, f, g, h, i, j, k, l, m) x → (a, b, c, d, e, f, g, h, i, j, k, l, m) Source #

Generic (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n) x Source #

to ∷ Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n) x → (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source #

Generic (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) ∷ Type → Type Source #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) x Source #

to ∷ Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) x → (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source #

class NFData a Source #

A class of types that can be fully evaluated.

Since: deepseq-1.1.0.0

Instances

Instances details
NFData Key 
Instance details

Defined in Data.Aeson.Key

Methods

rnf ∷ Key → () Source #

NFData JSONPathElement 
Instance details

Defined in Data.Aeson.Types.Internal

Methods

rnf ∷ JSONPathElement → () Source #

NFData Value 
Instance details

Defined in Data.Aeson.Types.Internal

Methods

rnf ∷ Value → () Source #

NFData ByteArray

Since: deepseq-1.4.7.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ ByteArray → () Source #

NFData All

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ All → () Source #

NFData Any

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Any → () Source #

NFData TypeRep

NOTE: Prior to deepseq-1.4.4.0 this instance was only defined for base-4.8.0.0 and later.

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ TypeRep → () Source #

NFData Unique

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Unique → () Source #

NFData Version

Since: deepseq-1.3.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Version → () Source #

NFData CBool

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CBool → () Source #

NFData CChar

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CChar → () Source #

NFData CClock

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CClock → () Source #

NFData CDouble

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CDouble → () Source #

NFData CFile

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CFile → () Source #

NFData CFloat

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CFloat → () Source #

NFData CFpos

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CFpos → () Source #

NFData CInt

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CInt → () Source #

NFData CIntMax

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CIntMax → () Source #

NFData CIntPtr

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CIntPtr → () Source #

NFData CJmpBuf

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CJmpBuf → () Source #

NFData CLLong

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CLLong → () Source #

NFData CLong

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CLong → () Source #

NFData CPtrdiff

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CPtrdiff → () Source #

NFData CSChar

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CSChar → () Source #

NFData CSUSeconds

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CSUSeconds → () Source #

NFData CShort

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CShort → () Source #

NFData CSigAtomic

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CSigAtomic → () Source #

NFData CSize

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CSize → () Source #

NFData CTime

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CTime → () Source #

NFData CUChar

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CUChar → () Source #

NFData CUInt

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CUInt → () Source #

NFData CUIntMax

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CUIntMax → () Source #

NFData CUIntPtr

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CUIntPtr → () Source #

NFData CULLong

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CULLong → () Source #

NFData CULong

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CULong → () Source #

NFData CUSeconds

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CUSeconds → () Source #

NFData CUShort

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CUShort → () Source #

NFData CWchar

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CWchar → () Source #

NFData Void

Defined as rnf = absurd.

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Void → () Source #

NFData ThreadId

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ ThreadId → () Source #

NFData Fingerprint

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Fingerprint → () Source #

NFData MaskingState

Since: deepseq-1.4.4.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ MaskingState → () Source #

NFData ExitCode

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ ExitCode → () Source #

NFData Int16 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Int16 → () Source #

NFData Int32 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Int32 → () Source #

NFData Int64 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Int64 → () Source #

NFData Int8 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Int8 → () Source #

NFData CallStack

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ CallStack → () Source #

NFData SrcLoc

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ SrcLoc → () Source #

NFData Word16 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Word16 → () Source #

NFData Word32 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Word32 → () Source #

NFData Word64 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Word64 → () Source #

NFData Word8 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Word8 → () Source #

NFData ByteString 
Instance details

Defined in Data.ByteString.Internal.Type

Methods

rnf ∷ ByteString → () Source #

NFData ByteString 
Instance details

Defined in Data.ByteString.Lazy.Internal

Methods

rnf ∷ ByteString → () Source #

NFData ShortByteString 
Instance details

Defined in Data.ByteString.Short.Internal

Methods

rnf ∷ ShortByteString → () Source #

NFData IPv4 
Instance details

Defined in Cardano.Base.IP

Methods

rnf ∷ IPv4 → () Source #

NFData IPv6 
Instance details

Defined in Cardano.Base.IP

Methods

rnf ∷ IPv6 → () Source #

NFData Scalar 
Instance details

Defined in Cardano.Crypto.EllipticCurve.BLS12_381.Internal

Methods

rnf ∷ Scalar → () Source #

NFData DeserialiseFailure 
Instance details

Defined in Codec.CBOR.Read

Methods

rnf ∷ DeserialiseFailure → () Source #

NFData IntSet 
Instance details

Defined in Data.IntSet.Internal

Methods

rnf ∷ IntSet → () Source #

NFData OsChar 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Methods

rnf ∷ OsChar → () Source #

NFData OsString 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Methods

rnf ∷ OsString → () Source #

NFData PosixChar 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Methods

rnf ∷ PosixChar → () Source #

NFData PosixString 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Methods

rnf ∷ PosixString → () Source #

NFData WindowsChar 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Methods

rnf ∷ WindowsChar → () Source #

NFData WindowsString 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Methods

rnf ∷ WindowsString → () Source #

NFData Module

Since: deepseq-1.4.8.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Module → () Source #

NFData Ordering 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Ordering → () Source #

NFData TyCon

NOTE: Prior to deepseq-1.4.4.0 this instance was only defined for base-4.8.0.0 and later.

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ TyCon → () Source #

NFData Half 
Instance details

Defined in Numeric.Half.Internal

Methods

rnf ∷ Half → () Source #

NFData InvalidPosException 
Instance details

Defined in Text.Megaparsec.Pos

Methods

rnf ∷ InvalidPosException → () Source #

NFData Pos 
Instance details

Defined in Text.Megaparsec.Pos

Methods

rnf ∷ Pos → () Source #

NFData SourcePos 
Instance details

Defined in Text.Megaparsec.Pos

Methods

rnf ∷ SourcePos → () Source #

NFData URI 
Instance details

Defined in Network.URI

Methods

rnf ∷ URI → () Source #

NFData URIAuth 
Instance details

Defined in Network.URI

Methods

rnf ∷ URIAuth → () Source #

NFData OsChar 
Instance details

Defined in System.OsString.Internal.Types

Methods

rnf ∷ OsChar → () Source #

NFData OsString 
Instance details

Defined in System.OsString.Internal.Types

Methods

rnf ∷ OsString → () Source #

NFData PosixChar 
Instance details

Defined in System.OsString.Internal.Types

Methods

rnf ∷ PosixChar → () Source #

NFData PosixString 
Instance details

Defined in System.OsString.Internal.Types

Methods

rnf ∷ PosixString → () Source #

NFData WindowsChar 
Instance details

Defined in System.OsString.Internal.Types

Methods

rnf ∷ WindowsChar → () Source #

NFData WindowsString 
Instance details

Defined in System.OsString.Internal.Types

Methods

rnf ∷ WindowsString → () Source #

NFData SrcSpan Source # 
Instance details

Defined in PlutusCore.Annotation

Methods

rnf ∷ SrcSpan → () Source #

NFData SrcSpans Source # 
Instance details

Defined in PlutusCore.Annotation

Methods

rnf ∷ SrcSpans → () Source #

NFData UnliftingError Source # 
Instance details

Defined in PlutusCore.Builtin.Result

Methods

rnf ∷ UnliftingError → () Source #

NFData UnliftingEvaluationError Source # 
Instance details

Defined in PlutusCore.Builtin.Result

NFData Element Source # 
Instance details

Defined in PlutusCore.Crypto.BLS12_381.G1

Methods

rnf ∷ Element → () Source #

NFData Element Source # 
Instance details

Defined in PlutusCore.Crypto.BLS12_381.G2

Methods

rnf ∷ Element → () Source #

NFData MlResult Source # 
Instance details

Defined in PlutusCore.Crypto.BLS12_381.Pairing

Methods

rnf ∷ MlResult → () Source #

NFData Data Source # 
Instance details

Defined in PlutusCore.Data

Methods

rnf ∷ Data → () Source #

NFData DeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

rnf ∷ DeBruijn → () Source #

NFData FakeNamedDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

rnf ∷ FakeNamedDeBruijn → () Source #

NFData FreeVariableError Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

rnf ∷ FreeVariableError → () Source #

NFData Index Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

rnf ∷ Index → () Source #

NFData NamedDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

rnf ∷ NamedDeBruijn → () Source #

NFData NamedTyDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

rnf ∷ NamedTyDeBruijn → () Source #

NFData TyDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

rnf ∷ TyDeBruijn → () Source #

NFData DefaultFun Source # 
Instance details

Defined in PlutusCore.Default.Builtins

Methods

rnf ∷ DefaultFun → () Source #

NFData ParserError Source # 
Instance details

Defined in PlutusCore.Error

Methods

rnf ∷ ParserError → () Source #

NFData ParserErrorBundle Source # 
Instance details

Defined in PlutusCore.Error

Methods

rnf ∷ ParserErrorBundle → () Source #

NFData CostModelApplyError Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostModelInterface

Methods

rnf ∷ CostModelApplyError → () Source #

NFData Coefficient0 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient0 → () Source #

NFData Coefficient00 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient00 → () Source #

NFData Coefficient01 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient01 → () Source #

NFData Coefficient02 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient02 → () Source #

NFData Coefficient1 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient1 → () Source #

NFData Coefficient10 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient10 → () Source #

NFData Coefficient11 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient11 → () Source #

NFData Coefficient12 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient12 → () Source #

NFData Coefficient2 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient2 → () Source #

NFData Coefficient20 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Coefficient20 → () Source #

NFData ExpModCostingFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ ExpModCostingFunction → () Source #

NFData Intercept Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Intercept → () Source #

NFData ModelConstantOrLinear Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ ModelConstantOrLinear → () Source #

NFData ModelConstantOrOneArgument Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

NFData ModelConstantOrTwoArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

NFData ModelFiveArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ ModelFiveArguments → () Source #

NFData ModelFourArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ ModelFourArguments → () Source #

NFData ModelOneArgument Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ ModelOneArgument → () Source #

NFData ModelSixArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ ModelSixArguments → () Source #

NFData ModelSubtractedSizes Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ ModelSubtractedSizes → () Source #

NFData ModelThreeArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ ModelThreeArguments → () Source #

NFData ModelTwoArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ ModelTwoArguments → () Source #

NFData OneVariableLinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

NFData OneVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

NFData Slope Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ Slope → () Source #

NFData TwoVariableLinearFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

NFData TwoVariableQuadraticFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

NFData TwoVariableWithInteractionFunction Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

NFData ExBudget Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

rnf ∷ ExBudget → () Source #

NFData ExRestrictingBudget Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

rnf ∷ ExRestrictingBudget → () Source #

NFData ExCPU Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

rnf ∷ ExCPU → () Source #

NFData ExMemory Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

rnf ∷ ExMemory → () Source #

NFData Name Source # 
Instance details

Defined in PlutusCore.Name.Unique

Methods

rnf ∷ Name → () Source #

NFData TyName Source # 
Instance details

Defined in PlutusCore.Name.Unique

Methods

rnf ∷ TyName → () Source #

NFData Unique Source # 
Instance details

Defined in PlutusCore.Name.Unique

Methods

rnf ∷ Unique → () Source #

NFData K Source # 
Instance details

Defined in PlutusCore.Value

Methods

rnf ∷ K → () Source #

NFData Quantity Source # 
Instance details

Defined in PlutusCore.Value

Methods

rnf ∷ Quantity → () Source #

NFData Value Source # 
Instance details

Defined in PlutusCore.Value

Methods

rnf ∷ Value → () Source #

NFData Version Source # 
Instance details

Defined in PlutusCore.Version

Methods

rnf ∷ Version → () Source #

NFData CountingSt Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

rnf ∷ CountingSt → () Source #

NFData RestrictingSt Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

rnf ∷ RestrictingSt → () Source #

NFData CekUserError Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Methods

rnf ∷ CekUserError → () Source #

NFData StepKind Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Methods

rnf ∷ StepKind → () Source #

NFData Inline Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Hints

Methods

rnf ∷ Inline → () Source #

NFData CertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

Methods

rnf ∷ CertifiedOptStage → () Source #

NFData UncertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

Methods

rnf ∷ UncertifiedOptStage → () Source #

NFData Filler 
Instance details

Defined in PlutusCore.Flat.Filler

Methods

rnf ∷ Filler → () Source #

NFData SatInt 
Instance details

Defined in Data.SatInt

Methods

rnf ∷ SatInt → () Source #

NFData TextDetails 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Methods

rnf ∷ TextDetails → () Source #

NFData Doc 
Instance details

Defined in Text.PrettyPrint.HughesPJ

Methods

rnf ∷ Doc → () Source #

NFData StdGen 
Instance details

Defined in System.Random.Internal

Methods

rnf ∷ StdGen → () Source #

NFData Scientific 
Instance details

Defined in Data.Scientific

Methods

rnf ∷ Scientific → () Source #

NFData ShortText 
Instance details

Defined in Data.Text.Short.Internal

Methods

rnf ∷ ShortText → () Source #

NFData Day 
Instance details

Defined in Data.Time.Calendar.Days

Methods

rnf ∷ Day → () Source #

NFData DiffTime 
Instance details

Defined in Data.Time.Clock.Internal.DiffTime

Methods

rnf ∷ DiffTime → () Source #

NFData NominalDiffTime 
Instance details

Defined in Data.Time.Clock.Internal.NominalDiffTime

Methods

rnf ∷ NominalDiffTime → () Source #

NFData UTCTime 
Instance details

Defined in Data.Time.Clock.Internal.UTCTime

Methods

rnf ∷ UTCTime → () Source #

NFData UniversalTime 
Instance details

Defined in Data.Time.Clock.Internal.UniversalTime

Methods

rnf ∷ UniversalTime → () Source #

NFData LocalTime 
Instance details

Defined in Data.Time.LocalTime.Internal.LocalTime

Methods

rnf ∷ LocalTime → () Source #

NFData ZonedTime 
Instance details

Defined in Data.Time.LocalTime.Internal.ZonedTime

Methods

rnf ∷ ZonedTime → () Source #

NFData UUID 
Instance details

Defined in Data.UUID.Types.Internal

Methods

rnf ∷ UUID → () Source #

NFData Integer 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Integer → () Source #

NFData Natural

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Natural → () Source #

NFData () 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ () → () Source #

NFData Bool 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Bool → () Source #

NFData Char 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Char → () Source #

NFData Double 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Double → () Source #

NFData Float 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Float → () Source #

NFData Int 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Int → () Source #

NFData Word 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Word → () Source #

NFData a ⇒ NFData (Only a) 
Instance details

Defined in Data.Tuple.Only

Methods

rnf ∷ Only a → () Source #

NFData v ⇒ NFData (KeyMap v) 
Instance details

Defined in Data.Aeson.KeyMap

Methods

rnf ∷ KeyMap v → () Source #

NFData a ⇒ NFData (IResult a) 
Instance details

Defined in Data.Aeson.Types.Internal

Methods

rnf ∷ IResult a → () Source #

NFData a ⇒ NFData (Result a) 
Instance details

Defined in Data.Aeson.Types.Internal

Methods

rnf ∷ Result a → () Source #

NFData a ⇒ NFData (ZipList a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ ZipList a → () Source #

NFData (MutableByteArray s)

Since: deepseq-1.4.8.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ MutableByteArray s → () Source #

NFData a ⇒ NFData (Complex a) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Complex a → () Source #

NFData a ⇒ NFData (Identity a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Identity a → () Source #

NFData a ⇒ NFData (First a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ First a → () Source #

NFData a ⇒ NFData (Last a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Last a → () Source #

NFData a ⇒ NFData (Down a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Down a → () Source #

NFData a ⇒ NFData (First a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ First a → () Source #

NFData a ⇒ NFData (Last a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Last a → () Source #

NFData a ⇒ NFData (Max a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Max a → () Source #

NFData a ⇒ NFData (Min a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Min a → () Source #

NFData m ⇒ NFData (WrappedMonoid m)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ WrappedMonoid m → () Source #

NFData a ⇒ NFData (Dual a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Dual a → () Source #

NFData a ⇒ NFData (Product a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Product a → () Source #

NFData a ⇒ NFData (Sum a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Sum a → () Source #

NFData a ⇒ NFData (NonEmpty a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ NonEmpty a → () Source #

NFData (IORef a)

NOTE: Only strict in the reference and not the referenced value.

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ IORef a → () Source #

NFData (MVar a)

NOTE: Only strict in the reference and not the referenced value.

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ MVar a → () Source #

NFData (FunPtr a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ FunPtr a → () Source #

NFData (Ptr a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Ptr a → () Source #

NFData a ⇒ NFData (Ratio a) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Ratio a → () Source #

NFData (StableName a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ StableName a → () Source #

NFData (SigDSIGN EcdsaSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData (SigDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

rnf ∷ SigDSIGN Ed25519DSIGN → () Source #

NFData (SigDSIGN SchnorrSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NFData (SignKeyDSIGN EcdsaSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData (SignKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

NFData (SignKeyDSIGN SchnorrSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NFData (SignKeyDSIGNM Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

NFData (VerKeyDSIGN EcdsaSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData (VerKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

rnf ∷ VerKeyDSIGN Ed25519DSIGN → () Source #

NFData (VerKeyDSIGN SchnorrSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NFData (Point curve) 
Instance details

Defined in Cardano.Crypto.EllipticCurve.BLS12_381.Internal

Methods

rnf ∷ Point curve → () Source #

NFData (PackedBytes n) 
Instance details

Defined in Cardano.Crypto.PackedBytes.Internal

Methods

rnf ∷ PackedBytes n → () Source #

NFData (PinnedSizedBytes n) 
Instance details

Defined in Cardano.Crypto.PinnedSizedBytes

Methods

rnf ∷ PinnedSizedBytes n → () Source #

NFData a ⇒ NFData (IntMap a) 
Instance details

Defined in Data.IntMap.Internal

Methods

rnf ∷ IntMap a → () Source #

NFData a ⇒ NFData (Digit a) 
Instance details

Defined in Data.Sequence.Internal

Methods

rnf ∷ Digit a → () Source #

NFData a ⇒ NFData (Elem a) 
Instance details

Defined in Data.Sequence.Internal

Methods

rnf ∷ Elem a → () Source #

NFData a ⇒ NFData (FingerTree a) 
Instance details

Defined in Data.Sequence.Internal

Methods

rnf ∷ FingerTree a → () Source #

NFData a ⇒ NFData (Node a) 
Instance details

Defined in Data.Sequence.Internal

Methods

rnf ∷ Node a → () Source #

NFData a ⇒ NFData (Seq a) 
Instance details

Defined in Data.Sequence.Internal

Methods

rnf ∷ Seq a → () Source #

NFData a ⇒ NFData (Set a) 
Instance details

Defined in Data.Set.Internal

Methods

rnf ∷ Set a → () Source #

NFData a ⇒ NFData (Tree a) 
Instance details

Defined in Data.Tree

Methods

rnf ∷ Tree a → () Source #

NFData (Context a) 
Instance details

Defined in Crypto.Hash.Types

Methods

rnf ∷ Context a → () Source #

NFData (Digest a) 
Instance details

Defined in Crypto.Hash.Types

Methods

rnf ∷ Digest a → () Source #

NFData1 f ⇒ NFData (Fix f) 
Instance details

Defined in Data.Fix

Methods

rnf ∷ Fix f → () Source #

NFData a ⇒ NFData (DNonEmpty a) 
Instance details

Defined in Data.DList.DNonEmpty.Internal

Methods

rnf ∷ DNonEmpty a → () Source #

NFData a ⇒ NFData (DList a) 
Instance details

Defined in Data.DList.Internal

Methods

rnf ∷ DList a → () Source #

NFData a ⇒ NFData (Hashed a) 
Instance details

Defined in Data.Hashable.Class

Methods

rnf ∷ Hashed a → () Source #

NFData a ⇒ NFData (ErrorFancy a) 
Instance details

Defined in Text.Megaparsec.Error

Methods

rnf ∷ ErrorFancy a → () Source #

NFData t ⇒ NFData (ErrorItem t) 
Instance details

Defined in Text.Megaparsec.Error

Methods

rnf ∷ ErrorItem t → () Source #

NFData s ⇒ NFData (PosState s) 
Instance details

Defined in Text.Megaparsec.State

Methods

rnf ∷ PosState s → () Source #

NFData a ⇒ NFData (MultiSet a) 
Instance details

Defined in Data.MultiSet

Methods

rnf ∷ MultiSet a → () Source #

NFData (CaserBuiltin uni) Source # 
Instance details

Defined in PlutusCore.Builtin.Case

Methods

rnf ∷ CaserBuiltin uni → () Source #

NFData (BuiltinSemanticsVariant DefaultFun) Source # 
Instance details

Defined in PlutusCore.Default.Builtins

NFData (BuiltinRuntime val) Source # 
Instance details

Defined in PlutusCore.Builtin.Runtime

Methods

rnf ∷ BuiltinRuntime val → () Source #

NFData ann ⇒ NFData (Kind ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Methods

rnf ∷ Kind ann → () Source #

NFData a ⇒ NFData (Normalized a) Source # 
Instance details

Defined in PlutusCore.Core.Type

Methods

rnf ∷ Normalized a → () Source #

NFData a ⇒ NFData (ExpectedShapeOr a) Source # 
Instance details

Defined in PlutusCore.Error

Methods

rnf ∷ ExpectedShapeOr a → () Source #

NFData ann ⇒ NFData (UniqueError ann) Source # 
Instance details

Defined in PlutusCore.Error

Methods

rnf ∷ UniqueError ann → () Source #

AllArgumentModels NFData f ⇒ NFData (BuiltinCostModelBase f) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

rnf ∷ BuiltinCostModelBase f → () Source #

NFData model ⇒ NFData (CostingFun model) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

rnf ∷ CostingFun model → () Source #

NFData (MachineError fun) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.Exception

Methods

rnf ∷ MachineError fun → () Source #

NFData a ⇒ NFData (EvaluationResult a) Source # 
Instance details

Defined in PlutusCore.Evaluation.Result

Methods

rnf ∷ EvaluationResult a → () Source #

Closed uni ⇒ NFData (SomeTypeIn uni) Source # 
Instance details

Defined in Universe.Core

Methods

rnf ∷ SomeTypeIn uni → () Source #

AllBF NFData f CekMachineCostsBase ⇒ NFData (CekMachineCostsBase f) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

rnf ∷ CekMachineCostsBase f → () Source #

NFData fun ⇒ NFData (CekExTally fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

rnf ∷ CekExTally fun → () Source #

NFData fun ⇒ NFData (TallyingSt fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

rnf ∷ TallyingSt fun → () Source #

NFData fun ⇒ NFData (ExBudgetCategory fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Methods

rnf ∷ ExBudgetCategory fun → () Source #

NFData term ⇒ NFData (Hints term) Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Hints

Methods

rnf ∷ Hints term → () Source #

NFData term ⇒ NFData (InlinePlus term) Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Hints

Methods

rnf ∷ InlinePlus term → () Source #

NFData (Get a) 
Instance details

Defined in PlutusCore.Flat.Decoder.Types

Methods

rnf ∷ Get a → () Source #

NFData a ⇒ NFData (PostAligned a) 
Instance details

Defined in PlutusCore.Flat.Filler

Methods

rnf ∷ PostAligned a → () Source #

NFData a ⇒ NFData (PreAligned a) 
Instance details

Defined in PlutusCore.Flat.Filler

Methods

rnf ∷ PreAligned a → () Source #

NFData a ⇒ NFData (AnnotDetails a) 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Methods

rnf ∷ AnnotDetails a → () Source #

NFData a ⇒ NFData (Doc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Methods

rnf ∷ Doc a → () Source #

NFData a ⇒ NFData (Array a) 
Instance details

Defined in Data.Primitive.Array

Methods

rnf ∷ Array a → () Source #

NFData (PrimArray a) 
Instance details

Defined in Data.Primitive.PrimArray

Methods

rnf ∷ PrimArray a → () Source #

NFData a ⇒ NFData (SmallArray a) 
Instance details

Defined in Data.Primitive.SmallArray

Methods

rnf ∷ SmallArray a → () Source #

NFData a ⇒ NFData (Leaf a) 
Instance details

Defined in Data.RAList.Tree.Internal

Methods

rnf ∷ Leaf a → () Source #

NFData g ⇒ NFData (StateGen g) 
Instance details

Defined in System.Random.Internal

Methods

rnf ∷ StateGen g → () Source #

NFData g ⇒ NFData (AtomicGen g) 
Instance details

Defined in System.Random.Stateful

Methods

rnf ∷ AtomicGen g → () Source #

NFData g ⇒ NFData (IOGen g) 
Instance details

Defined in System.Random.Stateful

Methods

rnf ∷ IOGen g → () Source #

NFData g ⇒ NFData (STGen g) 
Instance details

Defined in System.Random.Stateful

Methods

rnf ∷ STGen g → () Source #

NFData g ⇒ NFData (TGen g) 
Instance details

Defined in System.Random.Stateful

Methods

rnf ∷ TGen g → () Source #

NFData a ⇒ NFData (Maybe a) 
Instance details

Defined in Data.Strict.Maybe

Methods

rnf ∷ Maybe a → () Source #

NFData a ⇒ NFData (Array a) 
Instance details

Defined in Data.HashMap.Internal.Array

Methods

rnf ∷ Array a → () Source #

NFData a ⇒ NFData (HashSet a) 
Instance details

Defined in Data.HashSet.Internal

Methods

rnf ∷ HashSet a → () Source #

NFData a ⇒ NFData (Vector a) 
Instance details

Defined in Data.Vector

Methods

rnf ∷ Vector a → () Source #

NFData (Vector a) 
Instance details

Defined in Data.Vector.Primitive

Methods

rnf ∷ Vector a → () Source #

NFData (Vector a) 
Instance details

Defined in Data.Vector.Storable

Methods

rnf ∷ Vector a → () Source #

NFData a ⇒ NFData (Vector a) 
Instance details

Defined in Data.Vector.Strict

Methods

rnf ∷ Vector a → () Source #

NFData (Vector a) 
Instance details

Defined in Data.Vector.Unboxed.Base

Methods

rnf ∷ Vector a → () Source #

NFData a ⇒ NFData (Doc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Methods

rnf ∷ Doc a → () Source #

NFData a ⇒ NFData (SimpleDoc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Methods

rnf ∷ SimpleDoc a → () Source #

NFData a ⇒ NFData (Maybe a) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Maybe a → () Source #

NFData a ⇒ NFData (a)

Since: deepseq-1.4.6.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a) → () Source #

NFData a ⇒ NFData [a] 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ [a] → () Source #

(NFData i, NFData r) ⇒ NFData (IResult i r) 
Instance details

Defined in Data.Attoparsec.Internal.Types

Methods

rnf ∷ IResult i r → () Source #

(NFData a, NFData b) ⇒ NFData (Either a b) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Either a b → () Source #

NFData (Fixed a)

Since: deepseq-1.3.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Fixed a → () Source #

NFData (Proxy a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Proxy a → () Source #

(NFData a, NFData b) ⇒ NFData (Arg a b)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Arg a b → () Source #

NFData (TypeRep a)

Since: deepseq-1.4.8.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ TypeRep a → () Source #

(NFData a, NFData b) ⇒ NFData (Array a b) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Array a b → () Source #

NFData (STRef s a)

NOTE: Only strict in the reference and not the referenced value.

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ STRef s a → () Source #

(NFData a, NFData b) ⇒ NFData (Bimap a b) 
Instance details

Defined in Data.Bimap

Methods

rnf ∷ Bimap a b → () Source #

NFData (SigDSIGN v) ⇒ NFData (SignedDSIGN v a) 
Instance details

Defined in Cardano.Crypto.DSIGN.Class

Methods

rnf ∷ SignedDSIGN v a → () Source #

NFData (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

rnf ∷ Hash h a → () Source #

(NFData k, NFData a) ⇒ NFData (Map k a) 
Instance details

Defined in Data.Map.Internal

Methods

rnf ∷ Map k a → () Source #

(NFData (Token s), NFData e) ⇒ NFData (ParseError s e) 
Instance details

Defined in Text.Megaparsec.Error

Methods

rnf ∷ ParseError s e → () Source #

(NFData s, NFData (Token s), NFData e) ⇒ NFData (ParseErrorBundle s e) 
Instance details

Defined in Text.Megaparsec.Error

Methods

rnf ∷ ParseErrorBundle s e → () Source #

(NFData s, NFData (ParseError s e)) ⇒ NFData (State s e) 
Instance details

Defined in Text.Megaparsec.State

Methods

rnf ∷ State s e → () Source #

(NFData k, NFData a) ⇒ NFData (MonoidalHashMap k a) 
Instance details

Defined in Data.HashMap.Monoidal

Methods

rnf ∷ MonoidalHashMap k a → () Source #

(Bounded fun, Enum fun) ⇒ NFData (BuiltinsRuntime fun val) Source # 
Instance details

Defined in PlutusCore.Builtin.Runtime

Methods

rnf ∷ BuiltinsRuntime fun val → () Source #

(NFData structural, NFData operational) ⇒ NFData (EvaluationError structural operational) Source # 
Instance details

Defined in PlutusCore.Evaluation.Error

Methods

rnf ∷ EvaluationError structural operational → () Source #

(NFData err, NFData cause) ⇒ NFData (ErrorWithCause err cause) Source # 
Instance details

Defined in PlutusCore.Evaluation.ErrorWithCause

Methods

rnf ∷ ErrorWithCause err cause → () Source #

(Closed uni, Everywhere uni NFData) ⇒ NFData (ValueOf uni a) Source # 
Instance details

Defined in Universe.Core

Methods

rnf ∷ ValueOf uni a → () Source #

NFData (MutablePrimArray s a) 
Instance details

Defined in Data.Primitive.PrimArray

Methods

rnf ∷ MutablePrimArray s a → () Source #

NFData (f a) ⇒ NFData (Node f a) 
Instance details

Defined in Data.RAList.Tree.Internal

Methods

rnf ∷ Node f a → () Source #

GNFData tag ⇒ NFData (Some tag) 
Instance details

Defined in Data.Some.GADT

Methods

rnf ∷ Some tag → () Source #

GNFData tag ⇒ NFData (Some tag) 
Instance details

Defined in Data.Some.Newtype

Methods

rnf ∷ Some tag → () Source #

(NFData a, NFData b) ⇒ NFData (Either a b) 
Instance details

Defined in Data.Strict.Either

Methods

rnf ∷ Either a b → () Source #

(NFData a, NFData b) ⇒ NFData (These a b) 
Instance details

Defined in Data.Strict.These

Methods

rnf ∷ These a b → () Source #

(NFData a, NFData b) ⇒ NFData (Pair a b) 
Instance details

Defined in Data.Strict.Tuple

Methods

rnf ∷ Pair a b → () Source #

(NFData a, NFData b) ⇒ NFData (These a b)

Since: these-0.7.1

Instance details

Defined in Data.These

Methods

rnf ∷ These a b → () Source #

(NFData k, NFData v) ⇒ NFData (HashMap k v) 
Instance details

Defined in Data.HashMap.Internal

Methods

rnf ∷ HashMap k v → () Source #

(NFData k, NFData v) ⇒ NFData (Leaf k v) 
Instance details

Defined in Data.HashMap.Internal

Methods

rnf ∷ Leaf k v → () Source #

NFData (MVector s a) 
Instance details

Defined in Data.Vector.Unboxed.Base

Methods

rnf ∷ MVector s a → () Source #

(NFData a, NFData b) ⇒ NFData (a, b) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a, b) → () Source #

NFData (a → b)

This instance is for convenience and consistency with seq. This assumes that WHNF is equivalent to NF for functions.

Since: deepseq-1.3.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a → b) → () Source #

NFData a ⇒ NFData (Const a b)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Const a b → () Source #

NFData (a :~: b)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a :~: b) → () Source #

(NFData ann, NFData tyname, Closed uni) ⇒ NFData (Type tyname uni ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Methods

rnf ∷ Type tyname uni ann → () Source #

(NFData fun, NFData ann, Closed uni, Everywhere uni NFData, NFData ParserError) ⇒ NFData (Error uni fun ann) Source # 
Instance details

Defined in PlutusCore.Error

Methods

rnf ∷ Error uni fun ann → () Source #

(NFData machineCosts, Bounded fun, Enum fun) ⇒ NFData (MachineParameters machineCosts fun val) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.MachineParameters

Methods

rnf ∷ MachineParameters machineCosts fun val → () Source #

(NFData machineCosts, Bounded fun, Enum fun) ⇒ NFData (MachineVariantParameters machineCosts fun val) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.MachineParameters

Methods

rnf ∷ MachineVariantParameters machineCosts fun val → () Source #

NFData b ⇒ NFData (Tagged s b) 
Instance details

Defined in Data.Tagged

Methods

rnf ∷ Tagged s b → () Source #

(NFData (f a), NFData (g a), NFData a) ⇒ NFData (These1 f g a)

Available always

Since: these-1.2

Instance details

Defined in Data.Functor.These

Methods

rnf ∷ These1 f g a → () Source #

(NFData a1, NFData a2, NFData a3) ⇒ NFData (a1, a2, a3) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a1, a2, a3) → () Source #

(NFData1 f, NFData1 g, NFData a) ⇒ NFData (Product f g a)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Product f g a → () Source #

(NFData1 f, NFData1 g, NFData a) ⇒ NFData (Sum f g a)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Sum f g a → () Source #

NFData (a :~~: b)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a :~~: b) → () Source #

(Closed uni, NFData ann, NFData term, NFData fun) ⇒ NFData (TypeError term uni fun ann) Source # 
Instance details

Defined in PlutusCore.Error

Methods

rnf ∷ TypeError term uni fun ann → () Source #

(NFData name, Everywhere uni NFData, NFData fun, NFData ann, Closed uni) ⇒ NFData (Program name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Type

Methods

rnf ∷ Program name uni fun ann → () Source #

(NFData name, NFData fun, NFData ann, Everywhere uni NFData, Closed uni) ⇒ NFData (Term name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Type

Methods

rnf ∷ Term name uni fun ann → () Source #

(NFData a1, NFData a2, NFData a3, NFData a4) ⇒ NFData (a1, a2, a3, a4) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a1, a2, a3, a4) → () Source #

(NFData1 f, NFData1 g, NFData a) ⇒ NFData (Compose f g a)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Compose f g a → () Source #

(NFData tyname, NFData name, Everywhere uni NFData, NFData fun, NFData ann, Closed uni) ⇒ NFData (Program tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Methods

rnf ∷ Program tyname name uni fun ann → () Source #

(NFData tyname, NFData name, NFData fun, NFData ann, Everywhere uni NFData, Closed uni) ⇒ NFData (Term tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Type

Methods

rnf ∷ Term tyname name uni fun ann → () Source #

(NFData tyname, NFData name, Closed uni, Everywhere uni NFData, NFData fun, NFData ann) ⇒ NFData (NormCheckError tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Error

Methods

rnf ∷ NormCheckError tyname name uni fun ann → () Source #

(NFData a1, NFData a2, NFData a3, NFData a4, NFData a5) ⇒ NFData (a1, a2, a3, a4, a5) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a1, a2, a3, a4, a5) → () Source #

(NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6) ⇒ NFData (a1, a2, a3, a4, a5, a6) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a1, a2, a3, a4, a5, a6) → () Source #

(NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6, NFData a7) ⇒ NFData (a1, a2, a3, a4, a5, a6, a7) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a1, a2, a3, a4, a5, a6, a7) → () Source #

(NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6, NFData a7, NFData a8) ⇒ NFData (a1, a2, a3, a4, a5, a6, a7, a8) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a1, a2, a3, a4, a5, a6, a7, a8) → () Source #

(NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6, NFData a7, NFData a8, NFData a9) ⇒ NFData (a1, a2, a3, a4, a5, a6, a7, a8, a9) 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9) → () Source #

data Natural Source #

Natural number

Invariant: numbers <= 0xffffffffffffffff use the NS constructor

Instances

Instances details
FromJSON Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSONKey Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Data Natural

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → Natural → c Natural Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c Natural Source #

toConstr ∷ Natural → Constr Source #

dataTypeOf ∷ Natural → DataType Source #

dataCast1 ∷ Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c Natural) Source #

dataCast2 ∷ Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c Natural) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → Natural → Natural Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Natural → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Natural → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Natural → [u] Source #

gmapQi ∷ Int → (∀ d. Data d ⇒ d → u) → Natural → u Source #

gmapM ∷ Monad m ⇒ (∀ d. Data d ⇒ d → m d) → Natural → m Natural Source #

gmapMp ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Natural → m Natural Source #

gmapMo ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Natural → m Natural Source #

Bits Natural

Since: base-4.8.0

Instance details

Defined in GHC.Bits

Enum Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Enum

Ix Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Ix

Num Natural

Note that Natural's Num instance isn't a ring: no element but 0 has an additive inverse. It is a semiring though.

Since: base-4.8.0.0

Instance details

Defined in GHC.Num

Read Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Read

Integral Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Real

Real Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Real

Show Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Show

PrintfArg Natural

Since: base-4.8.0.0

Instance details

Defined in Text.Printf

Subtractive Natural 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference Natural

Methods

(-) ∷ Natural → Natural → Difference Natural

FromField Natural 
Instance details

Defined in Data.Csv.Conversion

Methods

parseField ∷ Field → Parser Natural

ToField Natural 
Instance details

Defined in Data.Csv.Conversion

Methods

toField ∷ Natural → Field

NFData Natural

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Natural → () Source #

Eq Natural 
Instance details

Defined in GHC.Num.Natural

Methods

(==) ∷ Natural → Natural → Bool Source #

(/=) ∷ Natural → Natural → Bool Source #

Ord Natural 
Instance details

Defined in GHC.Num.Natural

Hashable Natural 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt ∷ Int → Natural → Int Source #

hash ∷ Natural → Int Source #

NoThunks Natural 
Instance details

Defined in NoThunks.Class

ExMemoryUsage Natural Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemoryUsage

Pretty Natural 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Natural → Doc ann Source #

prettyList ∷ [Natural] → Doc ann Source #

UniformRange Natural 
Instance details

Defined in System.Random.Internal

Methods

uniformRM ∷ StatefulGen g m ⇒ (Natural, Natural) → g → m Natural Source #

isInRange ∷ (Natural, Natural) → Natural → Bool Source #

Corecursive Natural 
Instance details

Defined in Data.Functor.Foldable

Methods

embed ∷ Base Natural Natural → Natural Source #

ana ∷ (a → Base Natural a) → a → Natural Source #

apo ∷ (a → Base Natural (Either Natural a)) → a → Natural Source #

postpro ∷ Recursive Natural ⇒ (∀ b. Base Natural b → Base Natural b) → (a → Base Natural a) → a → Natural Source #

gpostpro ∷ (Recursive Natural, Monad m) ⇒ (∀ b. m (Base Natural b) → Base Natural (m b)) → (∀ c. Base Natural c → Base Natural c) → (a → Base Natural (m a)) → a → Natural Source #

Recursive Natural 
Instance details

Defined in Data.Functor.Foldable

Methods

project ∷ Natural → Base Natural Natural Source #

cata ∷ (Base Natural a → a) → Natural → a Source #

para ∷ (Base Natural (Natural, a) → a) → Natural → a Source #

gpara ∷ (Corecursive Natural, Comonad w) ⇒ (∀ b. Base Natural (w b) → w (Base Natural b)) → (Base Natural (EnvT Natural w a) → a) → Natural → a Source #

prepro ∷ Corecursive Natural ⇒ (∀ b. Base Natural b → Base Natural b) → (Base Natural a → a) → Natural → a Source #

gprepro ∷ (Corecursive Natural, Comonad w) ⇒ (∀ b. Base Natural (w b) → w (Base Natural b)) → (∀ c. Base Natural c → Base Natural c) → (Base Natural (w a) → a) → Natural → a Source #

Serialise Natural

Since: serialise-0.2.0.0

Instance details

Defined in Codec.Serialise.Class

Pretty Natural 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Methods

pretty ∷ Natural → Doc b

prettyList ∷ [Natural] → Doc b

KnownNat n ⇒ HasResolution (n ∷ Nat)

For example, Fixed 1000 will give you a Fixed with a resolution of 1000.

Instance details

Defined in Data.Fixed

Methods

resolution ∷ p n → Integer Source #

TestCoercion SNat

Since: base-4.18.0.0

Instance details

Defined in GHC.TypeNats

Methods

testCoercion ∷ ∀ (a ∷ k) (b ∷ k). SNat a → SNat b → Maybe (Coercion a b) Source #

TestEquality SNat

Since: base-4.18.0.0

Instance details

Defined in GHC.TypeNats

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). SNat a → SNat b → Maybe (a :~: b) Source #

PrettyAnn ann Natural

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

prettyAnn ∷ Natural → Doc ann Source #

prettyAnnList ∷ [Natural] → Doc ann Source #

DefaultPrettyBy config Natural 
Instance details

Defined in Text.PrettyBy.Internal

Methods

defaultPrettyBy ∷ config → Natural → Doc ann Source #

defaultPrettyListBy ∷ config → [Natural] → Doc ann Source #

PrettyDefaultBy config Natural ⇒ PrettyBy config Natural
>>> prettyBy () (123 :: Natural)
123
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Natural → Doc ann Source #

prettyListBy ∷ config → [Natural] → Doc ann Source #

GCompare SNat 
Instance details

Defined in Data.GADT.Internal

Methods

gcompare ∷ ∀ (a ∷ k) (b ∷ k). SNat a → SNat b → GOrdering a b Source #

GEq SNat 
Instance details

Defined in Data.GADT.Internal

Methods

geq ∷ ∀ (a ∷ k) (b ∷ k). SNat a → SNat b → Maybe (a :~: b) Source #

GShow SNat 
Instance details

Defined in Data.GADT.Internal

Methods

gshowsPrec ∷ ∀ (a ∷ k). Int → SNat a → ShowS Source #

Lift Natural 
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

lift ∷ Quote m ⇒ Natural → m Exp Source #

liftTyped ∷ ∀ (m ∷ Type → Type). Quote m ⇒ Natural → Code m Natural Source #

KnownBuiltinTypeIn DefaultUni term Integer ⇒ MakeKnownIn DefaultUni term Natural Source # 
Instance details

Defined in PlutusCore.Default.Universe

Methods

makeKnown ∷ Natural → BuiltinResult term Source #

KnownBuiltinTypeIn DefaultUni term Integer ⇒ ReadKnownIn DefaultUni term Natural Source # 
Instance details

Defined in PlutusCore.Default.Universe

Methods

readKnown ∷ term → ReadKnownM Natural Source #

KnownNat n ⇒ Reifies (n ∷ Nat) Integer 
Instance details

Defined in Data.Reflection

Methods

reflect ∷ proxy n → Integer

KnownTypeAst tyname DefaultUni Natural Source # 
Instance details

Defined in PlutusCore.Default.Universe

Methods

typeAst ∷ Type tyname DefaultUni () Source #

GTraversable (n ∷ Nat) (f ∷ k1 → Type) (g ∷ k1 → Type) (Rec (P n f a') (f a) ∷ k2 → Type) (Rec (P n g a') (g a) ∷ k2 → Type) 
Instance details

Defined in Barbies.Generics.Traversable

Methods

gtraverse ∷ ∀ t (x ∷ k20). Applicative t ⇒ Proxy n → (∀ (a0 ∷ k10). f a0 → t (g a0)) → Rec (P n f a') (f a) x → t (Rec (P n g a') (g a) x)

Traversable h ⇒ GTraversable (n ∷ Nat) (f ∷ k1 → Type) (g ∷ k1 → Type) (Rec (h (P n f a)) (h (f a)) ∷ k2 → Type) (Rec (h (P n g a)) (h (g a)) ∷ k2 → Type) 
Instance details

Defined in Barbies.Generics.Traversable

Methods

gtraverse ∷ ∀ t (x ∷ k20). Applicative t ⇒ Proxy n → (∀ (a0 ∷ k10). f a0 → t (g a0)) → Rec (h (P n f a)) (h (f a)) x → t (Rec (h (P n g a)) (h (g a)) x)

type Difference Natural 
Instance details

Defined in Basement.Numerical.Subtractive

type Difference Natural = Maybe Natural
type Base Natural 
Instance details

Defined in Data.Functor.Foldable

type Compare (a ∷ Natural) (b ∷ Natural) 
Instance details

Defined in Data.Type.Ord

type Compare (a ∷ Natural) (b ∷ Natural) = CmpNat a b
type IsBuiltin DefaultUni Natural Source # 
Instance details

Defined in PlutusCore.Default.Universe

type ToBinds DefaultUni acc Natural Source # 
Instance details

Defined in PlutusCore.Default.Universe

type ToHoles DefaultUni hole Natural Source # 
Instance details

Defined in PlutusCore.Default.Universe

data NonEmpty a Source #

Non-empty (and non-strict) list type.

Since: base-4.9.0.0

Constructors

a :| [a] infixr 5 

Instances

Instances details
FromJSON1 NonEmpty 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

liftParseJSON ∷ Maybe a → (Value → Parser a) → (Value → Parser [a]) → Value → Parser (NonEmpty a) Source #

liftParseJSONList ∷ Maybe a → (Value → Parser a) → (Value → Parser [a]) → Value → Parser [NonEmpty a] Source #

liftOmittedField ∷ Maybe a → Maybe (NonEmpty a) Source #

ToJSON1 NonEmpty 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

liftToJSON ∷ (a → Bool) → (a → Value) → ([a] → Value) → NonEmpty a → Value Source #

liftToJSONList ∷ (a → Bool) → (a → Value) → ([a] → Value) → [NonEmpty a] → Value Source #

liftToEncoding ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → NonEmpty a → Encoding Source #

liftToEncodingList ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → [NonEmpty a] → Encoding Source #

liftOmitField ∷ (a → Bool) → NonEmpty a → Bool Source #

MonadFix NonEmpty

Since: base-4.9.0.0

Instance details

Defined in Control.Monad.Fix

Methods

mfix ∷ (a → NonEmpty a) → NonEmpty a Source #

Foldable NonEmpty

Since: base-4.9.0.0

Instance details

Defined in Data.Foldable

Methods

fold ∷ Monoid m ⇒ NonEmpty m → m Source #

foldMap ∷ Monoid m ⇒ (a → m) → NonEmpty a → m Source #

foldMap' ∷ Monoid m ⇒ (a → m) → NonEmpty a → m Source #

foldr ∷ (a → b → b) → b → NonEmpty a → b Source #

foldr' ∷ (a → b → b) → b → NonEmpty a → b Source #

foldl ∷ (b → a → b) → b → NonEmpty a → b Source #

foldl' ∷ (b → a → b) → b → NonEmpty a → b Source #

foldr1 ∷ (a → a → a) → NonEmpty a → a Source #

foldl1 ∷ (a → a → a) → NonEmpty a → a Source #

toList ∷ NonEmpty a → [a] Source #

null ∷ NonEmpty a → Bool Source #

length ∷ NonEmpty a → Int Source #

elem ∷ Eq a ⇒ a → NonEmpty a → Bool Source #

maximum ∷ Ord a ⇒ NonEmpty a → a Source #

minimum ∷ Ord a ⇒ NonEmpty a → a Source #

sum ∷ Num a ⇒ NonEmpty a → a Source #

product ∷ Num a ⇒ NonEmpty a → a Source #

Eq1 NonEmpty

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftEq ∷ (a → b → Bool) → NonEmpty a → NonEmpty b → Bool Source #

Ord1 NonEmpty

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftCompare ∷ (a → b → Ordering) → NonEmpty a → NonEmpty b → Ordering Source #

Read1 NonEmpty

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftReadsPrec ∷ (Int → ReadS a) → ReadS [a] → Int → ReadS (NonEmpty a) Source #

liftReadList ∷ (Int → ReadS a) → ReadS [a] → ReadS [NonEmpty a] Source #

liftReadPrec ∷ ReadPrec a → ReadPrec [a] → ReadPrec (NonEmpty a) Source #

liftReadListPrec ∷ ReadPrec a → ReadPrec [a] → ReadPrec [NonEmpty a] Source #

Show1 NonEmpty

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec ∷ (Int → a → ShowS) → ([a] → ShowS) → Int → NonEmpty a → ShowS Source #

liftShowList ∷ (Int → a → ShowS) → ([a] → ShowS) → [NonEmpty a] → ShowS Source #

Traversable NonEmpty

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Methods

traverse ∷ Applicative f ⇒ (a → f b) → NonEmpty a → f (NonEmpty b) Source #

sequenceA ∷ Applicative f ⇒ NonEmpty (f a) → f (NonEmpty a) Source #

mapM ∷ Monad m ⇒ (a → m b) → NonEmpty a → m (NonEmpty b) Source #

sequence ∷ Monad m ⇒ NonEmpty (m a) → m (NonEmpty a) Source #

Applicative NonEmpty

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

pure ∷ a → NonEmpty a Source #

(<*>) ∷ NonEmpty (a → b) → NonEmpty a → NonEmpty b Source #

liftA2 ∷ (a → b → c) → NonEmpty a → NonEmpty b → NonEmpty c Source #

(*>) ∷ NonEmpty a → NonEmpty b → NonEmpty b Source #

(<*) ∷ NonEmpty a → NonEmpty b → NonEmpty a Source #

Functor NonEmpty

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

fmap ∷ (a → b) → NonEmpty a → NonEmpty b Source #

(<$) ∷ a → NonEmpty b → NonEmpty a Source #

Monad NonEmpty

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

(>>=) ∷ NonEmpty a → (a → NonEmpty b) → NonEmpty b Source #

(>>) ∷ NonEmpty a → NonEmpty b → NonEmpty b Source #

return ∷ a → NonEmpty a Source #

NFData1 NonEmpty

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf ∷ (a → ()) → NonEmpty a → () Source #

Hashable1 NonEmpty

Since: hashable-1.3.1.0

Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt ∷ (Int → a → Int) → Int → NonEmpty a → Int Source #

GetAddrInfo NonEmpty 
Instance details

Defined in Network.Socket.Info

Methods

getAddrInfo ∷ Maybe AddrInfo → Maybe HostName → Maybe ServiceName → IO (NonEmpty AddrInfo)

Traversable1 NonEmpty 
Instance details

Defined in Data.Semigroup.Traversable.Class

Methods

traverse1 ∷ Apply f ⇒ (a → f b) → NonEmpty a → f (NonEmpty b) Source #

sequence1 ∷ Apply f ⇒ NonEmpty (f b) → f (NonEmpty b) Source #

Generic1 NonEmpty 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 NonEmpty ∷ k → Type Source #

Methods

from1 ∷ ∀ (a ∷ k). NonEmpty a → Rep1 NonEmpty a Source #

to1 ∷ ∀ (a ∷ k). Rep1 NonEmpty a → NonEmpty a Source #

Foldable1WithIndex Int NonEmpty 
Instance details

Defined in WithIndex

Methods

ifoldMap1 ∷ Semigroup m ⇒ (Int → a → m) → NonEmpty a → m

ifoldMap1' ∷ Semigroup m ⇒ (Int → a → m) → NonEmpty a → m

ifoldrMap1 ∷ (Int → a → b) → (Int → a → b → b) → NonEmpty a → b

ifoldlMap1' ∷ (Int → a → b) → (Int → b → a → b) → NonEmpty a → b

ifoldlMap1 ∷ (Int → a → b) → (Int → b → a → b) → NonEmpty a → b

ifoldrMap1' ∷ (Int → a → b) → (Int → a → b → b) → NonEmpty a → b

FoldableWithIndex Int NonEmpty 
Instance details

Defined in WithIndex

Methods

ifoldMap ∷ Monoid m ⇒ (Int → a → m) → NonEmpty a → m

ifoldMap' ∷ Monoid m ⇒ (Int → a → m) → NonEmpty a → m

ifoldr ∷ (Int → a → b → b) → b → NonEmpty a → b

ifoldl ∷ (Int → b → a → b) → b → NonEmpty a → b

ifoldr' ∷ (Int → a → b → b) → b → NonEmpty a → b

ifoldl' ∷ (Int → b → a → b) → b → NonEmpty a → b

FunctorWithIndex Int NonEmpty 
Instance details

Defined in WithIndex

Methods

imap ∷ (Int → a → b) → NonEmpty a → NonEmpty b

TraversableWithIndex Int NonEmpty 
Instance details

Defined in WithIndex

Methods

itraverse ∷ Applicative f ⇒ (Int → a → f b) → NonEmpty a → f (NonEmpty b)

PrettyAnn ann a ⇒ PrettyAnn ann (NonEmpty a)

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

prettyAnn ∷ NonEmpty a → Doc ann Source #

prettyAnnList ∷ [NonEmpty a] → Doc ann Source #

PrettyBy config a ⇒ DefaultPrettyBy config (NonEmpty a) 
Instance details

Defined in Text.PrettyBy.Internal

Methods

defaultPrettyBy ∷ config → NonEmpty a → Doc ann Source #

defaultPrettyListBy ∷ config → [NonEmpty a] → Doc ann Source #

PrettyDefaultBy config (NonEmpty a) ⇒ PrettyBy config (NonEmpty a)

prettyBy for NonEmpty a is defined in terms of prettyListBy by default.

>>> prettyBy () (True :| [False])
[True, False]
>>> prettyBy () ('a' :| "bc")
abc
>>> prettyBy () (Just False :| [Nothing, Just True])
[False, True]
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → NonEmpty a → Doc ann Source #

prettyListBy ∷ config → [NonEmpty a] → Doc ann Source #

Lift a ⇒ Lift (NonEmpty a ∷ Type)

Since: template-haskell-2.15.0.0

Instance details

Defined in Language.Haskell.TH.Syntax

Methods

lift ∷ Quote m ⇒ NonEmpty a → m Exp Source #

liftTyped ∷ ∀ (m ∷ Type → Type). Quote m ⇒ NonEmpty a → Code m (NonEmpty a) Source #

FromJSON a ⇒ FromJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON a ⇒ ToJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Data a ⇒ Data (NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → NonEmpty a → c (NonEmpty a) Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c (NonEmpty a) Source #

toConstr ∷ NonEmpty a → Constr Source #

dataTypeOf ∷ NonEmpty a → DataType Source #

dataCast1 ∷ Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c (NonEmpty a)) Source #

dataCast2 ∷ Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c (NonEmpty a)) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → NonEmpty a → NonEmpty a Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → NonEmpty a → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → NonEmpty a → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → NonEmpty a → [u] Source #

gmapQi ∷ Int → (∀ d. Data d ⇒ d → u) → NonEmpty a → u Source #

gmapM ∷ Monad m ⇒ (∀ d. Data d ⇒ d → m d) → NonEmpty a → m (NonEmpty a) Source #

gmapMp ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → NonEmpty a → m (NonEmpty a) Source #

gmapMo ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → NonEmpty a → m (NonEmpty a) Source #

Semigroup (NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

(<>) ∷ NonEmpty a → NonEmpty a → NonEmpty a Source #

sconcat ∷ NonEmpty (NonEmpty a) → NonEmpty a Source #

stimes ∷ Integral b ⇒ b → NonEmpty a → NonEmpty a Source #

Generic (NonEmpty a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (NonEmpty a) ∷ Type → Type Source #

Methods

from ∷ NonEmpty a → Rep (NonEmpty a) x Source #

to ∷ Rep (NonEmpty a) x → NonEmpty a Source #

IsList (NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.IsList

Associated Types

type Item (NonEmpty a) Source #

Methods

fromList ∷ [Item (NonEmpty a)] → NonEmpty a Source #

fromListN ∷ Int → [Item (NonEmpty a)] → NonEmpty a Source #

toList ∷ NonEmpty a → [Item (NonEmpty a)] Source #

Read a ⇒ Read (NonEmpty a)

Since: base-4.11.0.0

Instance details

Defined in GHC.Read

Show a ⇒ Show (NonEmpty a)

Since: base-4.11.0.0

Instance details

Defined in GHC.Show

NFData a ⇒ NFData (NonEmpty a)

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ NonEmpty a → () Source #

Eq a ⇒ Eq (NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

(==) ∷ NonEmpty a → NonEmpty a → Bool Source #

(/=) ∷ NonEmpty a → NonEmpty a → Bool Source #

Ord a ⇒ Ord (NonEmpty a)

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

compare ∷ NonEmpty a → NonEmpty a → Ordering Source #

(<) ∷ NonEmpty a → NonEmpty a → Bool Source #

(<=) ∷ NonEmpty a → NonEmpty a → Bool Source #

(>) ∷ NonEmpty a → NonEmpty a → Bool Source #

(>=) ∷ NonEmpty a → NonEmpty a → Bool Source #

max ∷ NonEmpty a → NonEmpty a → NonEmpty a Source #

min ∷ NonEmpty a → NonEmpty a → NonEmpty a Source #

Hashable a ⇒ Hashable (NonEmpty a) 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt ∷ Int → NonEmpty a → Int Source #

hash ∷ NonEmpty a → Int Source #

Ixed (NonEmpty a) 
Instance details

Defined in Control.Lens.At

Methods

ix ∷ Index (NonEmpty a) → Traversal' (NonEmpty a) (IxValue (NonEmpty a))

Reversing (NonEmpty a) 
Instance details

Defined in Control.Lens.Internal.Iso

Methods

reversing ∷ NonEmpty a → NonEmpty a

Wrapped (NonEmpty a) 
Instance details

Defined in Control.Lens.Wrapped

Associated Types

type Unwrapped (NonEmpty a)

Methods

_Wrapped' ∷ Iso' (NonEmpty a) (Unwrapped (NonEmpty a))

Ixed (NonEmpty a) 
Instance details

Defined in Lens.Micro.Internal

Methods

ix ∷ Index (NonEmpty a) → Traversal' (NonEmpty a) (IxValue (NonEmpty a)) Source #

GrowingAppend (NonEmpty a) 
Instance details

Defined in Data.MonoTraversable

MonoFoldable (NonEmpty a) 
Instance details

Defined in Data.MonoTraversable

Methods

ofoldMap ∷ Monoid m ⇒ (Element (NonEmpty a) → m) → NonEmpty a → m Source #

ofoldr ∷ (Element (NonEmpty a) → b → b) → b → NonEmpty a → b Source #

ofoldl' ∷ (a0 → Element (NonEmpty a) → a0) → a0 → NonEmpty a → a0 Source #

otoList ∷ NonEmpty a → [Element (NonEmpty a)] Source #

oall ∷ (Element (NonEmpty a) → Bool) → NonEmpty a → Bool Source #

oany ∷ (Element (NonEmpty a) → Bool) → NonEmpty a → Bool Source #

onull ∷ NonEmpty a → Bool Source #

olength ∷ NonEmpty a → Int Source #

olength64 ∷ NonEmpty a → Int64 Source #

ocompareLength ∷ Integral i ⇒ NonEmpty a → i → Ordering Source #

otraverse_ ∷ Applicative f ⇒ (Element (NonEmpty a) → f b) → NonEmpty a → f () Source #

ofor_ ∷ Applicative f ⇒ NonEmpty a → (Element (NonEmpty a) → f b) → f () Source #

omapM_ ∷ Applicative m ⇒ (Element (NonEmpty a) → m ()) → NonEmpty a → m () Source #

oforM_ ∷ Applicative m ⇒ NonEmpty a → (Element (NonEmpty a) → m ()) → m () Source #

ofoldlM ∷ Monad m ⇒ (a0 → Element (NonEmpty a) → m a0) → a0 → NonEmpty a → m a0 Source #

ofoldMap1Ex ∷ Semigroup m ⇒ (Element (NonEmpty a) → m) → NonEmpty a → m Source #

ofoldr1Ex ∷ (Element (NonEmpty a) → Element (NonEmpty a) → Element (NonEmpty a)) → NonEmpty a → Element (NonEmpty a) Source #

ofoldl1Ex' ∷ (Element (NonEmpty a) → Element (NonEmpty a) → Element (NonEmpty a)) → NonEmpty a → Element (NonEmpty a) Source #

headEx ∷ NonEmpty a → Element (NonEmpty a) Source #

lastEx ∷ NonEmpty a → Element (NonEmpty a) Source #

unsafeHead ∷ NonEmpty a → Element (NonEmpty a) Source #

unsafeLast ∷ NonEmpty a → Element (NonEmpty a) Source #

maximumByEx ∷ (Element (NonEmpty a) → Element (NonEmpty a) → Ordering) → NonEmpty a → Element (NonEmpty a) Source #

minimumByEx ∷ (Element (NonEmpty a) → Element (NonEmpty a) → Ordering) → NonEmpty a → Element (NonEmpty a) Source #

oelem ∷ Element (NonEmpty a) → NonEmpty a → Bool Source #

onotElem ∷ Element (NonEmpty a) → NonEmpty a → Bool Source #

MonoFunctor (NonEmpty a) 
Instance details

Defined in Data.MonoTraversable

Methods

omap ∷ (Element (NonEmpty a) → Element (NonEmpty a)) → NonEmpty a → NonEmpty a Source #

MonoPointed (NonEmpty a) 
Instance details

Defined in Data.MonoTraversable

Methods

opoint ∷ Element (NonEmpty a) → NonEmpty a Source #

MonoTraversable (NonEmpty a) 
Instance details

Defined in Data.MonoTraversable

Methods

otraverse ∷ Applicative f ⇒ (Element (NonEmpty a) → f (Element (NonEmpty a))) → NonEmpty a → f (NonEmpty a) Source #

omapM ∷ Applicative m ⇒ (Element (NonEmpty a) → m (Element (NonEmpty a))) → NonEmpty a → m (NonEmpty a) Source #

SemiSequence (NonEmpty a) 
Instance details

Defined in Data.Sequences

Associated Types

type Index (NonEmpty a) Source #

NoThunks a ⇒ NoThunks (NonEmpty a) 
Instance details

Defined in NoThunks.Class

Pretty a ⇒ Pretty (NonEmpty a) 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ NonEmpty a → Doc ann Source #

prettyList ∷ [NonEmpty a] → Doc ann Source #

Corecursive (NonEmpty a) 
Instance details

Defined in Data.Functor.Foldable

Methods

embed ∷ Base (NonEmpty a) (NonEmpty a) → NonEmpty a Source #

ana ∷ (a0 → Base (NonEmpty a) a0) → a0 → NonEmpty a Source #

apo ∷ (a0 → Base (NonEmpty a) (Either (NonEmpty a) a0)) → a0 → NonEmpty a Source #

postpro ∷ Recursive (NonEmpty a) ⇒ (∀ b. Base (NonEmpty a) b → Base (NonEmpty a) b) → (a0 → Base (NonEmpty a) a0) → a0 → NonEmpty a Source #

gpostpro ∷ (Recursive (NonEmpty a), Monad m) ⇒ (∀ b. m (Base (NonEmpty a) b) → Base (NonEmpty a) (m b)) → (∀ c. Base (NonEmpty a) c → Base (NonEmpty a) c) → (a0 → Base (NonEmpty a) (m a0)) → a0 → NonEmpty a Source #

Recursive (NonEmpty a) 
Instance details

Defined in Data.Functor.Foldable

Methods

project ∷ NonEmpty a → Base (NonEmpty a) (NonEmpty a) Source #

cata ∷ (Base (NonEmpty a) a0 → a0) → NonEmpty a → a0 Source #

para ∷ (Base (NonEmpty a) (NonEmpty a, a0) → a0) → NonEmpty a → a0 Source #

gpara ∷ (Corecursive (NonEmpty a), Comonad w) ⇒ (∀ b. Base (NonEmpty a) (w b) → w (Base (NonEmpty a) b)) → (Base (NonEmpty a) (EnvT (NonEmpty a) w a0) → a0) → NonEmpty a → a0 Source #

prepro ∷ Corecursive (NonEmpty a) ⇒ (∀ b. Base (NonEmpty a) b → Base (NonEmpty a) b) → (Base (NonEmpty a) a0 → a0) → NonEmpty a → a0 Source #

gprepro ∷ (Corecursive (NonEmpty a), Comonad w) ⇒ (∀ b. Base (NonEmpty a) (w b) → w (Base (NonEmpty a) b)) → (∀ c. Base (NonEmpty a) c → Base (NonEmpty a) c) → (Base (NonEmpty a) (w a0) → a0) → NonEmpty a → a0 Source #

Serialise a ⇒ Serialise (NonEmpty a)

Since: serialise-0.2.0.0

Instance details

Defined in Codec.Serialise.Class

Pretty a ⇒ Pretty (NonEmpty a) 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Methods

pretty ∷ NonEmpty a → Doc b

prettyList ∷ [NonEmpty a] → Doc b

t ~ NonEmpty b ⇒ Rewrapped (NonEmpty a) t 
Instance details

Defined in Control.Lens.Wrapped

Reference n t ⇒ Reference (NonEmpty n) t Source # 
Instance details

Defined in PlutusCore.Check.Scoping

Methods

referenceVia ∷ (∀ name. ToScopedName name ⇒ name → NameAnn) → NonEmpty n → t NameAnn → t NameAnn Source #

Each (NonEmpty a) (NonEmpty b) a b 
Instance details

Defined in Control.Lens.Each

Methods

each ∷ Traversal (NonEmpty a) (NonEmpty b) a b

Each (NonEmpty a) (NonEmpty b) a b 
Instance details

Defined in Lens.Micro.Internal

Methods

each ∷ Traversal (NonEmpty a) (NonEmpty b) a b Source #

type Rep1 NonEmpty

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

type Rep (NonEmpty a)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

type Item (NonEmpty a) 
Instance details

Defined in GHC.IsList

type Item (NonEmpty a) = a
type Index (NonEmpty a) 
Instance details

Defined in Control.Lens.At

type Index (NonEmpty a) = Int
type IxValue (NonEmpty a) 
Instance details

Defined in Control.Lens.At

type IxValue (NonEmpty a) = a
type Unwrapped (NonEmpty a) 
Instance details

Defined in Control.Lens.Wrapped

type Unwrapped (NonEmpty a) = (a, [a])
type Index (NonEmpty a) 
Instance details

Defined in Lens.Micro.Internal

type Index (NonEmpty a) = Int
type IxValue (NonEmpty a) 
Instance details

Defined in Lens.Micro.Internal

type IxValue (NonEmpty a) = a
type Element (NonEmpty a) 
Instance details

Defined in Data.MonoTraversable

type Element (NonEmpty a) = a
type Index (NonEmpty a) 
Instance details

Defined in Data.Sequences

type Index (NonEmpty a) = Int
type Base (NonEmpty a) 
Instance details

Defined in Data.Functor.Foldable

type Base (NonEmpty a) = NonEmptyF a

data Word8 Source #

8-bit unsigned integer type

Instances

Instances details
FromJSON Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSONKey Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Data Word8

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → Word8 → c Word8 Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c Word8 Source #

toConstr ∷ Word8 → Constr Source #

dataTypeOf ∷ Word8 → DataType Source #

dataCast1 ∷ Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c Word8) Source #

dataCast2 ∷ Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c Word8) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → Word8 → Word8 Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Word8 → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Word8 → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Word8 → [u] Source #

gmapQi ∷ Int → (∀ d. Data d ⇒ d → u) → Word8 → u Source #

gmapM ∷ Monad m ⇒ (∀ d. Data d ⇒ d → m d) → Word8 → m Word8 Source #

gmapMp ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Word8 → m Word8 Source #

gmapMo ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Word8 → m Word8 Source #

Storable Word8

Since: base-2.1

Instance details

Defined in Foreign.Storable

Methods

sizeOf ∷ Word8 → Int Source #

alignment ∷ Word8 → Int Source #

peekElemOff ∷ Ptr Word8 → Int → IO Word8 Source #

pokeElemOff ∷ Ptr Word8 → Int → Word8 → IO () Source #

peekByteOff ∷ Ptr b → Int → IO Word8 Source #

pokeByteOff ∷ Ptr b → Int → Word8 → IO () Source #

peek ∷ Ptr Word8 → IO Word8 Source #

poke ∷ Ptr Word8 → Word8 → IO () Source #

Bits Word8

Since: base-2.1

Instance details

Defined in GHC.Word

FiniteBits Word8

Since: base-4.6.0.0

Instance details

Defined in GHC.Word

Bounded Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Enum Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Ix Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Num Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Read Word8

Since: base-2.1

Instance details

Defined in GHC.Read

Integral Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Real Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Show Word8

Since: base-2.1

Instance details

Defined in GHC.Word

PrintfArg Word8

Since: base-2.1

Instance details

Defined in Text.Printf

BitOps Word8 
Instance details

Defined in Basement.Bits

Methods

(.&.) ∷ Word8 → Word8 → Word8

(.|.) ∷ Word8 → Word8 → Word8

(.^.) ∷ Word8 → Word8 → Word8

(.<<.) ∷ Word8 → CountOf Bool → Word8

(.>>.) ∷ Word8 → CountOf Bool → Word8

bit ∷ Offset Bool → Word8

isBitSet ∷ Word8 → Offset Bool → Bool

setBit ∷ Word8 → Offset Bool → Word8

clearBit ∷ Word8 → Offset Bool → Word8

FiniteBitsOps Word8 
Instance details

Defined in Basement.Bits

Methods

numberOfBits ∷ Word8 → CountOf Bool

rotateL ∷ Word8 → CountOf Bool → Word8

rotateR ∷ Word8 → CountOf Bool → Word8

popCount ∷ Word8 → CountOf Bool

bitFlip ∷ Word8 → Word8

countLeadingZeros ∷ Word8 → CountOf Bool

countTrailingZeros ∷ Word8 → CountOf Bool

Subtractive Word8 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference Word8

Methods

(-) ∷ Word8 → Word8 → Difference Word8

PrimMemoryComparable Word8 
Instance details

Defined in Basement.PrimType

PrimType Word8 
Instance details

Defined in Basement.PrimType

Associated Types

type PrimSize Word8 ∷ Nat

Methods

primSizeInBytes ∷ Proxy Word8 → CountOf Word8

primShiftToBytes ∷ Proxy Word8 → Int

primBaUIndex ∷ ByteArray# → Offset Word8 → Word8

primMbaURead ∷ PrimMonad prim ⇒ MutableByteArray# (PrimState prim) → Offset Word8 → prim Word8

primMbaUWrite ∷ PrimMonad prim ⇒ MutableByteArray# (PrimState prim) → Offset Word8 → Word8 → prim ()

primAddrIndex ∷ Addr# → Offset Word8 → Word8

primAddrRead ∷ PrimMonad prim ⇒ Addr# → Offset Word8 → prim Word8

primAddrWrite ∷ PrimMonad prim ⇒ Addr# → Offset Word8 → Word8 → prim ()

FromField Word8 
Instance details

Defined in Data.Csv.Conversion

Methods

parseField ∷ Field → Parser Word8

ToField Word8 
Instance details

Defined in Data.Csv.Conversion

Methods

toField ∷ Word8 → Field

Default Word8 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Word8 #

NFData Word8 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Word8 → () Source #

Eq Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Methods

(==) ∷ Word8 → Word8 → Bool Source #

(/=) ∷ Word8 → Word8 → Bool Source #

Ord Word8

Since: base-2.1

Instance details

Defined in GHC.Word

Methods

compare ∷ Word8 → Word8 → Ordering Source #

(<) ∷ Word8 → Word8 → Bool Source #

(<=) ∷ Word8 → Word8 → Bool Source #

(>) ∷ Word8 → Word8 → Bool Source #

(>=) ∷ Word8 → Word8 → Bool Source #

max ∷ Word8 → Word8 → Word8 Source #

min ∷ Word8 → Word8 → Word8 Source #

Hashable Word8 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt ∷ Int → Word8 → Int Source #

hash ∷ Word8 → Int Source #

NoThunks Word8 
Instance details

Defined in NoThunks.Class

ExMemoryUsage Word8 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemoryUsage

Pretty Word8 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Word8 → Doc ann Source #

prettyList ∷ [Word8] → Doc ann Source #

Prim Word8 
Instance details

Defined in Data.Primitive.Types

Uniform Word8 
Instance details

Defined in System.Random.Internal

Methods

uniformM ∷ StatefulGen g m ⇒ g → m Word8 Source #

UniformRange Word8 
Instance details

Defined in System.Random.Internal

Methods

uniformRM ∷ StatefulGen g m ⇒ (Word8, Word8) → g → m Word8 Source #

isInRange ∷ (Word8, Word8) → Word8 → Bool Source #

Serialise Word8

Since: serialise-0.2.0.0

Instance details

Defined in Codec.Serialise.Class

ByteSource Word8 
Instance details

Defined in Data.UUID.Types.Internal.Builder

Methods

(/-/) ∷ ByteSink Word8 g → Word8 → g

Unbox Word8 
Instance details

Defined in Data.Vector.Unboxed.Base

Pretty Word8 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Methods

pretty ∷ Word8 → Doc b

prettyList ∷ [Word8] → Doc b

PrettyAnn ann Word8

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

prettyAnn ∷ Word8 → Doc ann Source #

prettyAnnList ∷ [Word8] → Doc ann Source #

DefaultPrettyBy config Word8 
Instance details

Defined in Text.PrettyBy.Internal

Methods

defaultPrettyBy ∷ config → Word8 → Doc ann Source #

defaultPrettyListBy ∷ config → [Word8] → Doc ann Source #

PrettyDefaultBy config Word8 ⇒ PrettyBy config Word8 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Word8 → Doc ann Source #

prettyListBy ∷ config → [Word8] → Doc ann Source #

Lift Word8 
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

lift ∷ Quote m ⇒ Word8 → m Exp Source #

liftTyped ∷ ∀ (m ∷ Type → Type). Quote m ⇒ Word8 → Code m Word8 Source #

Vector Vector Word8 
Instance details

Defined in Data.Vector.Unboxed.Base

MVector MVector Word8 
Instance details

Defined in Data.Vector.Unboxed.Base

KnownBuiltinTypeIn DefaultUni term Integer ⇒ MakeKnownIn DefaultUni term Word8 Source # 
Instance details

Defined in PlutusCore.Default.Universe

Methods

makeKnown ∷ Word8 → BuiltinResult term Source #

KnownBuiltinTypeIn DefaultUni term Integer ⇒ ReadKnownIn DefaultUni term Word8 Source # 
Instance details

Defined in PlutusCore.Default.Universe

Methods

readKnown ∷ term → ReadKnownM Word8 Source #

Cons ByteString ByteString Word8 Word8 
Instance details

Defined in Control.Lens.Cons

Cons ByteString ByteString Word8 Word8 
Instance details

Defined in Control.Lens.Cons

Snoc ByteString ByteString Word8 Word8 
Instance details

Defined in Control.Lens.Cons

Snoc ByteString ByteString Word8 Word8 
Instance details

Defined in Control.Lens.Cons

KnownTypeAst tyname DefaultUni Word8 Source # 
Instance details

Defined in PlutusCore.Default.Universe

Methods

typeAst ∷ Type tyname DefaultUni () Source #

AsByteString [Word8] 
Instance details

Defined in PlutusCore.Flat.Data.ByteString.Convert

type NatNumMaxBound Word8 
Instance details

Defined in Basement.Nat

type NatNumMaxBound Word8 = 255
type Difference Word8 
Instance details

Defined in Basement.Numerical.Subtractive

type Difference Word8 = Word8
type PrimSize Word8 
Instance details

Defined in Basement.PrimType

type PrimSize Word8 = 1
newtype Vector Word8 
Instance details

Defined in Data.Vector.Unboxed.Base

type ByteSink Word8 g 
Instance details

Defined in Data.UUID.Types.Internal.Builder

type ByteSink Word8 g = Takes1Byte g
newtype MVector s Word8 
Instance details

Defined in Data.Vector.Unboxed.Base

type IsBuiltin DefaultUni Word8 Source # 
Instance details

Defined in PlutusCore.Default.Universe

type ToBinds DefaultUni acc Word8 Source # 
Instance details

Defined in PlutusCore.Default.Universe

type ToHoles DefaultUni hole Word8 Source # 
Instance details

Defined in PlutusCore.Default.Universe

data Word64 Source #

64-bit unsigned integer type

Instances

Instances details
FromJSON Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSONKey Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Data Word64

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → Word64 → c Word64 Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c Word64 Source #

toConstr ∷ Word64 → Constr Source #

dataTypeOf ∷ Word64 → DataType Source #

dataCast1 ∷ Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c Word64) Source #

dataCast2 ∷ Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c Word64) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → Word64 → Word64 Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Word64 → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Word64 → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Word64 → [u] Source #

gmapQi ∷ Int → (∀ d. Data d ⇒ d → u) → Word64 → u Source #

gmapM ∷ Monad m ⇒ (∀ d. Data d ⇒ d → m d) → Word64 → m Word64 Source #

gmapMp ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Word64 → m Word64 Source #

gmapMo ∷ MonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Word64 → m Word64 Source #

Storable Word64

Since: base-2.1

Instance details

Defined in Foreign.Storable

Bits Word64

Since: base-2.1

Instance details

Defined in GHC.Word

FiniteBits Word64

Since: base-4.6.0.0

Instance details

Defined in GHC.Word

Bounded Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Enum Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Ix Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Num Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Read Word64

Since: base-2.1

Instance details

Defined in GHC.Read

Integral Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Real Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Show Word64

Since: base-2.1

Instance details

Defined in GHC.Word

PrintfArg Word64

Since: base-2.1

Instance details

Defined in Text.Printf

BitOps Word64 
Instance details

Defined in Basement.Bits

Methods

(.&.) ∷ Word64 → Word64 → Word64

(.|.) ∷ Word64 → Word64 → Word64

(.^.) ∷ Word64 → Word64 → Word64

(.<<.) ∷ Word64 → CountOf Bool → Word64

(.>>.) ∷ Word64 → CountOf Bool → Word64

bit ∷ Offset Bool → Word64

isBitSet ∷ Word64 → Offset Bool → Bool

setBit ∷ Word64 → Offset Bool → Word64

clearBit ∷ Word64 → Offset Bool → Word64

FiniteBitsOps Word64 
Instance details

Defined in Basement.Bits

Methods

numberOfBits ∷ Word64 → CountOf Bool

rotateL ∷ Word64 → CountOf Bool → Word64

rotateR ∷ Word64 → CountOf Bool → Word64

popCount ∷ Word64 → CountOf Bool

bitFlip ∷ Word64 → Word64

countLeadingZeros ∷ Word64 → CountOf Bool

countTrailingZeros ∷ Word64 → CountOf Bool

Subtractive Word64 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference Word64

Methods

(-) ∷ Word64 → Word64 → Difference Word64

PrimMemoryComparable Word64 
Instance details

Defined in Basement.PrimType

PrimType Word64 
Instance details

Defined in Basement.PrimType

Associated Types

type PrimSize Word64 ∷ Nat

Methods

primSizeInBytes ∷ Proxy Word64 → CountOf Word8

primShiftToBytes ∷ Proxy Word64 → Int

primBaUIndex ∷ ByteArray# → Offset Word64 → Word64

primMbaURead ∷ PrimMonad prim ⇒ MutableByteArray# (PrimState prim) → Offset Word64 → prim Word64

primMbaUWrite ∷ PrimMonad prim ⇒ MutableByteArray# (PrimState prim) → Offset Word64 → Word64 → prim ()

primAddrIndex ∷ Addr# → Offset Word64 → Word64

primAddrRead ∷ PrimMonad prim ⇒ Addr# → Offset Word64 → prim Word64

primAddrWrite ∷ PrimMonad prim ⇒ Addr# → Offset Word64 → Word64 → prim ()

FromField Word64 
Instance details

Defined in Data.Csv.Conversion

Methods

parseField ∷ Field → Parser Word64

ToField Word64 
Instance details

Defined in Data.Csv.Conversion

Methods

toField ∷ Word64 → Field

Default Word64 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Word64 #

NFData Word64 
Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ Word64 → () Source #

Eq Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Methods

(==) ∷ Word64 → Word64 → Bool Source #

(/=) ∷ Word64 → Word64 → Bool Source #

Ord Word64

Since: base-2.1

Instance details

Defined in GHC.Word

Hashable Word64 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt ∷ Int → Word64 → Int Source #

hash ∷ Word64 → Int Source #

NoThunks Word64 
Instance details

Defined in NoThunks.Class

ExMemoryUsage Word64 Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemoryUsage

Pretty Word64 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Word64 → Doc ann Source #

prettyList ∷ [Word64] → Doc ann Source #

Prim Word64 
Instance details

Defined in Data.Primitive.Types

Uniform Word64 
Instance details

Defined in System.Random.Internal

Methods

uniformM ∷ StatefulGen g m ⇒ g → m Word64 Source #

UniformRange Word64 
Instance details

Defined in System.Random.Internal

Methods

uniformRM ∷ StatefulGen g m ⇒ (Word64, Word64) → g → m Word64 Source #

isInRange ∷ (Word64, Word64) → Word64 → Bool Source #

Serialise Word64

Since: serialise-0.2.0.0

Instance details

Defined in Codec.Serialise.Class

ByteSource Word64 
Instance details

Defined in Data.UUID.Types.Internal.Builder

Methods

(/-/) ∷ ByteSink Word64 g → Word64 → g

Unbox Word64 
Instance details

Defined in Data.Vector.Unboxed.Base

Pretty Word64 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Methods

pretty ∷ Word64 → Doc b

prettyList ∷ [Word64] → Doc b

PrettyAnn ann Word64

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

prettyAnn ∷ Word64 → Doc ann Source #

prettyAnnList ∷ [Word64] → Doc ann Source #

DefaultPrettyBy config Word64 
Instance details

Defined in Text.PrettyBy.Internal

Methods

defaultPrettyBy ∷ config → Word64 → Doc ann Source #

defaultPrettyListBy ∷ config → [Word64] → Doc ann Source #

PrettyDefaultBy config Word64 ⇒ PrettyBy config Word64 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Word64 → Doc ann Source #

prettyListBy ∷ config → [Word64] → Doc ann Source #

Lift Word64 
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

lift ∷ Quote m ⇒ Word64 → m Exp Source #

liftTyped ∷ ∀ (m ∷ Type → Type). Quote m ⇒ Word64 → Code m Word64 Source #

Vector Vector Word64 
Instance details

Defined in Data.Vector.Unboxed.Base

MVector MVector Word64 
Instance details

Defined in Data.Vector.Unboxed.Base

KnownBuiltinTypeIn DefaultUni term Integer ⇒ MakeKnownIn DefaultUni term Word64 Source # 
Instance details

Defined in PlutusCore.Default.Universe

Methods

makeKnown ∷ Word64 → BuiltinResult term Source #

KnownBuiltinTypeIn DefaultUni term Integer ⇒ ReadKnownIn DefaultUni term Word64 Source # 
Instance details

Defined in PlutusCore.Default.Universe

Methods

readKnown ∷ term → ReadKnownM Word64 Source #

KnownTypeAst tyname DefaultUni Word64 Source # 
Instance details

Defined in PlutusCore.Default.Universe

Methods

typeAst ∷ Type tyname DefaultUni () Source #

type NatNumMaxBound Word64 
Instance details

Defined in Basement.Nat

type NatNumMaxBound Word64 = 18446744073709551615
type Difference Word64 
Instance details

Defined in Basement.Numerical.Subtractive

type Difference Word64 = Word64
type PrimSize Word64 
Instance details

Defined in Basement.PrimType

type PrimSize Word64 = 8
newtype Vector Word64 
Instance details

Defined in Data.Vector.Unboxed.Base

type ByteSink Word64 g 
Instance details

Defined in Data.UUID.Types.Internal.Builder

type ByteSink Word64 g = Takes8Bytes g
newtype MVector s Word64 
Instance details

Defined in Data.Vector.Unboxed.Base

type IsBuiltin DefaultUni Word64 Source # 
Instance details

Defined in PlutusCore.Default.Universe

type ToBinds DefaultUni acc Word64 Source # 
Instance details

Defined in PlutusCore.Default.Universe

type ToHoles DefaultUni hole Word64 Source # 
Instance details

Defined in PlutusCore.Default.Universe

class Applicative f ⇒ Alternative (f ∷ Type → Type) where Source #

A monoid on applicative functors.

If defined, some and many should be the least solutions of the equations:

Minimal complete definition

empty, (<|>)

Methods

empty ∷ f a Source #

The identity of <|>

(<|>) ∷ f a → f a → f a infixl 3 Source #

An associative binary operation

some ∷ f a → f [a] Source #

One or more.

many ∷ f a → f [a] Source #

Zero or more.

Instances

Instances details
Alternative IResult 
Instance details

Defined in Data.Aeson.Types.Internal

Methods

empty ∷ IResult a Source #

(<|>) ∷ IResult a → IResult a → IResult a Source #

some ∷ IResult a → IResult [a] Source #

many ∷ IResult a → IResult [a] Source #

Alternative Parser 
Instance details

Defined in Data.Aeson.Types.Internal

Methods

empty ∷ Parser a Source #

(<|>) ∷ Parser a → Parser a → Parser a Source #

some ∷ Parser a → Parser [a] Source #

many ∷ Parser a → Parser [a] Source #

Alternative Result 
Instance details

Defined in Data.Aeson.Types.Internal

Methods

empty ∷ Result a Source #

(<|>) ∷ Result a → Result a → Result a Source #

some ∷ Result a → Result [a] Source #

many ∷ Result a → Result [a] Source #

Alternative ZipList

Since: base-4.11.0.0

Instance details

Defined in Control.Applicative

Methods

empty ∷ ZipList a Source #

(<|>) ∷ ZipList a → ZipList a → ZipList a Source #

some ∷ ZipList a → ZipList [a] Source #

many ∷ ZipList a → ZipList [a] Source #

Alternative P

Since: base-4.5.0.0

Instance details

Defined in Text.ParserCombinators.ReadP

Methods

empty ∷ P a Source #

(<|>) ∷ P a → P a → P a Source #

some ∷ P a → P [a] Source #

many ∷ P a → P [a] Source #

Alternative ReadP

Since: base-4.6.0.0

Instance details

Defined in Text.ParserCombinators.ReadP

Methods

empty ∷ ReadP a Source #

(<|>) ∷ ReadP a → ReadP a → ReadP a Source #

some ∷ ReadP a → ReadP [a] Source #

many ∷ ReadP a → ReadP [a] Source #

Alternative ReadPrec

Since: base-4.6.0.0

Instance details

Defined in Text.ParserCombinators.ReadPrec

Methods

empty ∷ ReadPrec a Source #

(<|>) ∷ ReadPrec a → ReadPrec a → ReadPrec a Source #

some ∷ ReadPrec a → ReadPrec [a] Source #

many ∷ ReadPrec a → ReadPrec [a] Source #

Alternative Parser 
Instance details

Defined in Data.Csv.Conversion

Methods

empty ∷ Parser a Source #

(<|>) ∷ Parser a → Parser a → Parser a Source #

some ∷ Parser a → Parser [a] Source #

many ∷ Parser a → Parser [a] Source #

Alternative Seq

Since: containers-0.5.4

Instance details

Defined in Data.Sequence.Internal

Methods

empty ∷ Seq a Source #

(<|>) ∷ Seq a → Seq a → Seq a Source #

some ∷ Seq a → Seq [a] Source #

many ∷ Seq a → Seq [a] Source #

Alternative DList 
Instance details

Defined in Data.DList.Internal

Methods

empty ∷ DList a Source #

(<|>) ∷ DList a → DList a → DList a Source #

some ∷ DList a → DList [a] Source #

many ∷ DList a → DList [a] Source #

Alternative IO

Takes the first non-throwing IO action's result. empty throws an exception.

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

empty ∷ IO a Source #

(<|>) ∷ IO a → IO a → IO a Source #

some ∷ IO a → IO [a] Source #

many ∷ IO a → IO [a] Source #

Alternative EvaluationResult Source # 
Instance details

Defined in PlutusCore.Evaluation.Result

Alternative DecodeUniM Source # 
Instance details

Defined in Universe.Core

Alternative Array 
Instance details

Defined in Data.Primitive.Array

Methods

empty ∷ Array a Source #

(<|>) ∷ Array a → Array a → Array a Source #

some ∷ Array a → Array [a] Source #

many ∷ Array a → Array [a] Source #

Alternative SmallArray 
Instance details

Defined in Data.Primitive.SmallArray

Alternative Vector 
Instance details

Defined in Data.Vector

Methods

empty ∷ Vector a Source #

(<|>) ∷ Vector a → Vector a → Vector a Source #

some ∷ Vector a → Vector [a] Source #

many ∷ Vector a → Vector [a] Source #

Alternative Vector 
Instance details

Defined in Data.Vector.Strict

Methods

empty ∷ Vector a Source #

(<|>) ∷ Vector a → Vector a → Vector a Source #

some ∷ Vector a → Vector [a] Source #

many ∷ Vector a → Vector [a] Source #

Alternative Maybe

Picks the leftmost Just value, or, alternatively, Nothing.

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

empty ∷ Maybe a Source #

(<|>) ∷ Maybe a → Maybe a → Maybe a Source #

some ∷ Maybe a → Maybe [a] Source #

many ∷ Maybe a → Maybe [a] Source #

Alternative List

Combines lists by concatenation, starting from the empty list.

Since: base-2.1

Instance details

Defined in GHC.Base

Methods

empty ∷ [a] Source #

(<|>) ∷ [a] → [a] → [a] Source #

some ∷ [a] → [[a]] Source #

many ∷ [a] → [[a]] Source #

Alternative (Parser i) 
Instance details

Defined in Data.Attoparsec.Internal.Types

Methods

empty ∷ Parser i a Source #

(<|>) ∷ Parser i a → Parser i a → Parser i a Source #

some ∷ Parser i a → Parser i [a] Source #

many ∷ Parser i a → Parser i [a] Source #

MonadPlus m ⇒ Alternative (WrappedMonad m)

Since: base-2.1

Instance details

Defined in Control.Applicative

ArrowPlus a ⇒ Alternative (ArrowMonad a)

Since: base-4.6.0.0

Instance details

Defined in Control.Arrow

Methods

empty ∷ ArrowMonad a a0 Source #

(<|>) ∷ ArrowMonad a a0 → ArrowMonad a a0 → ArrowMonad a a0 Source #

some ∷ ArrowMonad a a0 → ArrowMonad a [a0] Source #

many ∷ ArrowMonad a a0 → ArrowMonad a [a0] Source #

Alternative (Proxy ∷ Type → Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Methods

empty ∷ Proxy a Source #

(<|>) ∷ Proxy a → Proxy a → Proxy a Source #

some ∷ Proxy a → Proxy [a] Source #

many ∷ Proxy a → Proxy [a] Source #

Alternative (U1 ∷ Type → Type)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

empty ∷ U1 a Source #

(<|>) ∷ U1 a → U1 a → U1 a Source #

some ∷ U1 a → U1 [a] Source #

many ∷ U1 a → U1 [a] Source #

Alternative v ⇒ Alternative (Free v)

This violates the Alternative laws, handle with care.

Instance details

Defined in Control.Monad.Free

Methods

empty ∷ Free v a Source #

(<|>) ∷ Free v a → Free v a → Free v a Source #

some ∷ Free v a → Free v [a] Source #

many ∷ Free v a → Free v [a] Source #

Monad m ⇒ Alternative (GenT m) 
Instance details

Defined in Hedgehog.Internal.Gen

Methods

empty ∷ GenT m a Source #

(<|>) ∷ GenT m a → GenT m a → GenT m a Source #

some ∷ GenT m a → GenT m [a] Source #

many ∷ GenT m a → GenT m [a] Source #

MonadPlus m ⇒ Alternative (PropertyT m) 
Instance details

Defined in Hedgehog.Internal.Property

Methods

empty ∷ PropertyT m a Source #

(<|>) ∷ PropertyT m a → PropertyT m a → PropertyT m a Source #

some ∷ PropertyT m a → PropertyT m [a] Source #

many ∷ PropertyT m a → PropertyT m [a] Source #

Alternative m ⇒ Alternative (TreeT m) 
Instance details

Defined in Hedgehog.Internal.Tree

Methods

empty ∷ TreeT m a Source #

(<|>) ∷ TreeT m a → TreeT m a → TreeT m a Source #

some ∷ TreeT m a → TreeT m [a] Source #

many ∷ TreeT m a → TreeT m [a] Source #

Alternative f ⇒ Alternative (Yoneda f) 
Instance details

Defined in Data.Functor.Yoneda

Methods

empty ∷ Yoneda f a Source #

(<|>) ∷ Yoneda f a → Yoneda f a → Yoneda f a Source #

some ∷ Yoneda f a → Yoneda f [a] Source #

many ∷ Yoneda f a → Yoneda f [a] Source #

Alternative (ReifiedFold s) 
Instance details

Defined in Control.Lens.Reified

Methods

empty ∷ ReifiedFold s a Source #

(<|>) ∷ ReifiedFold s a → ReifiedFold s a → ReifiedFold s a Source #

some ∷ ReifiedFold s a → ReifiedFold s [a] Source #

many ∷ ReifiedFold s a → ReifiedFold s [a] Source #

(Monad m, Functor m) ⇒ Alternative (ListT m) 
Instance details

Defined in ListT

Methods

empty ∷ ListT m a Source #

(<|>) ∷ ListT m a → ListT m a → ListT m a Source #

some ∷ ListT m a → ListT m [a] Source #

many ∷ ListT m a → ListT m [a] Source #

Alternative m ⇒ Alternative (ResourceT m) 
Instance details

Defined in Control.Monad.Trans.Resource.Internal

Methods

empty ∷ ResourceT m a Source #

(<|>) ∷ ResourceT m a → ResourceT m a → ResourceT m a Source #

some ∷ ResourceT m a → ResourceT m [a] Source #

many ∷ ResourceT m a → ResourceT m [a] Source #

Alternative f ⇒ Alternative (Lift f)

A combination is Pure only either part is.

Instance details

Defined in Control.Applicative.Lift

Methods

empty ∷ Lift f a Source #

(<|>) ∷ Lift f a → Lift f a → Lift f a Source #

some ∷ Lift f a → Lift f [a] Source #

many ∷ Lift f a → Lift f [a] Source #

(Functor m, Monad m) ⇒ Alternative (MaybeT m) 
Instance details

Defined in Control.Monad.Trans.Maybe

Methods

empty ∷ MaybeT m a Source #

(<|>) ∷ MaybeT m a → MaybeT m a → MaybeT m a Source #

some ∷ MaybeT m a → MaybeT m [a] Source #

many ∷ MaybeT m a → MaybeT m [a] Source #

(ArrowZero a, ArrowPlus a) ⇒ Alternative (WrappedArrow a b)

Since: base-2.1

Instance details

Defined in Control.Applicative

Methods

empty ∷ WrappedArrow a b a0 Source #

(<|>) ∷ WrappedArrow a b a0 → WrappedArrow a b a0 → WrappedArrow a b a0 Source #

some ∷ WrappedArrow a b a0 → WrappedArrow a b [a0] Source #

many ∷ WrappedArrow a b a0 → WrappedArrow a b [a0] Source #

Alternative m ⇒ Alternative (Kleisli m a)

Since: base-4.14.0.0

Instance details

Defined in Control.Arrow

Methods

empty ∷ Kleisli m a a0 Source #

(<|>) ∷ Kleisli m a a0 → Kleisli m a a0 → Kleisli m a a0 Source #

some ∷ Kleisli m a a0 → Kleisli m a [a0] Source #

many ∷ Kleisli m a a0 → Kleisli m a [a0] Source #

Alternative f ⇒ Alternative (Ap f)

Since: base-4.12.0.0

Instance details

Defined in Data.Monoid

Methods

empty ∷ Ap f a Source #

(<|>) ∷ Ap f a → Ap f a → Ap f a Source #

some ∷ Ap f a → Ap f [a] Source #

many ∷ Ap f a → Ap f [a] Source #

Alternative f ⇒ Alternative (Alt f)

Since: base-4.8.0.0

Instance details

Defined in Data.Semigroup.Internal

Methods

empty ∷ Alt f a Source #

(<|>) ∷ Alt f a → Alt f a → Alt f a Source #

some ∷ Alt f a → Alt f [a] Source #

many ∷ Alt f a → Alt f [a] Source #

(Generic1 f, Alternative (Rep1 f)) ⇒ Alternative (Generically1 f)

Since: base-4.17.0.0

Instance details

Defined in GHC.Generics

Alternative f ⇒ Alternative (Rec1 f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

empty ∷ Rec1 f a Source #

(<|>) ∷ Rec1 f a → Rec1 f a → Rec1 f a Source #

some ∷ Rec1 f a → Rec1 f [a] Source #

many ∷ Rec1 f a → Rec1 f [a] Source #

(Functor f, MonadPlus m) ⇒ Alternative (FreeT f m) 
Instance details

Defined in Control.Monad.Trans.Free

Methods

empty ∷ FreeT f m a Source #

(<|>) ∷ FreeT f m a → FreeT f m a → FreeT f m a Source #

some ∷ FreeT f m a → FreeT f m [a] Source #

many ∷ FreeT f m a → FreeT f m [a] Source #

Alternative m ⇒ Alternative (RenameT ren m) Source # 
Instance details

Defined in PlutusCore.Rename.Monad

Methods

empty ∷ RenameT ren m a Source #

(<|>) ∷ RenameT ren m a → RenameT ren m a → RenameT ren m a Source #

some ∷ RenameT ren m a → RenameT ren m [a] Source #

many ∷ RenameT ren m a → RenameT ren m [a] Source #

(Profunctor p, ArrowPlus p) ⇒ Alternative (Closure p a) 
Instance details

Defined in Data.Profunctor.Closed

Methods

empty ∷ Closure p a a0 Source #

(<|>) ∷ Closure p a a0 → Closure p a a0 → Closure p a a0 Source #

some ∷ Closure p a a0 → Closure p a [a0] Source #

many ∷ Closure p a a0 → Closure p a [a0] Source #

(Profunctor p, ArrowPlus p) ⇒ Alternative (Tambara p a) 
Instance details

Defined in Data.Profunctor.Strong

Methods

empty ∷ Tambara p a a0 Source #

(<|>) ∷ Tambara p a a0 → Tambara p a a0 → Tambara p a a0 Source #

some ∷ Tambara p a a0 → Tambara p a [a0] Source #

many ∷ Tambara p a a0 → Tambara p a [a0] Source #

Alternative f ⇒ Alternative (Backwards f)

Try alternatives in the same order as f.

Instance details

Defined in Control.Applicative.Backwards

Methods

empty ∷ Backwards f a Source #

(<|>) ∷ Backwards f a → Backwards f a → Backwards f a Source #

some ∷ Backwards f a → Backwards f [a] Source #

many ∷ Backwards f a → Backwards f [a] Source #

(Monoid w, Functor m, MonadPlus m) ⇒ Alternative (AccumT w m) 
Instance details

Defined in Control.Monad.Trans.Accum

Methods

empty ∷ AccumT w m a Source #

(<|>) ∷ AccumT w m a → AccumT w m a → AccumT w m a Source #

some ∷ AccumT w m a → AccumT w m [a] Source #

many ∷ AccumT w m a → AccumT w m [a] Source #

(Functor m, Monad m, Monoid e) ⇒ Alternative (ExceptT e m) 
Instance details

Defined in Control.Monad.Trans.Except

Methods

empty ∷ ExceptT e m a Source #

(<|>) ∷ ExceptT e m a → ExceptT e m a → ExceptT e m a Source #

some ∷ ExceptT e m a → ExceptT e m [a] Source #

many ∷ ExceptT e m a → ExceptT e m [a] Source #

Alternative m ⇒ Alternative (IdentityT m) 
Instance details

Defined in Control.Monad.Trans.Identity

Methods

empty ∷ IdentityT m a Source #

(<|>) ∷ IdentityT m a → IdentityT m a → IdentityT m a Source #

some ∷ IdentityT m a → IdentityT m [a] Source #

many ∷ IdentityT m a → IdentityT m [a] Source #

Alternative m ⇒ Alternative (ReaderT r m) 
Instance details

Defined in Control.Monad.Trans.Reader

Methods

empty ∷ ReaderT r m a Source #

(<|>) ∷ ReaderT r m a → ReaderT r m a → ReaderT r m a Source #

some ∷ ReaderT r m a → ReaderT r m [a] Source #

many ∷ ReaderT r m a → ReaderT r m [a] Source #

(Functor m, MonadPlus m) ⇒ Alternative (SelectT r m) 
Instance details

Defined in Control.Monad.Trans.Select

Methods

empty ∷ SelectT r m a Source #

(<|>) ∷ SelectT r m a → SelectT r m a → SelectT r m a Source #

some ∷ SelectT r m a → SelectT r m [a] Source #

many ∷ SelectT r m a → SelectT r m [a] Source #

(Functor m, MonadPlus m) ⇒ Alternative (StateT s m) 
Instance details

Defined in Control.Monad.Trans.State.Lazy

Methods

empty ∷ StateT s m a Source #

(<|>) ∷ StateT s m a → StateT s m a → StateT s m a Source #

some ∷ StateT s m a → StateT s m [a] Source #

many ∷ StateT s m a → StateT s m [a] Source #

(Functor m, MonadPlus m) ⇒ Alternative (StateT s m) 
Instance details

Defined in Control.Monad.Trans.State.Strict

Methods

empty ∷ StateT s m a Source #

(<|>) ∷ StateT s m a → StateT s m a → StateT s m a Source #

some ∷ StateT s m a → StateT s m [a] Source #

many ∷ StateT s m a → StateT s m [a] Source #

(Functor m, MonadPlus m) ⇒ Alternative (WriterT w m) 
Instance details

Defined in Control.Monad.Trans.Writer.CPS

Methods

empty ∷ WriterT w m a Source #

(<|>) ∷ WriterT w m a → WriterT w m a → WriterT w m a Source #

some ∷ WriterT w m a → WriterT w m [a] Source #

many ∷ WriterT w m a → WriterT w m [a] Source #

(Monoid w, Alternative m) ⇒ Alternative (WriterT w m) 
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

Methods

empty ∷ WriterT w m a Source #

(<|>) ∷ WriterT w m a → WriterT w m a → WriterT w m a Source #

some ∷ WriterT w m a → WriterT w m [a] Source #

many ∷ WriterT w m a → WriterT w m [a] Source #

(Monoid w, Alternative m) ⇒ Alternative (WriterT w m) 
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Methods

empty ∷ WriterT w m a Source #

(<|>) ∷ WriterT w m a → WriterT w m a → WriterT w m a Source #

some ∷ WriterT w m a → WriterT w m [a] Source #

many ∷ WriterT w m a → WriterT w m [a] Source #

Alternative f ⇒ Alternative (Reverse f)

Derived instance.

Instance details

Defined in Data.Functor.Reverse

Methods

empty ∷ Reverse f a Source #

(<|>) ∷ Reverse f a → Reverse f a → Reverse f a Source #

some ∷ Reverse f a → Reverse f [a] Source #

many ∷ Reverse f a → Reverse f [a] Source #

(Alternative f, Alternative g) ⇒ Alternative (Product f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

Methods

empty ∷ Product f g a Source #

(<|>) ∷ Product f g a → Product f g a → Product f g a Source #

some ∷ Product f g a → Product f g [a] Source #

many ∷ Product f g a → Product f g [a] Source #

(Alternative f, Alternative g) ⇒ Alternative (f :*: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

empty ∷ (f :*: g) a Source #

(<|>) ∷ (f :*: g) a → (f :*: g) a → (f :*: g) a Source #

some ∷ (f :*: g) a → (f :*: g) [a] Source #

many ∷ (f :*: g) a → (f :*: g) [a] Source #

(Ord e, Stream s) ⇒ Alternative (ParsecT e s m)

empty is a parser that fails without consuming input.

Instance details

Defined in Text.Megaparsec.Internal

Methods

empty ∷ ParsecT e s m a Source #

(<|>) ∷ ParsecT e s m a → ParsecT e s m a → ParsecT e s m a Source #

some ∷ ParsecT e s m a → ParsecT e s m [a] Source #

many ∷ ParsecT e s m a → ParsecT e s m [a] Source #

Alternative f ⇒ Alternative (Star f a) 
Instance details

Defined in Data.Profunctor.Types

Methods

empty ∷ Star f a a0 Source #

(<|>) ∷ Star f a a0 → Star f a a0 → Star f a a0 Source #

some ∷ Star f a a0 → Star f a [a0] Source #

many ∷ Star f a a0 → Star f a [a0] Source #

(Alternative f, Applicative g) ⇒ Alternative (Compose f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

Methods

empty ∷ Compose f g a Source #

(<|>) ∷ Compose f g a → Compose f g a → Compose f g a Source #

some ∷ Compose f g a → Compose f g [a] Source #

many ∷ Compose f g a → Compose f g [a] Source #

(Alternative f, Applicative g) ⇒ Alternative (f :.: g)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

empty ∷ (f :.: g) a Source #

(<|>) ∷ (f :.: g) a → (f :.: g) a → (f :.: g) a Source #

some ∷ (f :.: g) a → (f :.: g) [a] Source #

many ∷ (f :.: g) a → (f :.: g) [a] Source #

Alternative f ⇒ Alternative (M1 i c f)

Since: base-4.9.0.0

Instance details

Defined in GHC.Generics

Methods

empty ∷ M1 i c f a Source #

(<|>) ∷ M1 i c f a → M1 i c f a → M1 i c f a Source #

some ∷ M1 i c f a → M1 i c f [a] Source #

many ∷ M1 i c f a → M1 i c f [a] Source #

Alternative m ⇒ Alternative (NormalizeTypeT m tyname uni ann) Source # 
Instance details

Defined in PlutusCore.Normalize.Internal

Methods

empty ∷ NormalizeTypeT m tyname uni ann a Source #

(<|>) ∷ NormalizeTypeT m tyname uni ann a → NormalizeTypeT m tyname uni ann a → NormalizeTypeT m tyname uni ann a Source #

some ∷ NormalizeTypeT m tyname uni ann a → NormalizeTypeT m tyname uni ann [a] Source #

many ∷ NormalizeTypeT m tyname uni ann a → NormalizeTypeT m tyname uni ann [a] Source #

(Functor m, MonadPlus m) ⇒ Alternative (RWST r w s m) 
Instance details

Defined in Control.Monad.Trans.RWS.CPS

Methods

empty ∷ RWST r w s m a Source #

(<|>) ∷ RWST r w s m a → RWST r w s m a → RWST r w s m a Source #

some ∷ RWST r w s m a → RWST r w s m [a] Source #

many ∷ RWST r w s m a → RWST r w s m [a] Source #

(Monoid w, Functor m, MonadPlus m) ⇒ Alternative (RWST r w s m) 
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

Methods

empty ∷ RWST r w s m a Source #

(<|>) ∷ RWST r w s m a → RWST r w s m a → RWST r w s m a Source #

some ∷ RWST r w s m a → RWST r w s m [a] Source #

many ∷ RWST r w s m a → RWST r w s m [a] Source #

(Monoid w, Functor m, MonadPlus m) ⇒ Alternative (RWST r w s m) 
Instance details

Defined in Control.Monad.Trans.RWS.Strict

Methods

empty ∷ RWST r w s m a Source #

(<|>) ∷ RWST r w s m a → RWST r w s m a → RWST r w s m a Source #

some ∷ RWST r w s m a → RWST r w s m [a] Source #

many ∷ RWST r w s m a → RWST r w s m [a] Source #

class (Typeable e, Show e) ⇒ Exception e Source #

Any type that you wish to throw or catch as an exception must be an instance of the Exception class. The simplest case is a new exception type directly below the root:

data MyException = ThisException | ThatException
    deriving Show

instance Exception MyException

The default method definitions in the Exception class do what we need in this case. You can now throw and catch ThisException and ThatException as exceptions:

*Main> throw ThisException `catch` \e -> putStrLn ("Caught " ++ show (e :: MyException))
Caught ThisException

In more complicated examples, you may wish to define a whole hierarchy of exceptions:

---------------------------------------------------------------------
-- Make the root exception type for all the exceptions in a compiler

data SomeCompilerException = forall e . Exception e => SomeCompilerException e

instance Show SomeCompilerException where
    show (SomeCompilerException e) = show e

instance Exception SomeCompilerException

compilerExceptionToException :: Exception e => e -> SomeException
compilerExceptionToException = toException . SomeCompilerException

compilerExceptionFromException :: Exception e => SomeException -> Maybe e
compilerExceptionFromException x = do
    SomeCompilerException a <- fromException x
    cast a

---------------------------------------------------------------------
-- Make a subhierarchy for exceptions in the frontend of the compiler

data SomeFrontendException = forall e . Exception e => SomeFrontendException e

instance Show SomeFrontendException where
    show (SomeFrontendException e) = show e

instance Exception SomeFrontendException where
    toException = compilerExceptionToException
    fromException = compilerExceptionFromException

frontendExceptionToException :: Exception e => e -> SomeException
frontendExceptionToException = toException . SomeFrontendException

frontendExceptionFromException :: Exception e => SomeException -> Maybe e
frontendExceptionFromException x = do
    SomeFrontendException a <- fromException x
    cast a

---------------------------------------------------------------------
-- Make an exception type for a particular frontend compiler exception

data MismatchedParentheses = MismatchedParentheses
    deriving Show

instance Exception MismatchedParentheses where
    toException   = frontendExceptionToException
    fromException = frontendExceptionFromException

We can now catch a MismatchedParentheses exception as MismatchedParentheses, SomeFrontendException or SomeCompilerException, but not other types, e.g. IOException:

*Main> throw MismatchedParentheses `catch` \e -> putStrLn ("Caught " ++ show (e :: MismatchedParentheses))
Caught MismatchedParentheses
*Main> throw MismatchedParentheses `catch` \e -> putStrLn ("Caught " ++ show (e :: SomeFrontendException))
Caught MismatchedParentheses
*Main> throw MismatchedParentheses `catch` \e -> putStrLn ("Caught " ++ show (e :: SomeCompilerException))
Caught MismatchedParentheses
*Main> throw MismatchedParentheses `catch` \e -> putStrLn ("Caught " ++ show (e :: IOException))
*** Exception: MismatchedParentheses

Instances

Instances details
Exception AesonException 
Instance details

Defined in Data.Aeson.Types.Internal

Exception NestedAtomically

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception NoMatchingContinuationPrompt

Since: base-4.18

Instance details

Defined in Control.Exception.Base

Exception NoMethodError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception NonTermination

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception PatternMatchFail

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception RecConError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception RecSelError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception RecUpdError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception TypeError

Since: base-4.9.0.0

Instance details

Defined in Control.Exception.Base

Exception Void

Since: base-4.8.0.0

Instance details

Defined in GHC.Exception.Type

Exception ErrorCall

Since: base-4.0.0.0

Instance details

Defined in GHC.Exception

Exception ArithException

Since: base-4.0.0.0

Instance details

Defined in GHC.Exception.Type

Exception SomeException

Since: base-3.0

Instance details

Defined in GHC.Exception.Type

Exception AllocationLimitExceeded

Since: base-4.8.0.0

Instance details

Defined in GHC.IO.Exception

Exception ArrayException

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception AssertionFailed

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception AsyncException

Since: base-4.7.0.0

Instance details

Defined in GHC.IO.Exception

Exception BlockedIndefinitelyOnMVar

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception BlockedIndefinitelyOnSTM

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception CompactionFailed

Since: base-4.10.0.0

Instance details

Defined in GHC.IO.Exception

Exception Deadlock

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception ExitCode

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception FixIOException

Since: base-4.11.0.0

Instance details

Defined in GHC.IO.Exception

Exception IOException

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception SomeAsyncException

Since: base-4.7.0.0

Instance details

Defined in GHC.IO.Exception

Exception ASCII7_Invalid 
Instance details

Defined in Basement.String.Encoding.ASCII7

Methods

toException ∷ ASCII7_Invalid → SomeException Source #

fromException ∷ SomeException → Maybe ASCII7_Invalid Source #

displayException ∷ ASCII7_Invalid → String Source #

Exception ISO_8859_1_Invalid 
Instance details

Defined in Basement.String.Encoding.ISO_8859_1

Methods

toException ∷ ISO_8859_1_Invalid → SomeException Source #

fromException ∷ SomeException → Maybe ISO_8859_1_Invalid Source #

displayException ∷ ISO_8859_1_Invalid → String Source #

Exception UTF16_Invalid 
Instance details

Defined in Basement.String.Encoding.UTF16

Methods

toException ∷ UTF16_Invalid → SomeException Source #

fromException ∷ SomeException → Maybe UTF16_Invalid Source #

displayException ∷ UTF16_Invalid → String Source #

Exception UTF32_Invalid 
Instance details

Defined in Basement.String.Encoding.UTF32

Methods

toException ∷ UTF32_Invalid → SomeException Source #

fromException ∷ SomeException → Maybe UTF32_Invalid Source #

displayException ∷ UTF32_Invalid → String Source #

Exception BimapException 
Instance details

Defined in Data.Bimap

Methods

toException ∷ BimapException → SomeException Source #

fromException ∷ SomeException → Maybe BimapException Source #

displayException ∷ BimapException → String Source #

Exception DeserialiseFailure 
Instance details

Defined in Codec.CBOR.Read

Exception CryptoError 
Instance details

Defined in Crypto.Error.Types

Exception HandlingException 
Instance details

Defined in Control.Lens.Internal.Exception

Methods

toException ∷ HandlingException → SomeException Source #

fromException ∷ SomeException → Maybe HandlingException Source #

displayException ∷ HandlingException → String Source #

Exception InvalidPosException 
Instance details

Defined in Text.Megaparsec.Pos

Exception FreeVariableError Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Exception ApplyProgramError Source # 
Instance details

Defined in PlutusCore.Error

Exception CostModelApplyError Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostModelInterface

Exception BuiltinErrorCall Source # 
Instance details

Defined in PlutusCore.Examples.Builtins

Exception DecodeException 
Instance details

Defined in PlutusCore.Flat.Decoder.Types

Exception InvalidAccess 
Instance details

Defined in Control.Monad.Trans.Resource.Internal

Methods

toException ∷ InvalidAccess → SomeException Source #

fromException ∷ SomeException → Maybe InvalidAccess Source #

displayException ∷ InvalidAccess → String Source #

Exception ResourceCleanupException 
Instance details

Defined in Control.Monad.Trans.Resource.Internal

Methods

toException ∷ ResourceCleanupException → SomeException Source #

fromException ∷ SomeException → Maybe ResourceCleanupException Source #

displayException ∷ ResourceCleanupException → String Source #

Exception (UniqueError SrcSpan) Source # 
Instance details

Defined in PlutusCore.Error

(Show (Token s), Show e, ShowErrorComponent e, VisualStream s, Typeable s, Typeable e) ⇒ Exception (ParseError s e) 
Instance details

Defined in Text.Megaparsec.Error

(Show s, Show (Token s), Show e, ShowErrorComponent e, VisualStream s, TraversableStream s, Typeable s, Typeable e) ⇒ Exception (ParseErrorBundle s e) 
Instance details

Defined in Text.Megaparsec.Error

(PrettyPlc cause, PrettyPlc err, Typeable cause, Typeable err) ⇒ Exception (ErrorWithCause err cause) Source # 
Instance details

Defined in PlutusCore.Evaluation.ErrorWithCause

(Reifies s (SomeException → Maybe a), Typeable a, Typeable s, Typeable m) ⇒ Exception (Handling a s m) 
Instance details

Defined in Control.Lens.Internal.Exception

Methods

toException ∷ Handling a s m → SomeException Source #

fromException ∷ SomeException → Maybe (Handling a s m) Source #

displayException ∷ Handling a s m → String Source #

newtype PairT b f a Source #

Constructors

PairT 

Fields

Instances

Instances details
Functor f ⇒ Functor (PairT b f) Source # 
Instance details

Defined in PlutusPrelude

Methods

fmap ∷ (a → b0) → PairT b f a → PairT b f b0 Source #

(<$) ∷ a → PairT b f b0 → PairT b f a Source #

class a ~R# b ⇒ Coercible (a ∷ k) (b ∷ k) Source #

Coercible is a two-parameter class that has instances for types a and b if the compiler can infer that they have the same representation. This class does not have regular instances; instead they are created on-the-fly during type-checking. Trying to manually declare an instance of Coercible is an error.

Nevertheless one can pretend that the following three kinds of instances exist. First, as a trivial base-case:

instance Coercible a a

Furthermore, for every type constructor there is an instance that allows to coerce under the type constructor. For example, let D be a prototypical type constructor (data or newtype) with three type arguments, which have roles nominal, representational resp. phantom. Then there is an instance of the form

instance Coercible b b' => Coercible (D a b c) (D a b' c')

Note that the nominal type arguments are equal, the representational type arguments can differ, but need to have a Coercible instance themself, and the phantom type arguments can be changed arbitrarily.

The third kind of instance exists for every newtype NT = MkNT T and comes in two variants, namely

instance Coercible a T => Coercible a NT
instance Coercible T b => Coercible NT b

This instance is only usable if the constructor MkNT is in scope.

If, as a library author of a type constructor like Set a, you want to prevent a user of your module to write coerce :: Set T -> Set NT, you need to set the role of Set's type parameter to nominal, by writing

type role Set nominal

For more details about this feature, please refer to Safe Coercions by Joachim Breitner, Richard A. Eisenberg, Simon Peyton Jones and Stephanie Weirich.

Since: ghc-prim-0.4.0

class Typeable (a ∷ k) Source #

The class Typeable allows a concrete representation of a type to be calculated.

Minimal complete definition

typeRep#

Lens

type Lens' s a = Lens s s a a #

lens ∷ (s → a) → (s → b → t) → Lens s t a b #

(^.) ∷ s → Getting a s a → a #

view ∷ MonadReader s m ⇒ Getting a s a → m a #

(.~) ∷ ASetter s t a b → b → s → t #

set ∷ ASetter s t a b → b → s → t #

(%~) ∷ ASetter s t a b → (a → b) → s → t #

over ∷ ASetter s t a b → (a → b) → s → t #

purely ∷ ((a → Identity b) → c → Identity d) → (a → b) → c → d Source #

(<^>) ∷ Fold s a → Fold s a → Fold s a infixr 6 Source #

Compose two folds to make them run in parallel. The results are concatenated.

Debugging

traceShowId ∷ Show a ⇒ a → a Source #

Like traceShow but returns the shown value instead of a third value.

>>> traceShowId (1+2+3, "hello" ++ "world")
(6,"helloworld")
(6,"helloworld")

Since: base-4.7.0.0

trace ∷ String → a → a Source #

The trace function outputs the trace message given as its first argument, before returning the second argument as its result.

For example, this returns the value of f x and outputs the message to stderr. Depending on your terminal (settings), they may or may not be mixed.

>>> let x = 123; f = show
>>> trace ("calling f with x = " ++ show x) (f x)
calling f with x = 123
"123"

The trace function should only be used for debugging, or for monitoring execution. The function is not referentially transparent: its type indicates that it is a pure function but it has the side effect of outputting the trace message.

Reexports from Control.Composition

(.*) ∷ (c → d) → (a → b → c) → a → b → d infixr 8 Source #

Custom functions

(<<$>>) ∷ (Functor f1, Functor f2) ⇒ (a → b) → f1 (f2 a) → f1 (f2 b) infixl 4 Source #

(<<*>>) ∷ (Applicative f1, Applicative f2) ⇒ f1 (f2 (a → b)) → f1 (f2 a) → f1 (f2 b) infixl 4 Source #

forJoin ∷ (Monad m, Traversable m, Applicative f) ⇒ m a → (a → f (m b)) → f (m b) Source #

foldMapM ∷ (Foldable f, Monad m, Monoid b) ⇒ (a → m b) → f a → m b Source #

Fold a monadic function over a Foldable. The monadic version of foldMap.

reoption ∷ (Foldable f, Alternative g) ⇒ f a → g a Source #

This function generalizes eitherToMaybe, eitherToList, listToMaybe and other such functions.

enumerate ∷ (Enum a, Bounded a) ⇒ [a] Source #

Enumerate all the values of an Enum, from minBound to maxBound.

enumerate == [False, True]

tabulateArray ∷ (Bounded i, Enum i, Ix i) ⇒ (i → a) → Array i a Source #

Basically a Data.Functor.Representable instance for Array. We can't provide an actual instance because of the Distributive superclass: Array i is not Distributive unless we assume that indices in an array range over the entirety of i.

(?) ∷ Alternative f ⇒ Bool → a → f a infixr 2 Source #

b ? x is equal to pure x whenever b holds and is empty otherwise.

ensure ∷ Alternative f ⇒ (a → Bool) → a → f a Source #

ensure p x is equal to pure x whenever p x holds and is empty otherwise.

asksM ∷ MonadReader r m ⇒ (r → m a) → m a Source #

A monadic version of asks.

timesA ∷ Natural → (a → a) → a → a Source #

function recursively applied N times

Pretty-printing

data Doc ann Source #

The abstract data type Doc ann represents pretty documents that have been annotated with data of type ann.

More specifically, a value of type Doc represents a non-empty set of possible layouts of a document. The layout functions select one of these possibilities, taking into account things like the width of the output document.

The annotation is an arbitrary piece of data associated with (part of) a document. Annotations may be used by the rendering backends in order to display output differently, such as

  • color information (e.g. when rendering to the terminal)
  • mouseover text (e.g. when rendering to rich HTML)
  • whether to show something or not (to allow simple or detailed versions)

The simplest way to display a Doc is via the Show class.

>>> putStrLn (show (vsep ["hello", "world"]))
hello
world

Instances

Instances details
Functor Doc

Alter the document’s annotations.

This instance makes Doc more flexible (because it can be used in Functor-polymorphic values), but fmap is much less readable compared to using reAnnotate in code that only works for Doc anyway. Consider using the latter when the type does not matter.

Instance details

Defined in Prettyprinter.Internal

Methods

fmap ∷ (a → b) → Doc a → Doc b Source #

(<$) ∷ a → Doc b → Doc a Source #

PrettyAnn ann (Doc ann)

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

prettyAnn ∷ Doc ann → Doc ann Source #

prettyAnnList ∷ [Doc ann] → Doc ann Source #

IsString (Doc ann)
>>> pretty ("hello\nworld")
hello
world

This instance uses the Pretty Doc instance, and uses the same newline to line conversion.

Instance details

Defined in Prettyprinter.Internal

Methods

fromString ∷ String → Doc ann Source #

Monoid (Doc ann)
mempty = emptyDoc
mconcat = hcat
>>> mappend "hello" "world" :: Doc ann
helloworld
Instance details

Defined in Prettyprinter.Internal

Methods

mempty ∷ Doc ann Source #

mappend ∷ Doc ann → Doc ann → Doc ann Source #

mconcat ∷ [Doc ann] → Doc ann Source #

Semigroup (Doc ann)
x <> y = hcat [x, y]
>>> "hello" <> "world" :: Doc ann
helloworld
Instance details

Defined in Prettyprinter.Internal

Methods

(<>) ∷ Doc ann → Doc ann → Doc ann Source #

sconcat ∷ NonEmpty (Doc ann) → Doc ann Source #

stimes ∷ Integral b ⇒ b → Doc ann → Doc ann Source #

Generic (Doc ann) 
Instance details

Defined in Prettyprinter.Internal

Associated Types

type Rep (Doc ann) ∷ Type → Type Source #

Methods

from ∷ Doc ann → Rep (Doc ann) x Source #

to ∷ Rep (Doc ann) x → Doc ann Source #

Show (Doc ann)

(show doc) prettyprints document doc with defaultLayoutOptions, ignoring all annotations.

Instance details

Defined in Prettyprinter.Internal

Methods

showsPrec ∷ Int → Doc ann → ShowS Source #

show ∷ Doc ann → String Source #

showList ∷ [Doc ann] → ShowS Source #

ann ~ Void ⇒ Pretty (Doc ann)

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Doc ann → Doc ann0 Source #

prettyList ∷ [Doc ann] → Doc ann0 Source #

type Rep (Doc ann) 
Instance details

Defined in Prettyprinter.Internal

type Rep (Doc ann) = D1 ('MetaData "Doc" "Prettyprinter.Internal" "prettyprinter-1.7.2-CWQzCiWvhhF9F9NoUYY982" 'False) (((C1 ('MetaCons "Fail" 'PrefixI 'False) (U1 ∷ Type → Type) :+: (C1 ('MetaCons "Empty" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "Char" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Char)))) :+: (C1 ('MetaCons "Text" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons "Line" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "FlatAlt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)))))) :+: ((C1 ('MetaCons "Cat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann))) :+: (C1 ('MetaCons "Nest" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann))) :+: C1 ('MetaCons "Union" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann))))) :+: ((C1 ('MetaCons "Column" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Int → Doc ann))) :+: C1 ('MetaCons "WithPageWidth" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PageWidth → Doc ann)))) :+: (C1 ('MetaCons "Nesting" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Int → Doc ann))) :+: C1 ('MetaCons "Annotated" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ann) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)))))))

newtype ShowPretty a Source #

A newtype wrapper around a whose point is to provide a Show instance for anything that has a Pretty instance.

Constructors

ShowPretty 

Fields

Instances

Instances details
Pretty a ⇒ Show (ShowPretty a) Source # 
Instance details

Defined in PlutusPrelude

Eq a ⇒ Eq (ShowPretty a) Source # 
Instance details

Defined in PlutusPrelude

Methods

(==) ∷ ShowPretty a → ShowPretty a → Bool Source #

(/=) ∷ ShowPretty a → ShowPretty a → Bool Source #

class Pretty a where Source #

Overloaded conversion to Doc.

Laws:

  1. output should be pretty. :-)

Minimal complete definition

Nothing

Methods

pretty ∷ a → Doc ann Source #

>>> pretty 1 <+> pretty "hello" <+> pretty 1.234
1 hello 1.234

prettyList ∷ [a] → Doc ann Source #

prettyList is only used to define the instance Pretty a => Pretty [a]. In normal circumstances only the pretty function is used.

>>> prettyList [1, 23, 456]
[1, 23, 456]

Instances

Instances details
Pretty Void

Finding a good example for printing something that does not exist is hard, so here is an example of printing a list full of nothing.

>>> pretty ([] :: [Void])
[]
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Void → Doc ann Source #

prettyList ∷ [Void] → Doc ann Source #

Pretty Int16 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Int16 → Doc ann Source #

prettyList ∷ [Int16] → Doc ann Source #

Pretty Int32 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Int32 → Doc ann Source #

prettyList ∷ [Int32] → Doc ann Source #

Pretty Int64 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Int64 → Doc ann Source #

prettyList ∷ [Int64] → Doc ann Source #

Pretty Int8 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Int8 → Doc ann Source #

prettyList ∷ [Int8] → Doc ann Source #

Pretty Word16 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Word16 → Doc ann Source #

prettyList ∷ [Word16] → Doc ann Source #

Pretty Word32 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Word32 → Doc ann Source #

prettyList ∷ [Word32] → Doc ann Source #

Pretty Word64 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Word64 → Doc ann Source #

prettyList ∷ [Word64] → Doc ann Source #

Pretty Word8 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Word8 → Doc ann Source #

prettyList ∷ [Word8] → Doc ann Source #

Pretty SourcePos Source # 
Instance details

Defined in PlutusCore.Error

Methods

pretty ∷ SourcePos → Doc ann Source #

prettyList ∷ [SourcePos] → Doc ann Source #

Pretty DeserialiseFailureInfo Source # 
Instance details

Defined in Codec.Extras.SerialiseViaFlat

Pretty DeserialiseFailureReason Source # 
Instance details

Defined in Codec.Extras.SerialiseViaFlat

Pretty Ann Source # 
Instance details

Defined in PlutusCore.Annotation

Methods

pretty ∷ Ann → Doc ann Source #

prettyList ∷ [Ann] → Doc ann Source #

Pretty SrcSpan Source # 
Instance details

Defined in PlutusCore.Annotation

Methods

pretty ∷ SrcSpan → Doc ann Source #

prettyList ∷ [SrcSpan] → Doc ann Source #

Pretty SrcSpans Source # 
Instance details

Defined in PlutusCore.Annotation

Methods

pretty ∷ SrcSpans → Doc ann Source #

prettyList ∷ [SrcSpans] → Doc ann Source #

Pretty Param Source # 
Instance details

Defined in PlutusCore.Arity

Methods

pretty ∷ Param → Doc ann Source #

prettyList ∷ [Param] → Doc ann Source #

Pretty AstSize Source # 
Instance details

Defined in PlutusCore.AstSize

Methods

pretty ∷ AstSize → Doc ann Source #

prettyList ∷ [AstSize] → Doc ann Source #

Pretty BuiltinError Source # 
Instance details

Defined in PlutusCore.Builtin.Result

Methods

pretty ∷ BuiltinError → Doc ann Source #

prettyList ∷ [BuiltinError] → Doc ann Source #

Pretty UnliftingError Source # 
Instance details

Defined in PlutusCore.Builtin.Result

Pretty UnliftingEvaluationError Source # 
Instance details

Defined in PlutusCore.Builtin.Result

Pretty NameAnn Source # 
Instance details

Defined in PlutusCore.Check.Scoping

Methods

pretty ∷ NameAnn → Doc ann Source #

prettyList ∷ [NameAnn] → Doc ann Source #

Pretty ScopeError Source # 
Instance details

Defined in PlutusCore.Check.Scoping

Methods

pretty ∷ ScopeError → Doc ann Source #

prettyList ∷ [ScopeError] → Doc ann Source #

Pretty Element Source # 
Instance details

Defined in PlutusCore.Crypto.BLS12_381.G1

Methods

pretty ∷ Element → Doc ann Source #

prettyList ∷ [Element] → Doc ann Source #

Pretty Element Source # 
Instance details

Defined in PlutusCore.Crypto.BLS12_381.G2

Methods

pretty ∷ Element → Doc ann Source #

prettyList ∷ [Element] → Doc ann Source #

Pretty MlResult Source # 
Instance details

Defined in PlutusCore.Crypto.BLS12_381.Pairing

Methods

pretty ∷ MlResult → Doc ann Source #

prettyList ∷ [MlResult] → Doc ann Source #

Pretty Data Source # 
Instance details

Defined in PlutusCore.Data

Methods

pretty ∷ Data → Doc ann Source #

prettyList ∷ [Data] → Doc ann Source #

Pretty FreeVariableError Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Pretty Index Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

pretty ∷ Index → Doc ann Source #

prettyList ∷ [Index] → Doc ann Source #

Pretty DefaultFun Source # 
Instance details

Defined in PlutusCore.Default.Builtins

Methods

pretty ∷ DefaultFun → Doc ann Source #

prettyList ∷ [DefaultFun] → Doc ann Source #

Pretty ParserError Source # 
Instance details

Defined in PlutusCore.Error

Methods

pretty ∷ ParserError → Doc ann Source #

prettyList ∷ [ParserError] → Doc ann Source #

Pretty ParserErrorBundle Source # 
Instance details

Defined in PlutusCore.Error

Pretty CostModelApplyError Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostModelInterface

Pretty CostModelApplyWarn Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostModelInterface

Pretty ExBudget Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

pretty ∷ ExBudget → Doc ann Source #

prettyList ∷ [ExBudget] → Doc ann Source #

Pretty ExRestrictingBudget Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Pretty ExCPU Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

pretty ∷ ExCPU → Doc ann Source #

prettyList ∷ [ExCPU] → Doc ann Source #

Pretty ExMemory Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

pretty ∷ ExMemory → Doc ann Source #

prettyList ∷ [ExMemory] → Doc ann Source #

Pretty ExtensionFun Source # 
Instance details

Defined in PlutusCore.Examples.Builtins

Methods

pretty ∷ ExtensionFun → Doc ann Source #

prettyList ∷ [ExtensionFun] → Doc ann Source #

Pretty Name Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Default

Methods

pretty ∷ Name → Doc ann Source #

prettyList ∷ [Name] → Doc ann Source #

Pretty TyName Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Default

Methods

pretty ∷ TyName → Doc ann Source #

prettyList ∷ [TyName] → Doc ann Source #

Pretty Unique Source # 
Instance details

Defined in PlutusCore.Name.Unique

Methods

pretty ∷ Unique → Doc ann Source #

prettyList ∷ [Unique] → Doc ann Source #

Pretty Quantity Source # 
Instance details

Defined in PlutusCore.Value

Methods

pretty ∷ Quantity → Doc ann Source #

prettyList ∷ [Quantity] → Doc ann Source #

Pretty Value Source # 
Instance details

Defined in PlutusCore.Value

Methods

pretty ∷ Value → Doc ann Source #

prettyList ∷ [Value] → Doc ann Source #

Pretty Version Source # 
Instance details

Defined in PlutusCore.Version

Methods

pretty ∷ Version → Doc ann Source #

prettyList ∷ [Version] → Doc ann Source #

Pretty CountingSt Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

pretty ∷ CountingSt → Doc ann Source #

prettyList ∷ [CountingSt] → Doc ann Source #

Pretty RestrictingSt Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Pretty CekUserError Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Methods

pretty ∷ CekUserError → Doc ann Source #

prettyList ∷ [CekUserError] → Doc ann Source #

Pretty CseWhichSubterms Source # 
Instance details

Defined in UntypedPlutusCore.Optimize.Opts

Pretty Purity Source # 
Instance details

Defined in UntypedPlutusCore.Purity

Methods

pretty ∷ Purity → Doc ann Source #

prettyList ∷ [Purity] → Doc ann Source #

Pretty WorkFreedom Source # 
Instance details

Defined in UntypedPlutusCore.Purity

Methods

pretty ∷ WorkFreedom → Doc ann Source #

prettyList ∷ [WorkFreedom] → Doc ann Source #

Pretty Text

Automatically converts all newlines to line.

>>> pretty ("hello\nworld" :: Text)
hello
world

Note that line can be undone by group:

>>> group (pretty ("hello\nworld" :: Text))
hello world

Manually use hardline if you definitely want newlines.

Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Text → Doc ann Source #

prettyList ∷ [Text] → Doc ann Source #

Pretty Text

(lazy Doc instance, identical to the strict version)

Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Text → Doc ann Source #

prettyList ∷ [Text] → Doc ann Source #

Pretty Integer
>>> pretty (2^123 :: Integer)
10633823966279326983230456482242756608
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Integer → Doc ann Source #

prettyList ∷ [Integer] → Doc ann Source #

Pretty Natural 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Natural → Doc ann Source #

prettyList ∷ [Natural] → Doc ann Source #

Pretty ()
>>> pretty ()
()

The argument is not used:

>>> pretty (error "Strict?" :: ())
()
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ () → Doc ann Source #

prettyList ∷ [()] → Doc ann Source #

Pretty Bool
>>> pretty True
True
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Bool → Doc ann Source #

prettyList ∷ [Bool] → Doc ann Source #

Pretty Char

Instead of (pretty '\n'), consider using line as a more readable alternative.

>>> pretty 'f' <> pretty 'o' <> pretty 'o'
foo
>>> pretty ("string" :: String)
string
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Char → Doc ann Source #

prettyList ∷ [Char] → Doc ann Source #

Pretty Double
>>> pretty (exp 1 :: Double)
2.71828182845904...
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Double → Doc ann Source #

prettyList ∷ [Double] → Doc ann Source #

Pretty Float
>>> pretty (pi :: Float)
3.1415927
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Float → Doc ann Source #

prettyList ∷ [Float] → Doc ann Source #

Pretty Int
>>> pretty (123 :: Int)
123
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Int → Doc ann Source #

prettyList ∷ [Int] → Doc ann Source #

Pretty Word 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Word → Doc ann Source #

prettyList ∷ [Word] → Doc ann Source #

Pretty a ⇒ Pretty (Identity a)
>>> pretty (Identity 1)
1
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Identity a → Doc ann Source #

prettyList ∷ [Identity a] → Doc ann Source #

Pretty a ⇒ Pretty (NonEmpty a) 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ NonEmpty a → Doc ann Source #

prettyList ∷ [NonEmpty a] → Doc ann Source #

Pretty a ⇒ Pretty (Spine a) Source #
>>> import Text.Pretty
>>> pretty (SpineCons 'a' $ SpineLast 'b')
[a, b] 
Instance details

Defined in PlutusCore.Builtin.KnownType

Methods

pretty ∷ Spine a → Doc ann Source #

prettyList ∷ [Spine a] → Doc ann Source #

Pretty (BuiltinSemanticsVariant DefaultFun) Source # 
Instance details

Defined in PlutusCore.Default.Builtins

Pretty ann ⇒ Pretty (Kind ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Default

Methods

pretty ∷ Kind ann → Doc ann0 Source #

prettyList ∷ [Kind ann] → Doc ann0 Source #

Pretty a ⇒ Pretty (Normalized a) Source # 
Instance details

Defined in PlutusCore.Core.Type

Methods

pretty ∷ Normalized a → Doc ann Source #

prettyList ∷ [Normalized a] → Doc ann Source #

Pretty (DefaultUni a) Source #

This always pretty-prints parens around type applications (e.g. (list bool)) and doesn't pretty-print them otherwise (e.g. integer).

Instance details

Defined in PlutusCore.Default.Universe

Methods

pretty ∷ DefaultUni a → Doc ann Source #

prettyList ∷ [DefaultUni a] → Doc ann Source #

Pretty ann ⇒ Pretty (UniqueError ann) Source # 
Instance details

Defined in PlutusCore.Error

Methods

pretty ∷ UniqueError ann → Doc ann0 Source #

prettyList ∷ [UniqueError ann] → Doc ann0 Source #

PrettyClassic a ⇒ Pretty (EvaluationResult a) Source # 
Instance details

Defined in PlutusCore.Evaluation.Result

PrettyReadable a ⇒ Pretty (AsReadable a) Source # 
Instance details

Defined in PlutusCore.Pretty.Readable

Methods

pretty ∷ AsReadable a → Doc ann Source #

prettyList ∷ [AsReadable a] → Doc ann Source #

Pretty (SomeTypeIn DefaultUni) Source # 
Instance details

Defined in PlutusCore.Default.Universe

Pretty (SomeTypeIn uni) ⇒ Pretty (SomeTypeIn (Kinded uni)) Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

pretty ∷ SomeTypeIn (Kinded uni) → Doc ann Source #

prettyList ∷ [SomeTypeIn (Kinded uni)] → Doc ann Source #

(Show fun, Ord fun) ⇒ Pretty (CekExTally fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

pretty ∷ CekExTally fun → Doc ann Source #

prettyList ∷ [CekExTally fun] → Doc ann Source #

(Show fun, Ord fun) ⇒ Pretty (TallyingSt fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

pretty ∷ TallyingSt fun → Doc ann Source #

prettyList ∷ [TallyingSt fun] → Doc ann Source #

Show fun ⇒ Pretty (ExBudgetCategory fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Methods

pretty ∷ ExBudgetCategory fun → Doc ann Source #

prettyList ∷ [ExBudgetCategory fun] → Doc ann Source #

ann ~ Void ⇒ Pretty (Doc ann)

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Doc ann → Doc ann0 Source #

prettyList ∷ [Doc ann] → Doc ann0 Source #

Pretty a ⇒ Pretty (Maybe a)

Ignore Nothings, print Just contents.

>>> pretty (Just True)
True
>>> braces (pretty (Nothing :: Maybe Bool))
{}
>>> pretty [Just 1, Nothing, Just 3, Nothing]
[1, 3]
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Maybe a → Doc ann Source #

prettyList ∷ [Maybe a] → Doc ann Source #

Pretty a ⇒ Pretty [a]
>>> pretty [1,2,3]
[1, 2, 3]
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ [a] → Doc ann Source #

prettyList ∷ [[a]] → Doc ann Source #

(Pretty a, Pretty b) ⇒ Pretty (Either a b) Source # 
Instance details

Defined in PlutusPrelude

Methods

pretty ∷ Either a b → Doc ann Source #

prettyList ∷ [Either a b] → Doc ann Source #

(Pretty structural, Pretty operational) ⇒ Pretty (EvaluationError structural operational) Source # 
Instance details

Defined in PlutusCore.Evaluation.Error

Methods

pretty ∷ EvaluationError structural operational → Doc ann Source #

prettyList ∷ [EvaluationError structural operational] → Doc ann Source #

(Pretty err, Pretty cause) ⇒ Pretty (ErrorWithCause err cause) Source # 
Instance details

Defined in PlutusCore.Evaluation.ErrorWithCause

Methods

pretty ∷ ErrorWithCause err cause → Doc ann Source #

prettyList ∷ [ErrorWithCause err cause] → Doc ann Source #

(Closed uni, Everywhere uni PrettyConst) ⇒ Pretty (ValueOf uni a) Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

pretty ∷ ValueOf uni a → Doc ann Source #

prettyList ∷ [ValueOf uni a] → Doc ann Source #

DefaultPrettyBy config a ⇒ Pretty (AttachDefaultPrettyConfig config a) 
Instance details

Defined in Text.PrettyBy.Internal

Methods

pretty ∷ AttachDefaultPrettyConfig config a → Doc ann Source #

prettyList ∷ [AttachDefaultPrettyConfig config a] → Doc ann Source #

PrettyBy config a ⇒ Pretty (AttachPrettyConfig config a)
>>> data Cfg = Cfg
>>> data D = D
>>> instance PrettyBy Cfg D where prettyBy Cfg D = "D"
>>> pretty $ AttachPrettyConfig Cfg D
D
Instance details

Defined in Text.PrettyBy.Internal

Methods

pretty ∷ AttachPrettyConfig config a → Doc ann Source #

prettyList ∷ [AttachPrettyConfig config a] → Doc ann Source #

(Closed uni, Everywhere uni PrettyConst) ⇒ Pretty (Some (ValueOf uni)) Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

pretty ∷ Some (ValueOf uni) → Doc ann Source #

prettyList ∷ [Some (ValueOf uni)] → Doc ann Source #

(Pretty a1, Pretty a2) ⇒ Pretty (a1, a2)
>>> pretty (123, "hello")
(123, hello)
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ (a1, a2) → Doc ann Source #

prettyList ∷ [(a1, a2)] → Doc ann Source #

Pretty a ⇒ Pretty (Const a b) 
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ Const a b → Doc ann Source #

prettyList ∷ [Const a b] → Doc ann Source #

(Pretty err, Pretty a, Pretty b) ⇒ Pretty (HeadSpine err a b) Source #
>>> import Text.Pretty
>>> pretty (HeadOnly 'z')
z
>>> pretty (HeadSpine 'f' (SpineCons 'x' $ SpineLast 'y'))
f `applyN` [x, y] 
Instance details

Defined in PlutusCore.Builtin.KnownType

Methods

pretty ∷ HeadSpine err a b → Doc ann Source #

prettyList ∷ [HeadSpine err a b] → Doc ann Source #

(PrettyClassic tyname, PrettyParens (SomeTypeIn uni), Pretty ann) ⇒ Pretty (Type tyname uni ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Default

Methods

pretty ∷ Type tyname uni ann → Doc ann0 Source #

prettyList ∷ [Type tyname uni ann] → Doc ann0 Source #

Pretty (CekState uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.SteppableCek.Internal

Methods

pretty ∷ CekState uni fun ann → Doc ann0 Source #

prettyList ∷ [CekState uni fun ann] → Doc ann0 Source #

(Pretty a1, Pretty a2, Pretty a3) ⇒ Pretty (a1, a2, a3)
>>> pretty (123, "hello", False)
(123, hello, False)
Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ (a1, a2, a3) → Doc ann Source #

prettyList ∷ [(a1, a2, a3)] → Doc ann Source #

(PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) ⇒ Pretty (Program name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Pretty.Default

Methods

pretty ∷ Program name uni fun ann → Doc ann0 Source #

prettyList ∷ [Program name uni fun ann] → Doc ann0 Source #

(PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) ⇒ Pretty (Term name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Pretty.Default

Methods

pretty ∷ Term name uni fun ann → Doc ann0 Source #

prettyList ∷ [Term name uni fun ann] → Doc ann0 Source #

(Pretty a1, Pretty a2, Pretty a3, Pretty a4) ⇒ Pretty (a1, a2, a3, a4)
>>> pretty (123, "hello", False, ())
(123, hello, False, ())

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ (a1, a2, a3, a4) → Doc ann Source #

prettyList ∷ [(a1, a2, a3, a4)] → Doc ann Source #

(PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) ⇒ Pretty (Program tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Default

Methods

pretty ∷ Program tyname name uni fun ann → Doc ann0 Source #

prettyList ∷ [Program tyname name uni fun ann] → Doc ann0 Source #

(PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) ⇒ Pretty (Term tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Default

Methods

pretty ∷ Term tyname name uni fun ann → Doc ann0 Source #

prettyList ∷ [Term tyname name uni fun ann] → Doc ann0 Source #

(Pretty a1, Pretty a2, Pretty a3, Pretty a4, Pretty a5) ⇒ Pretty (a1, a2, a3, a4, a5)
>>> pretty (123, "hello", False, (), 3.14)
(123, hello, False, (), 3.14)

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ (a1, a2, a3, a4, a5) → Doc ann Source #

prettyList ∷ [(a1, a2, a3, a4, a5)] → Doc ann Source #

(Pretty a1, Pretty a2, Pretty a3, Pretty a4, Pretty a5, Pretty a6) ⇒ Pretty (a1, a2, a3, a4, a5, a6)
>>> pretty (123, "hello", False, (), 3.14, Just 2.71)
(123, hello, False, (), 3.14, 2.71)

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ (a1, a2, a3, a4, a5, a6) → Doc ann Source #

prettyList ∷ [(a1, a2, a3, a4, a5, a6)] → Doc ann Source #

(Pretty a1, Pretty a2, Pretty a3, Pretty a4, Pretty a5, Pretty a6, Pretty a7) ⇒ Pretty (a1, a2, a3, a4, a5, a6, a7)
>>> pretty (123, "hello", False, (), 3.14, Just 2.71, [1,2,3])
(123, hello, False, (), 3.14, 2.71, [1, 2, 3])

Since: prettyprinter-1.7.2

Instance details

Defined in Prettyprinter.Internal

Methods

pretty ∷ (a1, a2, a3, a4, a5, a6, a7) → Doc ann Source #

prettyList ∷ [(a1, a2, a3, a4, a5, a6, a7)] → Doc ann Source #

class PrettyBy config a where Source #

A class for pretty-printing values in a configurable manner.

A basic example:

>>> data Case = UpperCase | LowerCase
>>> data D = D
>>> instance PrettyBy Case D where prettyBy UpperCase D = "D"; prettyBy LowerCase D = "d"
>>> prettyBy UpperCase D
D
>>> prettyBy LowerCase D
d

The library provides instances for common types like Integer or Bool, so you can't define your own PrettyBy SomeConfig Integer instance. And for the same reason you should not define instances like PrettyBy SomeAnotherConfig a for universally quantified a, because such an instance would overlap with the existing ones. Take for example

>>> data ViaShow = ViaShow
>>> instance Show a => PrettyBy ViaShow a where prettyBy ViaShow = pretty . show

with such an instance prettyBy ViaShow (1 :: Int) throws an error about overlapping instances:

• Overlapping instances for PrettyBy ViaShow Int
    arising from a use of ‘prettyBy’
  Matching instances:
    instance PrettyDefaultBy config Int => PrettyBy config Int
    instance [safe] Show a => PrettyBy ViaShow a

There's a newtype provided specifically for the purpose of defining a PrettyBy instance for any a: PrettyAny. Read its docs for details on when you might want to use it.

The PrettyBy instance for common types is defined in a way that allows to override default pretty-printing behaviour, read the docs of HasPrettyDefaults for details.

Minimal complete definition

Nothing

Methods

prettyBy ∷ config → a → Doc ann Source #

Pretty-print a value of type a the way a config specifies it. The default implementation of prettyBy is in terms of pretty, defaultPrettyFunctorBy or defaultPrettyBifunctorBy depending on the kind of the data type that you're providing an instance for. For example, the default implementation of prettyBy for a monomorphic type is going to be "ignore the config and call pretty over the value":

>>> newtype N = N Int deriving newtype (Pretty)
>>> instance PrettyBy () N
>>> prettyBy () (N 42)
42

The default implementation of prettyBy for a Functor is going to be in terms of defaultPrettyFunctorBy:

>>> newtype N a = N a deriving stock (Functor) deriving newtype (Pretty)
>>> instance PrettyBy () a => PrettyBy () (N a)
>>> prettyBy () (N (42 :: Int))
42

It's fine for the data type to have a phantom parameter as long as the data type is still a Functor (i.e. the parameter has to be of kind Type). Then defaultPrettyFunctorBy is used again:

>>> newtype N a = N Int deriving stock (Functor) deriving newtype (Pretty)
>>> instance PrettyBy () (N b)
>>> prettyBy () (N 42)
42

If the data type has a single parameter of any other kind, then it's not a functor and so like in the monomorphic case pretty is used:

>>> newtype N (b :: Bool) = N Int deriving newtype (Pretty)
>>> instance PrettyBy () (N b)
>>> prettyBy () (N 42)
42

Same applies to a data type with two parameters: if both the parameters are of kind Type, then the data type is assumed to be a Bifunctor and hence defaultPrettyBifunctorBy is used. If the right parameter is of kind Type and the left parameter is of any other kind, then we fallback to assuming the data type is a Functor and defining prettyBy as defaultPrettyFunctorBy. If both the parameters are not of kind Type, we fallback to implementing prettyBy in terms of pretty like in the monomorphic case.

Note that in all those cases a Pretty instance for the data type has to already exist, so that we can derive a PrettyBy one in terms of it. If it doesn't exist or if your data type is not supported (for example, if it has three or more parameters of kind Type), then you'll need to provide the implementation manually.

prettyListBy ∷ config → [a] → Doc ann Source #

prettyListBy is used to define the default PrettyBy instance for [a] and NonEmpty a. In normal circumstances only the prettyBy function is used. The default implementation of prettyListBy is in terms of defaultPrettyFunctorBy.

Instances

Instances details
PrettyBy PrettyConfigPlc DefaultFun Source # 
Instance details

Defined in PlutusCore.Default.Builtins

PrettyBy ConstConfig ByteString Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

PrettyBy ConstConfig Element Source # 
Instance details

Defined in PlutusCore.Crypto.BLS12_381.G1

Methods

prettyBy ∷ ConstConfig → Element → Doc ann Source #

prettyListBy ∷ ConstConfig → [Element] → Doc ann Source #

PrettyBy ConstConfig Element Source # 
Instance details

Defined in PlutusCore.Crypto.BLS12_381.G2

Methods

prettyBy ∷ ConstConfig → Element → Doc ann Source #

prettyListBy ∷ ConstConfig → [Element] → Doc ann Source #

PrettyBy ConstConfig MlResult Source # 
Instance details

Defined in PlutusCore.Crypto.BLS12_381.Pairing

PrettyBy ConstConfig Data Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

prettyBy ∷ ConstConfig → Data → Doc ann Source #

prettyListBy ∷ ConstConfig → [Data] → Doc ann Source #

PrettyBy ConstConfig CByteString Source # 
Instance details

Defined in PlutusCore.Default.Universe.Cardano

PrettyBy ConstConfig CInteger Source # 
Instance details

Defined in PlutusCore.Default.Universe.Cardano

PrettyBy ConstConfig K Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

prettyBy ∷ ConstConfig → K → Doc ann Source #

prettyListBy ∷ ConstConfig → [K] → Doc ann Source #

PrettyBy ConstConfig Quantity Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

PrettyBy ConstConfig Value Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

prettyBy ∷ ConstConfig → Value → Doc ann Source #

prettyListBy ∷ ConstConfig → [Value] → Doc ann Source #

PrettyDefaultBy config Void ⇒ PrettyBy config Void
>>> prettyBy () ([] :: [Void])
[]
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Void → Doc ann Source #

prettyListBy ∷ config → [Void] → Doc ann Source #

PrettyDefaultBy config Int16 ⇒ PrettyBy config Int16 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Int16 → Doc ann Source #

prettyListBy ∷ config → [Int16] → Doc ann Source #

PrettyDefaultBy config Int32 ⇒ PrettyBy config Int32 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Int32 → Doc ann Source #

prettyListBy ∷ config → [Int32] → Doc ann Source #

PrettyDefaultBy config Int64 ⇒ PrettyBy config Int64 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Int64 → Doc ann Source #

prettyListBy ∷ config → [Int64] → Doc ann Source #

PrettyDefaultBy config Int8 ⇒ PrettyBy config Int8 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Int8 → Doc ann Source #

prettyListBy ∷ config → [Int8] → Doc ann Source #

PrettyDefaultBy config Word16 ⇒ PrettyBy config Word16 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Word16 → Doc ann Source #

prettyListBy ∷ config → [Word16] → Doc ann Source #

PrettyDefaultBy config Word32 ⇒ PrettyBy config Word32 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Word32 → Doc ann Source #

prettyListBy ∷ config → [Word32] → Doc ann Source #

PrettyDefaultBy config Word64 ⇒ PrettyBy config Word64 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Word64 → Doc ann Source #

prettyListBy ∷ config → [Word64] → Doc ann Source #

PrettyDefaultBy config Word8 ⇒ PrettyBy config Word8 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Word8 → Doc ann Source #

prettyListBy ∷ config → [Word8] → Doc ann Source #

PrettyBy config AstSize Source # 
Instance details

Defined in PlutusCore.AstSize

Methods

prettyBy ∷ config → AstSize → Doc ann Source #

prettyListBy ∷ config → [AstSize] → Doc ann Source #

HasPrettyConfigName config ⇒ PrettyBy config DeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

prettyBy ∷ config → DeBruijn → Doc ann Source #

prettyListBy ∷ config → [DeBruijn] → Doc ann Source #

HasPrettyConfigName config ⇒ PrettyBy config FakeNamedDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

prettyBy ∷ config → FakeNamedDeBruijn → Doc ann Source #

prettyListBy ∷ config → [FakeNamedDeBruijn] → Doc ann Source #

HasPrettyConfigName config ⇒ PrettyBy config NamedDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

prettyBy ∷ config → NamedDeBruijn → Doc ann Source #

prettyListBy ∷ config → [NamedDeBruijn] → Doc ann Source #

HasPrettyConfigName config ⇒ PrettyBy config NamedTyDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

prettyBy ∷ config → NamedTyDeBruijn → Doc ann Source #

prettyListBy ∷ config → [NamedTyDeBruijn] → Doc ann Source #

HasPrettyConfigName config ⇒ PrettyBy config TyDeBruijn Source # 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Methods

prettyBy ∷ config → TyDeBruijn → Doc ann Source #

prettyListBy ∷ config → [TyDeBruijn] → Doc ann Source #

PrettyBy config ExBudget Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

prettyBy ∷ config → ExBudget → Doc ann Source #

prettyListBy ∷ config → [ExBudget] → Doc ann Source #

PrettyBy config ExRestrictingBudget Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Methods

prettyBy ∷ config → ExRestrictingBudget → Doc ann Source #

prettyListBy ∷ config → [ExRestrictingBudget] → Doc ann Source #

PrettyBy config ExCPU Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

prettyBy ∷ config → ExCPU → Doc ann Source #

prettyListBy ∷ config → [ExCPU] → Doc ann Source #

PrettyBy config ExMemory Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Methods

prettyBy ∷ config → ExMemory → Doc ann Source #

prettyListBy ∷ config → [ExMemory] → Doc ann Source #

HasPrettyConfigName config ⇒ PrettyBy config Name Source # 
Instance details

Defined in PlutusCore.Name.Unique

Methods

prettyBy ∷ config → Name → Doc ann Source #

prettyListBy ∷ config → [Name] → Doc ann Source #

HasPrettyConfigName config ⇒ PrettyBy config TyName Source # 
Instance details

Defined in PlutusCore.Name.Unique

Methods

prettyBy ∷ config → TyName → Doc ann Source #

prettyListBy ∷ config → [TyName] → Doc ann Source #

PrettyBy config CountingSt Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

prettyBy ∷ config → CountingSt → Doc ann Source #

prettyListBy ∷ config → [CountingSt] → Doc ann Source #

PrettyBy config RestrictingSt Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

prettyBy ∷ config → RestrictingSt → Doc ann Source #

prettyListBy ∷ config → [RestrictingSt] → Doc ann Source #

PrettyDefaultBy config Text ⇒ PrettyBy config Text

Automatically converts all newlines to line.

>>> prettyBy () ("hello\nworld" :: Strict.Text)
hello
world
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Text → Doc ann Source #

prettyListBy ∷ config → [Text] → Doc ann Source #

PrettyDefaultBy config Text ⇒ PrettyBy config Text

An instance for lazy Text. Identitical to the strict one.

Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Text → Doc ann Source #

prettyListBy ∷ config → [Text] → Doc ann Source #

PrettyDefaultBy config Integer ⇒ PrettyBy config Integer
>>> prettyBy () (2^(123 :: Int) :: Integer)
10633823966279326983230456482242756608
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Integer → Doc ann Source #

prettyListBy ∷ config → [Integer] → Doc ann Source #

PrettyDefaultBy config Natural ⇒ PrettyBy config Natural
>>> prettyBy () (123 :: Natural)
123
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Natural → Doc ann Source #

prettyListBy ∷ config → [Natural] → Doc ann Source #

PrettyDefaultBy config () ⇒ PrettyBy config ()
>>> prettyBy () ()
()

The argument is not used:

>>> prettyBy () (error "Strict?" :: ())
()
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → () → Doc ann Source #

prettyListBy ∷ config → [()] → Doc ann Source #

PrettyDefaultBy config Bool ⇒ PrettyBy config Bool
>>> prettyBy () True
True
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Bool → Doc ann Source #

prettyListBy ∷ config → [Bool] → Doc ann Source #

PrettyDefaultBy config Char ⇒ PrettyBy config Char

By default a String (i.e. [Char]) is converted to a Text first and then pretty-printed. So make sure that if you have any non-default pretty-printing for Char or Text, they're in sync.

>>> prettyBy () 'a'
a
>>> prettyBy () "abc"
abc
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Char → Doc ann Source #

prettyListBy ∷ config → [Char] → Doc ann Source #

PrettyDefaultBy config Double ⇒ PrettyBy config Double
>>> prettyBy () (pi :: Double)
3.141592653589793
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Double → Doc ann Source #

prettyListBy ∷ config → [Double] → Doc ann Source #

PrettyDefaultBy config Float ⇒ PrettyBy config Float
>>> prettyBy () (pi :: Float)
3.1415927
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Float → Doc ann Source #

prettyListBy ∷ config → [Float] → Doc ann Source #

PrettyDefaultBy config Int ⇒ PrettyBy config Int
>>> prettyBy () (123 :: Int)
123
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Int → Doc ann Source #

prettyListBy ∷ config → [Int] → Doc ann Source #

PrettyDefaultBy config Word ⇒ PrettyBy config Word 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Word → Doc ann Source #

prettyListBy ∷ config → [Word] → Doc ann Source #

DefaultPrettyPlcStrategy (Kind ann) ⇒ PrettyBy PrettyConfigPlc (Kind ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Plc

Methods

prettyBy ∷ PrettyConfigPlc → Kind ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [Kind ann] → Doc ann0 Source #

PrettyBy PrettyConfigPlc a ⇒ PrettyBy PrettyConfigPlc (ExpectedShapeOr a) Source # 
Instance details

Defined in PlutusCore.Error

DefaultPrettyPlcStrategy a ⇒ PrettyBy PrettyConfigPlc (PrettyAny a) Source # 
Instance details

Defined in PlutusCore.Pretty.Plc

DefaultPrettyPlcStrategy a ⇒ PrettyBy PrettyConfigPlcStrategy (PrettyAny a) Source # 
Instance details

Defined in PlutusCore.Pretty.Plc

PrettyConst a ⇒ PrettyBy ConstConfig (NoParens a) Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

prettyBy ∷ ConstConfig → NoParens a → Doc ann Source #

prettyListBy ∷ ConstConfig → [NoParens a] → Doc ann Source #

DefaultPrettyBy ConstConfig (PrettyAny a) ⇒ PrettyBy ConstConfig (PrettyAny a) Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

prettyBy ∷ ConstConfig → PrettyAny a → Doc ann Source #

prettyListBy ∷ ConstConfig → [PrettyAny a] → Doc ann Source #

PrettyBy RenderContext (DefaultUni a) Source # 
Instance details

Defined in PlutusCore.Default.Universe

PrettyBy RenderContext (SomeTypeIn DefaultUni) Source # 
Instance details

Defined in PlutusCore.Default.Universe

PrettyDefaultBy config (Identity a) ⇒ PrettyBy config (Identity a)
>>> prettyBy () (Identity True)
True
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Identity a → Doc ann Source #

prettyListBy ∷ config → [Identity a] → Doc ann Source #

PrettyDefaultBy config (NonEmpty a) ⇒ PrettyBy config (NonEmpty a)

prettyBy for NonEmpty a is defined in terms of prettyListBy by default.

>>> prettyBy () (True :| [False])
[True, False]
>>> prettyBy () ('a' :| "bc")
abc
>>> prettyBy () (Just False :| [Nothing, Just True])
[False, True]
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → NonEmpty a → Doc ann Source #

prettyListBy ∷ config → [NonEmpty a] → Doc ann Source #

PrettyDefaultBy config (Set a) ⇒ PrettyBy config (Set a) Source # 
Instance details

Defined in PlutusCore.Pretty.Extra

Methods

prettyBy ∷ config → Set a → Doc ann Source #

prettyListBy ∷ config → [Set a] → Doc ann Source #

PrettyDefaultBy config (Spine a) ⇒ PrettyBy config (Spine a) Source # 
Instance details

Defined in PlutusCore.Builtin.KnownType

Methods

prettyBy ∷ config → Spine a → Doc ann Source #

prettyListBy ∷ config → [Spine a] → Doc ann Source #

PrettyBy config (t NameAnn) ⇒ PrettyBy config (ScopeCheckError t) Source # 
Instance details

Defined in PlutusCore.Check.Scoping

Methods

prettyBy ∷ config → ScopeCheckError t → Doc ann Source #

prettyListBy ∷ config → [ScopeCheckError t] → Doc ann Source #

PrettyBy config a ⇒ PrettyBy config (Normalized a) Source # 
Instance details

Defined in PlutusCore.Core.Type

Methods

prettyBy ∷ config → Normalized a → Doc ann Source #

prettyListBy ∷ config → [Normalized a] → Doc ann Source #

(HasPrettyDefaults config ~ 'True, Pretty fun) ⇒ PrettyBy config (MachineError fun) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.Exception

Methods

prettyBy ∷ config → MachineError fun → Doc ann Source #

prettyListBy ∷ config → [MachineError fun] → Doc ann Source #

PrettyBy config a ⇒ PrettyBy config (EvaluationResult a) Source # 
Instance details

Defined in PlutusCore.Evaluation.Result

Methods

prettyBy ∷ config → EvaluationResult a → Doc ann Source #

prettyListBy ∷ config → [EvaluationResult a] → Doc ann Source #

PrettyDefaultBy config (AsReadable a) ⇒ PrettyBy config (AsReadable a) Source # 
Instance details

Defined in PlutusCore.Pretty.Readable

Methods

prettyBy ∷ config → AsReadable a → Doc ann Source #

prettyListBy ∷ config → [AsReadable a] → Doc ann Source #

(Show fun, Ord fun) ⇒ PrettyBy config (CekExTally fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

prettyBy ∷ config → CekExTally fun → Doc ann Source #

prettyListBy ∷ config → [CekExTally fun] → Doc ann Source #

(Show fun, Ord fun) ⇒ PrettyBy config (TallyingSt fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Methods

prettyBy ∷ config → TallyingSt fun → Doc ann Source #

prettyListBy ∷ config → [TallyingSt fun] → Doc ann Source #

Pretty a ⇒ PrettyBy config (IgnorePrettyConfig a)
>>> data Cfg = Cfg
>>> data D = D
>>> instance Pretty D where pretty D = "D"
>>> prettyBy Cfg $ IgnorePrettyConfig D
D
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → IgnorePrettyConfig a → Doc ann Source #

prettyListBy ∷ config → [IgnorePrettyConfig a] → Doc ann Source #

PrettyDefaultBy config a ⇒ PrettyBy config (PrettyCommon a) 
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → PrettyCommon a → Doc ann Source #

prettyListBy ∷ config → [PrettyCommon a] → Doc ann Source #

PrettyDefaultBy config (Vector a) ⇒ PrettyBy config (Vector a) Source # 
Instance details

Defined in PlutusCore.Pretty.Extra

Methods

prettyBy ∷ config → Vector a → Doc ann Source #

prettyListBy ∷ config → [Vector a] → Doc ann Source #

PrettyDefaultBy config (Maybe a) ⇒ PrettyBy config (Maybe a)

By default a [Maybe a] is converted to [a] first and only then pretty-printed.

>>> braces $ prettyBy () (Just True)
{True}
>>> braces $ prettyBy () (Nothing :: Maybe Bool)
{}
>>> prettyBy () [Just False, Nothing, Just True]
[False, True]
>>> prettyBy () [Nothing, Just 'a', Just 'b', Nothing, Just 'c']
abc
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Maybe a → Doc ann Source #

prettyListBy ∷ config → [Maybe a] → Doc ann Source #

PrettyDefaultBy config [a] ⇒ PrettyBy config [a]

prettyBy for [a] is defined in terms of prettyListBy by default.

>>> prettyBy () [True, False]
[True, False]
>>> prettyBy () "abc"
abc
>>> prettyBy () [Just False, Nothing, Just True]
[False, True]
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → [a] → Doc ann Source #

prettyListBy ∷ config → [[a]] → Doc ann Source #

(PrettyUni uni, Pretty fun) ⇒ PrettyBy PrettyConfigPlc (CkValue uni fun) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.Ck

Methods

prettyBy ∷ PrettyConfigPlc → CkValue uni fun → Doc ann Source #

prettyListBy ∷ PrettyConfigPlc → [CkValue uni fun] → Doc ann Source #

(PrettyUni uni, Pretty fun) ⇒ PrettyBy PrettyConfigPlc (DischargeResult uni fun) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Methods

prettyBy ∷ PrettyConfigPlc → DischargeResult uni fun → Doc ann Source #

prettyListBy ∷ PrettyConfigPlc → [DischargeResult uni fun] → Doc ann Source #

(Closed uni, Everywhere uni PrettyConst) ⇒ PrettyBy ConstConfig (ValueOf uni a) Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

prettyBy ∷ ConstConfig → ValueOf uni a → Doc ann Source #

prettyListBy ∷ ConstConfig → [ValueOf uni a] → Doc ann Source #

(Closed uni, Everywhere uni PrettyConst) ⇒ PrettyBy ConstConfig (Some (ValueOf uni)) Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

prettyBy ∷ ConstConfig → Some (ValueOf uni) → Doc ann Source #

prettyListBy ∷ ConstConfig → [Some (ValueOf uni)] → Doc ann Source #

PrettyDefaultBy config (Either a b) ⇒ PrettyBy config (Either a b) Source #

An instance extending the set of types supporting default pretty-printing with Either.

Instance details

Defined in PlutusPrelude

Methods

prettyBy ∷ config → Either a b → Doc ann Source #

prettyListBy ∷ config → [Either a b] → Doc ann Source #

PrettyDefaultBy config (Map k v) ⇒ PrettyBy config (Map k v) Source # 
Instance details

Defined in PlutusCore.Pretty.Extra

Methods

prettyBy ∷ config → Map k v → Doc ann Source #

prettyListBy ∷ config → [Map k v] → Doc ann Source #

(HasPrettyDefaults config ~ 'True, PrettyBy config structural, Pretty operational) ⇒ PrettyBy config (EvaluationError structural operational) Source # 
Instance details

Defined in PlutusCore.Evaluation.Error

Methods

prettyBy ∷ config → EvaluationError structural operational → Doc ann Source #

prettyListBy ∷ config → [EvaluationError structural operational] → Doc ann Source #

(PrettyBy config cause, PrettyBy config err) ⇒ PrettyBy config (ErrorWithCause err cause) Source # 
Instance details

Defined in PlutusCore.Evaluation.ErrorWithCause

Methods

prettyBy ∷ config → ErrorWithCause err cause → Doc ann Source #

prettyListBy ∷ config → [ErrorWithCause err cause] → Doc ann Source #

PrettyDefaultBy config (a, b) ⇒ PrettyBy config (a, b)
>>> prettyBy () (False, "abc")
(False, abc)
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → (a, b) → Doc ann Source #

prettyListBy ∷ config → [(a, b)] → Doc ann Source #

DefaultPrettyPlcStrategy (Type tyname uni ann) ⇒ PrettyBy PrettyConfigPlc (Type tyname uni ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Plc

Methods

prettyBy ∷ PrettyConfigPlc → Type tyname uni ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [Type tyname uni ann] → Doc ann0 Source #

(PrettyUni uni, Pretty fun, Pretty ann) ⇒ PrettyBy PrettyConfigPlc (Error uni fun ann) Source # 
Instance details

Defined in PlutusCore.Error

Methods

prettyBy ∷ PrettyConfigPlc → Error uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [Error uni fun ann] → Doc ann0 Source #

(PrettyUni uni, Pretty fun) ⇒ PrettyBy PrettyConfigPlc (CekValue uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Methods

prettyBy ∷ PrettyConfigPlc → CekValue uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [CekValue uni fun ann] → Doc ann0 Source #

PrettyDefaultBy config (Const a b) ⇒ PrettyBy config (Const a b)

Non-polykinded, because Pretty (Const a b) is not polykinded either.

>>> prettyBy () (Const 1 :: Const Integer Bool)
1
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Const a b → Doc ann Source #

prettyListBy ∷ config → [Const a b] → Doc ann Source #

PrettyDefaultBy config (HeadSpine err a b) ⇒ PrettyBy config (HeadSpine err a b) Source # 
Instance details

Defined in PlutusCore.Builtin.KnownType

Methods

prettyBy ∷ config → HeadSpine err a b → Doc ann Source #

prettyListBy ∷ config → [HeadSpine err a b] → Doc ann Source #

PrettyDefaultBy config (a, b, c) ⇒ PrettyBy config (a, b, c)
>>> prettyBy () ('a', "bcd", True)
(a, bcd, True)
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → (a, b, c) → Doc ann Source #

prettyListBy ∷ config → [(a, b, c)] → Doc ann Source #

(Pretty term, PrettyUni uni, Pretty fun, Pretty ann) ⇒ PrettyBy PrettyConfigPlc (TypeError term uni fun ann) Source # 
Instance details

Defined in PlutusCore.Error

Methods

prettyBy ∷ PrettyConfigPlc → TypeError term uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [TypeError term uni fun ann] → Doc ann0 Source #

DefaultPrettyPlcStrategy (UnrestrictedProgram name uni fun ann) ⇒ PrettyBy PrettyConfigPlc (UnrestrictedProgram name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Flat

Methods

prettyBy ∷ PrettyConfigPlc → UnrestrictedProgram name uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [UnrestrictedProgram name uni fun ann] → Doc ann0 Source #

DefaultPrettyPlcStrategy (Program name uni fun ann) ⇒ PrettyBy PrettyConfigPlc (Program name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Pretty.Plc

Methods

prettyBy ∷ PrettyConfigPlc → Program name uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [Program name uni fun ann] → Doc ann0 Source #

DefaultPrettyPlcStrategy (Term name uni fun ann) ⇒ PrettyBy PrettyConfigPlc (Term name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Pretty.Plc

Methods

prettyBy ∷ PrettyConfigPlc → Term name uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [Term name uni fun ann] → Doc ann0 Source #

PrettyBy config (Term name uni fun a) ⇒ PrettyBy config (EvalOrder name uni fun a) Source # 
Instance details

Defined in UntypedPlutusCore.Purity

Methods

prettyBy ∷ config → EvalOrder name uni fun a → Doc ann Source #

prettyListBy ∷ config → [EvalOrder name uni fun a] → Doc ann Source #

PrettyBy config (Term name uni fun a) ⇒ PrettyBy config (EvalTerm name uni fun a) Source # 
Instance details

Defined in UntypedPlutusCore.Purity

Methods

prettyBy ∷ config → EvalTerm name uni fun a → Doc ann Source #

prettyListBy ∷ config → [EvalTerm name uni fun a] → Doc ann Source #

DefaultPrettyPlcStrategy (Program tyname name uni fun ann) ⇒ PrettyBy PrettyConfigPlc (Program tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Plc

Methods

prettyBy ∷ PrettyConfigPlc → Program tyname name uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [Program tyname name uni fun ann] → Doc ann0 Source #

DefaultPrettyPlcStrategy (Term tyname name uni fun ann) ⇒ PrettyBy PrettyConfigPlc (Term tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Plc

Methods

prettyBy ∷ PrettyConfigPlc → Term tyname name uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigPlc → [Term tyname name uni fun ann] → Doc ann0 Source #

(Pretty ann, PrettyBy config (Type tyname uni ann), PrettyBy config (Term tyname name uni fun ann)) ⇒ PrettyBy config (NormCheckError tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Error

Methods

prettyBy ∷ config → NormCheckError tyname name uni fun ann → Doc ann0 Source #

prettyListBy ∷ config → [NormCheckError tyname name uni fun ann] → Doc ann0 Source #

Pretty ann ⇒ PrettyBy (PrettyConfigClassic configName) (Kind ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Classic

Methods

prettyBy ∷ PrettyConfigClassic configName → Kind ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigClassic configName → [Kind ann] → Doc ann0 Source #

PrettyBy (PrettyConfigReadable configName) (Kind a) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Readable

Methods

prettyBy ∷ PrettyConfigReadable configName → Kind a → Doc ann Source #

prettyListBy ∷ PrettyConfigReadable configName → [Kind a] → Doc ann Source #

PrettyReadableBy configName a ⇒ PrettyBy (PrettyConfigReadable configName) (Parened a) Source # 
Instance details

Defined in PlutusCore.Pretty.Readable

Methods

prettyBy ∷ PrettyConfigReadable configName → Parened a → Doc ann Source #

prettyListBy ∷ PrettyConfigReadable configName → [Parened a] → Doc ann Source #

PrettyReadableBy configName tyname ⇒ PrettyBy (PrettyConfigReadable configName) (TyVarDecl tyname ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Readable

Methods

prettyBy ∷ PrettyConfigReadable configName → TyVarDecl tyname ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigReadable configName → [TyVarDecl tyname ann] → Doc ann0 Source #

(PrettyClassicBy configName tyname, PrettyParens (SomeTypeIn uni), Pretty ann) ⇒ PrettyBy (PrettyConfigClassic configName) (Type tyname uni ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Classic

Methods

prettyBy ∷ PrettyConfigClassic configName → Type tyname uni ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigClassic configName → [Type tyname uni ann] → Doc ann0 Source #

(PrettyReadableBy configName tyname, PrettyParens (SomeTypeIn uni)) ⇒ PrettyBy (PrettyConfigReadable configName) (Type tyname uni a) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Readable

Methods

prettyBy ∷ PrettyConfigReadable configName → Type tyname uni a → Doc ann Source #

prettyListBy ∷ PrettyConfigReadable configName → [Type tyname uni a] → Doc ann Source #

(PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) ⇒ PrettyBy (PrettyConfigClassic PrettyConfigName) (UnrestrictedProgram name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Flat

(PrettyClassicBy configName (Term name uni fun ann), Pretty ann) ⇒ PrettyBy (PrettyConfigClassic configName) (Program name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Pretty.Classic

Methods

prettyBy ∷ PrettyConfigClassic configName → Program name uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigClassic configName → [Program name uni fun ann] → Doc ann0 Source #

(PrettyClassicBy configName name, PrettyUni uni, Pretty fun, Pretty ann) ⇒ PrettyBy (PrettyConfigClassic configName) (Term name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Pretty.Classic

Methods

prettyBy ∷ PrettyConfigClassic configName → Term name uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigClassic configName → [Term name uni fun ann] → Doc ann0 Source #

(PrettyReadable name, PrettyUni uni, Pretty fun) ⇒ PrettyBy (PrettyConfigReadable PrettyConfigName) (UnrestrictedProgram name uni fun ann) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Flat

(PrettyReadableBy configName tyname, PrettyReadableBy configName name, PrettyUni uni) ⇒ PrettyBy (PrettyConfigReadable configName) (VarDecl tyname name uni ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Readable

Methods

prettyBy ∷ PrettyConfigReadable configName → VarDecl tyname name uni ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigReadable configName → [VarDecl tyname name uni ann] → Doc ann0 Source #

PrettyReadableBy configName (Term name uni fun a) ⇒ PrettyBy (PrettyConfigReadable configName) (Program name uni fun a) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Pretty.Readable

Methods

prettyBy ∷ PrettyConfigReadable configName → Program name uni fun a → Doc ann Source #

prettyListBy ∷ PrettyConfigReadable configName → [Program name uni fun a] → Doc ann Source #

(PrettyReadableBy configName name, PrettyUni uni, Pretty fun, Show configName) ⇒ PrettyBy (PrettyConfigReadable configName) (Term name uni fun a) Source # 
Instance details

Defined in UntypedPlutusCore.Core.Instance.Pretty.Readable

Methods

prettyBy ∷ PrettyConfigReadable configName → Term name uni fun a → Doc ann Source #

prettyListBy ∷ PrettyConfigReadable configName → [Term name uni fun a] → Doc ann Source #

(PrettyClassicBy configName (Term tyname name uni fun ann), Pretty ann) ⇒ PrettyBy (PrettyConfigClassic configName) (Program tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Classic

Methods

prettyBy ∷ PrettyConfigClassic configName → Program tyname name uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigClassic configName → [Program tyname name uni fun ann] → Doc ann0 Source #

(PrettyClassicBy configName tyname, PrettyClassicBy configName name, PrettyUni uni, Pretty fun, Pretty ann) ⇒ PrettyBy (PrettyConfigClassic configName) (Term tyname name uni fun ann) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Classic

Methods

prettyBy ∷ PrettyConfigClassic configName → Term tyname name uni fun ann → Doc ann0 Source #

prettyListBy ∷ PrettyConfigClassic configName → [Term tyname name uni fun ann] → Doc ann0 Source #

PrettyReadableBy configName (Term tyname name uni fun a) ⇒ PrettyBy (PrettyConfigReadable configName) (Program tyname name uni fun a) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Readable

Methods

prettyBy ∷ PrettyConfigReadable configName → Program tyname name uni fun a → Doc ann Source #

prettyListBy ∷ PrettyConfigReadable configName → [Program tyname name uni fun a] → Doc ann Source #

(PrettyReadableBy configName tyname, PrettyReadableBy configName name, PrettyUni uni, Pretty fun) ⇒ PrettyBy (PrettyConfigReadable configName) (Term tyname name uni fun a) Source # 
Instance details

Defined in PlutusCore.Core.Instance.Pretty.Readable

Methods

prettyBy ∷ PrettyConfigReadable configName → Term tyname name uni fun a → Doc ann Source #

prettyListBy ∷ PrettyConfigReadable configName → [Term tyname name uni fun a] → Doc ann Source #

type family HasPrettyDefaults config ∷ Bool Source #

Determines whether a pretty-printing config allows default pretty-printing for types that support it. I.e. it's possible to create a new config and get access to pretty-printing for all types supporting default pretty-printing just by providing the right type instance. Example:

>>> data DefCfg = DefCfg
>>> type instance HasPrettyDefaults DefCfg = 'True
>>> prettyBy DefCfg (['a', 'b', 'c'], (1 :: Int), Just True)
(abc, 1, True)

The set of types supporting default pretty-printing is determined by the prettyprinter library: whatever there has a Pretty instance also supports default pretty-printing in this library and the behavior of pretty x and prettyBy config_with_defaults x must be identical when x is one of such types.

It is possible to override default pretty-printing. For this you need to specify that HasPrettyDefaults is 'False for your config and then define a NonDefaultPrettyBy config instance for each of the types supporting default pretty-printing that you want to pretty-print values of. Note that once HasPrettyDefaults is specified to be 'False, all defaults are lost for your config, so you can't override default pretty-printing for one type and keep the defaults for all the others. I.e. if you have

>>> data NonDefCfg = NonDefCfg
>>> type instance HasPrettyDefaults NonDefCfg = 'False

then you have no defaults available and an attempt to pretty-print a value of a type supporting default pretty-printing

prettyBy NonDefCfg True

results in a type error:

• No instance for (NonDefaultPrettyBy NonDef Bool)
     arising from a use of ‘prettyBy’

As the error suggests you need to provide a NonDefaultPrettyBy instance explicitly:

>>> instance NonDefaultPrettyBy NonDefCfg Bool where nonDefaultPrettyBy _ b = if b then "t" else "f"
>>> prettyBy NonDefCfg True
t

It is also possible not to provide any implementation for nonDefaultPrettyBy, in which case it defaults to being the default pretty-printing for the given type. This can be useful to recover default pretty-printing for types pretty-printing of which you don't want to override:

>>> instance NonDefaultPrettyBy NonDefCfg Int
>>> prettyBy NonDefCfg (42 :: Int)
42

Look into test/NonDefault.hs for an extended example.

We could give the user more fine-grained control over what defaults to override instead of requiring to explicitly provide all the instances whenever there's a need to override any default behavior, but that would complicate the library even more, so we opted for not doing that at the moment.

Note that you can always override default behavior by wrapping a type in newtype and providing a PrettyBy config_name instance for that newtype.

Also note that if you want to extend the set of types supporting default pretty-printing it's not enough to provide a Pretty instance for your type (such logic is hardly expressible in present day Haskell). Read the docs of DefaultPrettyBy for how to extend the set of types supporting default pretty-printing.

Instances

Instances details
type HasPrettyDefaults PrettyConfigName Source # 
Instance details

Defined in PlutusCore.Pretty.ConfigName

type HasPrettyDefaults PrettyConfigPlc Source # 
Instance details

Defined in PlutusCore.Pretty.Plc

type HasPrettyDefaults ConstConfig Source # 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

type HasPrettyDefaults ()

prettyBy () works like pretty for types supporting default pretty-printing.

Instance details

Defined in Text.PrettyBy.Internal

type HasPrettyDefaults (PrettyConfigClassic _1) Source # 
Instance details

Defined in PlutusCore.Pretty.Classic

type HasPrettyDefaults (PrettyConfigReadable _1) Source # 
Instance details

Defined in PlutusCore.Pretty.Readable

type HasPrettyDefaults (Sole config) Source # 
Instance details

Defined in PlutusCore.Pretty.Extra

type PrettyDefaultBy config = DispatchPrettyDefaultBy (NonStuckHasPrettyDefaults config) config Source #

PrettyDefaultBy config a is the same thing as PrettyBy config a, when a supports default pretty-printing. Thus PrettyDefaultBy config a and PrettyBy config a are interchangeable constraints for such types, but the latter throws an annoying "this makes type inference for inner bindings fragile" warning, unlike the former. PrettyDefaultBy config a reads as "a supports default pretty-printing and can be pretty-printed via config in either default or non-default manner depending on whether config supports default pretty-printing".

newtype PrettyAny a Source #

A newtype wrapper around a provided for the purporse of defining PrettyBy instances handling any a. For example you can wrap values with the PrettyAny constructor directly like in this last line of

>>> data ViaShow = ViaShow
>>> instance Show a => PrettyBy ViaShow (PrettyAny a) where prettyBy ViaShow = pretty . show . unPrettyAny
>>> prettyBy ViaShow $ PrettyAny True
True

or you can use the type to via-derive instances:

>>> data D = D deriving stock (Show)
>>> deriving via PrettyAny D instance PrettyBy ViaShow D
>>> prettyBy ViaShow D
D

One important use case is handling sum-type configs. For example having two configs you can define their sum and derive PrettyBy for the unified config in terms of its components:

>>> data UpperCase = UpperCase
>>> data LowerCase = LowerCase
>>> data Case = CaseUpperCase UpperCase | CaseLowerCase LowerCase
>>> instance (PrettyBy UpperCase a, PrettyBy LowerCase a) => PrettyBy Case (PrettyAny a) where prettyBy (CaseUpperCase upper) = prettyBy upper . unPrettyAny; prettyBy (CaseLowerCase lower) = prettyBy lower . unPrettyAny

Then having a data type implementing both PrettyBy UpperCase and PrettyBy LowerCase you can derive PrettyBy Case for that data type:

>>> data D = D
>>> instance PrettyBy UpperCase D where prettyBy UpperCase D = "D"
>>> instance PrettyBy LowerCase D where prettyBy LowerCase D = "d"
>>> deriving via PrettyAny D instance PrettyBy Case D
>>> prettyBy UpperCase D
D
>>> prettyBy LowerCase D
d

Look into test/Universal.hs for an extended example.

Constructors

PrettyAny 

Fields

class Render str where Source #

A class for rendering Docs as string types.

Methods

render ∷ Doc ann → str Source #

Render a Doc as a string type.

Instances

Instances details
Render Text 
Instance details

Defined in Text.PrettyBy.Default

Methods

render ∷ Doc ann → Text Source #

Render Text 
Instance details

Defined in Text.PrettyBy.Default

Methods

render ∷ Doc ann → Text Source #

a ~ Char ⇒ Render [a] 
Instance details

Defined in Text.PrettyBy.Default

Methods

render ∷ Doc ann → [a] Source #

display ∷ ∀ str a. (Pretty a, Render str) ⇒ a → str Source #

Pretty-print and render a value as a string type.

GHCi

printPretty ∷ Pretty a ⇒ a → IO () Source #

A command suitable for use in GHCi as an interactive printer.

Text

showText ∷ Show a ⇒ a → Text Source #

class Default a where #

Minimal complete definition

Nothing

Methods

def ∷ a #

Instances

Instances details
Default All 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ All #

Default Any 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Any #

Default CBool 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CBool #

Default CClock 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CClock #

Default CDouble 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CDouble #

Default CFloat 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CFloat #

Default CInt 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CInt #

Default CIntMax 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CIntMax #

Default CIntPtr 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CIntPtr #

Default CLLong 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CLLong #

Default CLong 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CLong #

Default CPtrdiff 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CPtrdiff #

Default CSUSeconds 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CSUSeconds #

Default CShort 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CShort #

Default CSigAtomic 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CSigAtomic #

Default CSize 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CSize #

Default CTime 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CTime #

Default CUInt 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CUInt #

Default CUIntMax 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CUIntMax #

Default CUIntPtr 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CUIntPtr #

Default CULLong 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CULLong #

Default CULong 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CULong #

Default CUSeconds 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CUSeconds #

Default CUShort 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ CUShort #

Default IntPtr 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ IntPtr #

Default WordPtr 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ WordPtr #

Default Int16 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Int16 #

Default Int32 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Int32 #

Default Int64 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Int64 #

Default Int8 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Int8 #

Default Word16 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Word16 #

Default Word32 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Word32 #

Default Word64 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Word64 #

Default Word8 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Word8 #

Default IntSet 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ IntSet #

Default Ordering 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Ordering #

Default Ann Source # 
Instance details

Defined in PlutusCore.Annotation

Methods

def ∷ Ann #

Default ModelFiveArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Default ModelFourArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Default ModelOneArgument Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Default ModelSixArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Default ModelThreeArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Default ModelTwoArguments Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Default ShowKinds Source # 
Instance details

Defined in PlutusCore.Pretty.Readable

Methods

def ∷ ShowKinds #

Default Integer 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Integer #

Default () 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ () #

Default Bool 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Bool #

Default Double 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Double #

Default Float 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Float #

Default Int 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Int #

Default Word 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Word #

(Default a, RealFloat a) ⇒ Default (Complex a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Complex a #

Default a ⇒ Default (Identity a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Identity a #

Default (First a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ First a #

Default (Last a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Last a #

Default a ⇒ Default (Dual a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Dual a #

Default (Endo a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Endo a #

Num a ⇒ Default (Product a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Product a #

Num a ⇒ Default (Sum a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Sum a #

Default (ConstPtr a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ ConstPtr a #

Default (FunPtr a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ FunPtr a #

Default (Ptr a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Ptr a #

Integral a ⇒ Default (Ratio a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Ratio a #

Default (IntMap v) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ IntMap v #

Default (Seq a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Seq a #

Default (Set v) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Set v #

Default a ⇒ Default (Tree a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Tree a #

CaseBuiltin uni ⇒ Default (CaserBuiltin uni) Source # 
Instance details

Defined in PlutusCore.Builtin.Case

Methods

def ∷ CaserBuiltin uni #

(Default (BuiltinSemanticsVariant fun1), Default (BuiltinSemanticsVariant fun2)) ⇒ Default (BuiltinSemanticsVariant (Either fun1 fun2)) Source # 
Instance details

Defined in PlutusCore.Examples.Builtins

Methods

def ∷ BuiltinSemanticsVariant (Either fun1 fun2) #

Default (BuiltinSemanticsVariant DefaultFun) Source # 
Instance details

Defined in PlutusCore.Default.Builtins

Default (BuiltinSemanticsVariant ExtensionFun) Source # 
Instance details

Defined in PlutusCore.Examples.Builtins

AllArgumentModels Default f ⇒ Default (BuiltinCostModelBase f) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Default model ⇒ Default (CostingFun model) Source # 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Methods

def ∷ CostingFun model #

Default (Maybe a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Maybe a #

Default a ⇒ Default (a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a) #

Default [a] 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ [a] #

HasResolution a ⇒ Default (Fixed a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Fixed a #

Default (Proxy a) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Proxy a #

Default (Map k v) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Map k v #

Default (InlineHints name a) Source # 
Instance details

Defined in PlutusCore.Annotation

Methods

def ∷ InlineHints name a #

Default (BuiltinsInfo DefaultUni DefaultFun) Source # 
Instance details

Defined in UntypedPlutusCore.Analysis.Builtins

(Default a1, Default a2) ⇒ Default (a1, a2) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2) #

Default a ⇒ Default (Const a b) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ Const a b #

(Default a1, Default a2, Default a3) ⇒ Default (a1, a2, a3) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3) #

(Default a1, Default a2, Default a3, Default a4) ⇒ Default (a1, a2, a3, a4) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4) #

(Default a1, Default a2, Default a3, Default a4, Default a5) ⇒ Default (a1, a2, a3, a4, a5) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6) ⇒ Default (a1, a2, a3, a4, a5, a6) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7) ⇒ Default (a1, a2, a3, a4, a5, a6, a7) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22, Default a23) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22, Default a23, Default a24) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22, Default a23, Default a24, Default a25) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22, Default a23, Default a24, Default a25, Default a26) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22, Default a23, Default a24, Default a25, Default a26, Default a27) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22, Default a23, Default a24, Default a25, Default a26, Default a27, Default a28) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22, Default a23, Default a24, Default a25, Default a26, Default a27, Default a28, Default a29) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22, Default a23, Default a24, Default a25, Default a26, Default a27, Default a28, Default a29, Default a30) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30) #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7, Default a8, Default a9, Default a10, Default a11, Default a12, Default a13, Default a14, Default a15, Default a16, Default a17, Default a18, Default a19, Default a20, Default a21, Default a22, Default a23, Default a24, Default a25, Default a26, Default a27, Default a28, Default a29, Default a30, Default a31) ⇒ Default (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31) 
Instance details

Defined in Data.Default.Internal

Methods

def ∷ (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31) #

Annotations

class HasAnn f where Source #

Types that have an outermost annotation.

Minimal complete definition

getAnn, modifyAnn

Methods

getAnn ∷ f a → a Source #

Get the outermost annotation.

modifyAnn ∷ (a → a) → f a → f a Source #

Modify the outermost annotation.

setAnn ∷ a → f a → f a Source #

Set the outermost annotation.

Instances

Instances details
HasAnn (Type tyname uni) Source # 
Instance details

Defined in PlutusCore.Core.Type

Methods

getAnn ∷ Type tyname uni a → a Source #

modifyAnn ∷ (a → a) → Type tyname uni a → Type tyname uni a Source #

setAnn ∷ a → Type tyname uni a → Type tyname uni a Source #

HasAnn (Term name uni fun) Source #

Return the outermost annotation of a Term.

Instance details

Defined in UntypedPlutusCore.Core.Type

Methods

getAnn ∷ Term name uni fun a → a Source #

modifyAnn ∷ (a → a) → Term name uni fun a → Term name uni fun a Source #

setAnn ∷ a → Term name uni fun a → Term name uni fun a Source #

HasAnn (Term tyname name uni fun) Source # 
Instance details

Defined in PlutusCore.Core.Type

Methods

getAnn ∷ Term tyname name uni fun a → a Source #

modifyAnn ∷ (a → a) → Term tyname name uni fun a → Term tyname name uni fun a Source #

setAnn ∷ a → Term tyname name uni fun a → Term tyname name uni fun a Source #

Lists

zipExact ∷ [a] → [b] → Maybe [(a, b)] Source #

Zips two lists of the same length together, returning Nothing if they are not the same length.

allSame ∷ Eq a ⇒ [a] → Bool Source #

distinct ∷ Eq a ⇒ [a] → Bool Source #

unsafeFromRight ∷ Show e ⇒ Either e a → a Source #

Similar to Maybe's fromJust. Returns the Right and errors out with the show instance of the Left.

addTheRest ∷ [a] → [(a, [a])] Source #

Pair each element of the given list with all the other elements.

>>> addTheRest "abcd"
[('a',"bcd"),('b',"acd"),('c',"abd"),('d',"abc")] 

Orphan instances

(PrettyBy config a, PrettyBy config b) ⇒ DefaultPrettyBy config (Either a b) Source #

Default pretty-printing for the spine of Either (elements are pretty-printed the way PrettyBy config constraints specify it).

Instance details

Methods

defaultPrettyBy ∷ config → Either a b → Doc ann Source #

defaultPrettyListBy ∷ config → [Either a b] → Doc ann Source #

PrettyDefaultBy config (Either a b) ⇒ PrettyBy config (Either a b) Source #

An instance extending the set of types supporting default pretty-printing with Either.

Instance details

Methods

prettyBy ∷ config → Either a b → Doc ann Source #

prettyListBy ∷ config → [Either a b] → Doc ann Source #

(Pretty a, Pretty b) ⇒ Pretty (Either a b) Source # 
Instance details

Methods

pretty ∷ Either a b → Doc ann Source #

prettyList ∷ [Either a b] → Doc ann Source #