Moduleplutus-core-1.70.0.0
PlutusPrelude
- 10 types
- 11 classes
- 58 values
- Packageplutus-core-1.70.0.0
- Exports86
- LicenceApache-2.0
- SourceExtra.hs
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
join [[1, 2, 3], [4, 5, 6], [7, 8, 9]][1,2,3,4,5,6,7,8,9]
join (Just (Just 3))Just 3
A common use of join is to run an IO computation returned from
an GHC.Conc.STM transaction, since GHC.Conc.STM transactions
can't perform IO directly. Recall that
GHC.Internal.Conc.atomically :: STM a -> IO a
is used to run GHC.Conc.STM transactions atomically. So, by
specializing the types of GHC.Internal.Conc.atomically and join to
GHC.Internal.Conc.atomically :: STM (IO b) -> IO (IO b)
join :: IO (IO b) -> IO b
we can compose them as
join . GHC.Internal.Conc.atomically :: STM (IO b) -> IO b
to run an GHC.Conc.STM transaction and the IO action it
returns.
Left-to-right composition. This is useful if you want to write a morphism as a pipeline going from left to right.
Conditional failure of Alternative computations. Defined by
guard True = pure ()
guard False = empty
Examples
Common uses of guard include conditionally signalling an error in an error monad and conditionally rejecting the current choice in an Alternative-based parser.
As an example of signalling 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 0Nothing
safeDiv 4 2Just 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)
Return the contents of a Right-value or a default value otherwise.
Examples
Basic usage:
fromRight 1 (Right 3)3fromRight 1 (Left "foo")1
Return True if the given value is a Left-value, False otherwise.
Examples
Basic usage:
isLeft (Left "foo")TrueisLeft (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
Return True if the given value is a Right-value, False otherwise.
Examples
Basic usage:
isRight (Left "foo")FalseisRight (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
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
Basic usage:
for_ [1..4] print1234
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
Basic usage:
traverse_ print ["Hello", "world", "!"]"Hello""world""!"
& 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 $.
This is a version of flip id, where id is specialized from a -> a to (a -> b) -> (a -> b)
which by the associativity of (->) is (a -> b) -> a -> b.
flipping this yields a -> (a -> b) -> b which is the type signature of &
Examples
5 & (+1) & show"6"
sqrt $ [1 / n^2 | n <- [1..1000]] & sum & (*6)3.1406380562059946
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.
(op `on` f) x y = f x `op` f yExamples
sortBy (compare `on` length) [[0, 1, 2], [0, 1], [], [0]][[],[0],[0,1],[0,1,2]]
((+) `on` length) [1, 2, 3] [-1]4
((,) `on` (*2)) 2 3(4,6)
Algebraic properties
Flipped version of <$.
Examples
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")
void value discards or ignores the result of evaluation, such
as the return value of an System.IO.IO action.
Examples
Replace the contents of a Maybe Int with unit:
void NothingNothing
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 System.IO.IO action:
mapM print [1,2]12[(),()]
void $ mapM print [1,2]12
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
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 GHC.Internal.Text.Read ( readMaybe )fromMaybe 0 (readMaybe "5")5fromMaybe 0 (readMaybe "")0
isJust x returns True when x is of the form Just _ and False
otherwise.
Examples
Basic usage:
isJust (Just 3)True
isJust (Just ())True
isJust NothingFalse
Only the outer constructor is taken into consideration:
isJust (Just Nothing)True
isNothing x returns True when x is Nothing and False otherwise.
Examples
Basic usage:
isNothing (Just 3)False
isNothing (Just ())False
isNothing NothingTrue
Only the outer constructor is taken into consideration:
isNothing (Just Nothing)False
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 = showtrace ("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.
Like traceShow but returns the shown value instead of a third value.
traceShowId (1+2+3, "hello" ++ "world")(6,"helloworld")(6,"helloworld")
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.
View the value pointed to by a Getter or Lens or the
result of folding over all the results of a Control.Lens.Fold.Fold or
Control.Lens.Traversal.Traversal that points at a monoidal values.
This is the same operation as view with the arguments flipped.
The fixity and semantics are such that subsequent field accesses can be
performed with (Prelude..).
(a,b)^._2b
("hello","world")^._2"world"
import Data.Complex((0, 1 :+ 2), 3)^._1._2.to magnitude2.23606797749979
(^.) :: s -> Getter s a -> a
(^.) :: Monoid m => s -> Control.Lens.Fold.Fold s m -> m
(^.) :: s -> Control.Lens.Iso.Iso' s a -> a
(^.) :: s -> Lens' s a -> a
(^.) :: Monoid m => s -> Control.Lens.Traversal.Traversal' s m -> m
View the value pointed to by a Getter, Control.Lens.Iso.Iso or
Lens or the result of folding over all the results of a
Fold or Control.Lens.Traversal.Traversal that points
at a monoidal value.
view . to ≡ id
view (to f) af a
view _2 (1,"hello")"hello"
view (to succ) 56
view (_2._1) ("hello",("world","!!!"))"world"
As view is commonly used to access the target of a Getter or obtain a monoidal summary of the targets of a Fold, It may be useful to think of it as having one of these more restricted signatures:
view :: Getter s a -> s -> a
view :: Monoid m => Fold s m -> s -> m
view :: Control.Lens.Iso.Iso' s a -> s -> a
view :: Lens' s a -> s -> a
view :: Monoid m => Control.Lens.Traversal.Traversal' s m -> s -> m
In a more general setting, such as when working with a Monad transformer stack you can use:
view :: MonadReader s m => Getter s a -> m a
view :: (MonadReader s m, Monoid a) => Fold s a -> m a
view :: MonadReader s m => Control.Lens.Iso.Iso' s a -> m a
view :: MonadReader s m => Lens' s a -> m a
view :: (MonadReader s m, Monoid a) => Control.Lens.Traversal.Traversal' s a -> m a
Build a Lens from a getter and a setter.
lens :: Functor f => (s -> a) -> (s -> b -> t) -> (a -> f b) -> s -> f t
s ^. lens getter settergetter s
s & lens getter setter .~ bsetter s b
s & lens getter setter %~ fsetter s (f (getter s))
lens :: (s -> a) -> (s -> a -> s) -> Lens' s a
Modifies the target of a Lens or all of the targets of a Setter or Traversal with a user supplied function.
This is an infix version of over.
fmap f ≡ mapped %~ f
fmapDefault f ≡ traverse %~ f
(a,b,c) & _3 %~ f(a,b,f c)
(a,b) & both %~ f(f a,f b)
_2 %~ length $ (1,"hello")(1,5)
traverse %~ f $ [a,b,c][f a,f b,f c]
traverse %~ even $ [1,2,3][False,True,False]
traverse.traverse %~ length $ [["hello","world"],["!!!"]][[5,5],[3]]
(%~) :: Setter s t a b -> (a -> b) -> s -> t
(%~) :: Iso s t a b -> (a -> b) -> s -> t
(%~) :: Lens s t a b -> (a -> b) -> s -> t
(%~) :: Traversal s t a b -> (a -> b) -> s -> t
Replace the target of a Lens or all of the targets of a Setter or Traversal with a constant value.
This is an infix version of set, provided for consistency with (.=).
f <$ a ≡ mapped .~ f $ a
(a,b,c,d) & _4 .~ e(a,b,c,e)
(42,"world") & _1 .~ "hello"("hello","world")
(a,b) & both .~ c(c,c)
(.~) :: Setter s t a b -> b -> s -> t
(.~) :: Iso s t a b -> b -> s -> t
(.~) :: Lens s t a b -> b -> s -> t
(.~) :: Traversal s t a b -> b -> s -> t
Modify the target of a Lens or all the targets of a Setter or Traversal with a function.
fmap ≡ over mapped
fmapDefault ≡ over traverse
sets . over ≡ id
over . sets ≡ id
Given any valid Setter l, you can also rely on the law:
over l f . over l g = over l (f . g)
e.g.
over mapped f (over mapped g [a,b,c]) == over mapped (f . g) [a,b,c]True
Another way to view over is to say that it transforms a Setter into a "semantic editor combinator".
over mapped f (Just a)Just (f a)
over mapped (*10) [1,2,3][10,20,30]
over _1 f (a,b)(f a,b)
over _1 show (10,20)("10",20)
over :: Setter s t a b -> (a -> b) -> s -> t
over :: ASetter s t a b -> (a -> b) -> s -> t
Replace the target of a Lens or all of the targets of a Setter or Traversal with a constant value.
(<$) ≡ set mapped
set _2 "hello" (1,())(1,"hello")
set mapped () [1,2,3,4][(),(),(),()]
Note: Attempting to set a Fold or Getter will fail at compile time with an relatively nice error message.
set :: Setter s t a b -> b -> s -> t
set :: Iso s t a b -> b -> s -> t
set :: Lens s t a b -> b -> s -> t
set :: Traversal s t a b -> b -> s -> t
Pretty-print and render a value as a string type.
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
newtype TTL = TTL Int deriving (Eq, Ord, Show)newtype Age = Age Int deriving (Eq, Ord, Show)coerce (Age 42) :: TTLTTL 42coerce (+ (1 :: Int)) (Age 42) :: TTLTTL 43coerce (map (+ (1 :: Int))) [Age 42, Age 24] :: [TTL][TTL 43,TTL 25]
A class for types with a default value.
Methods
def :: aThe default value for this type.
Instances113Default, …
Default IntSetDefined in data-default-0.8.0.2 · Data.Default.InternalDefault IntegerDefined in data-default-0.8.0.2 · Data.Default.InternalDefault AllDefined in data-default-0.8.0.2 · Data.Default.InternalDefault AnyDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CBoolDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CClockDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CDoubleDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CFloatDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CIntDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CIntMaxDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CIntPtrDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CLLongDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CLongDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CPtrdiffDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CSUSecondsDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CShortDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CSigAtomicDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CSizeDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CTimeDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CUIntDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CUIntMaxDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CUIntPtrDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CULLongDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CULongDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CUSecondsDefined in data-default-0.8.0.2 · Data.Default.InternalDefault CUShortDefined in data-default-0.8.0.2 · Data.Default.InternalDefault IntPtrDefined in data-default-0.8.0.2 · Data.Default.InternalDefault WordPtrDefined in data-default-0.8.0.2 · Data.Default.InternalDefault Int16Defined in data-default-0.8.0.2 · Data.Default.InternalDefault Int32Defined in data-default-0.8.0.2 · Data.Default.InternalDefault Int64Defined in data-default-0.8.0.2 · Data.Default.InternalDefault Int8Defined in data-default-0.8.0.2 · Data.Default.InternalDefault BoolDefined in data-default-0.8.0.2 · Data.Default.InternalDefault DoubleDefined in data-default-0.8.0.2 · Data.Default.InternalDefault FloatDefined in data-default-0.8.0.2 · Data.Default.InternalDefault IntDefined in data-default-0.8.0.2 · Data.Default.InternalDefault OrderingDefined in data-default-0.8.0.2 · Data.Default.InternalDefault WordDefined in data-default-0.8.0.2 · Data.Default.InternalDefault Word16Defined in data-default-0.8.0.2 · Data.Default.InternalDefault Word32Defined in data-default-0.8.0.2 · Data.Default.InternalDefault Word64Defined in data-default-0.8.0.2 · Data.Default.InternalDefault Word8Defined in data-default-0.8.0.2 · Data.Default.InternalDefault AnnDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationDefault ModelFiveArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreDefault ModelFourArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreDefault ModelOneArgumentDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreDefault ModelSixArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreDefault ModelThreeArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreDefault ModelTwoArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreDefault ShowKindsDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.ReadableDefault ()Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (StrictMaybe t)Defined in cardano-strict-containers-0.1.6.0 · Data.Maybe.StrictDefault (IntMap v)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (Seq a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (Set v)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (First a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (Last a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (Endo a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (ConstPtr a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (Maybe a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (FunPtr a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (Ptr a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (BuiltinSemanticsVariant DefaultFun)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.BuiltinsDefault (BuiltinSemanticsVariant ExtensionFun)Defined in plutus-core-1.70.0.0 · PlutusCore.Examples.BuiltinsDefault [a]Defined in data-default-0.8.0.2 · Data.Default.InternalDefault a => Default (Tree a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault a => Default (Identity a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault a => Default (Dual a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault a => Default (a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault model => Default (CostingFun model)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNum a => Default (Product a)Defined in data-default-0.8.0.2 · Data.Default.InternalNum a => Default (Sum a)Defined in data-default-0.8.0.2 · Data.Default.InternalIntegral a => Default (Ratio a)Defined in data-default-0.8.0.2 · Data.Default.InternalCaseBuiltin uni => Default (CaserBuiltin uni)Defined in plutus-core-1.70.0.0 · PlutusCore.Builtin.CaseAllArgumentModels Default f => Default (BuiltinCostModelBase f)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.BuiltinCostModel(Default (BuiltinSemanticsVariant fun1), Default (BuiltinSemanticsVariant fun2)) => Default (BuiltinSemanticsVariant (Either fun1 fun2))Defined in plutus-core-1.70.0.0 · PlutusCore.Examples.Builtins · orphan(Default a, RealFloat a) => Default (Complex a)Defined in data-default-0.8.0.2 · Data.Default.InternalHasResolution a => Default (Fixed a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (Map k v)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (Proxy a)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault (InlineHints name a)Defined in plutus-core-1.70.0.0 · PlutusCore.AnnotationDefault (BuiltinsInfo DefaultUni DefaultFun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Analysis.Builtins(Default a1, Default a2) => Default (a1, a2)Defined in data-default-0.8.0.2 · Data.Default.InternalDefault a => Default (Const a b)Defined in data-default-0.8.0.2 · Data.Default.Internal(Default a1, Default a2, Default a3) => Default (a1, a2, a3)Defined in data-default-0.8.0.2 · Data.Default.Internal(Default a1, Default a2, Default a3, Default a4) => Default (a1, a2, a3, a4)Defined in data-default-0.8.0.2 · Data.Default.Internal(Default a1, Default a2, Default a3, Default a4, Default a5) => Default (a1, a2, a3, a4, a5)Defined in data-default-0.8.0.2 · Data.Default.Internal(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6) => Default (a1, a2, a3, a4, a5, a6)Defined in data-default-0.8.0.2 · Data.Default.Internal(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7) => Default (a1, a2, a3, a4, a5, a6, a7)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal(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)Defined in data-default-0.8.0.2 · Data.Default.Internal
A class of types that can be fully evaluated.
Instances504Lifting2, Lifting, NFData, …
NFData KeyDefined in aeson-2.2.5.1 · Data.Aeson.KeyNFData JSONPathElementDefined in aeson-2.2.5.1 · Data.Aeson.Types.InternalNFData ValueDefined in aeson-2.2.5.1 · Data.Aeson.Types.InternalNFData NumberDefined in attoparsec-0.14.4 · Data.Attoparsec.NumberNFData ByteArrayDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData BinDefined in bin-0.1.4.1 · Data.BinNFData BinPDefined in bin-0.1.4.1 · Data.BinPNFData F2PolyDefined in bitvec-1.1.6.0 · Data.Bit.F2PolyNFData F2PolyDefined in bitvec-1.1.6.0 · Data.Bit.F2PolyTSNFData BitDefined in bitvec-1.1.6.0 · Data.Bit.InternalNFData BitDefined in bitvec-1.1.6.0 · Data.Bit.InternalTSNFData BufferDefined in bytestring-0.12.2.0 · Data.ByteString.Builder.InternalLike the
NFDatainstance forStrictByteString, this does not force theForeignPtrContentsfield of the underlyingForeignPtr.NFData BufferRangeDefined in bytestring-0.12.2.0 · Data.ByteString.Builder.InternalNFData ByteStringDefined in bytestring-0.12.2.0 · Data.ByteString.Internal.TypeNFData ByteStringDefined in bytestring-0.12.2.0 · Data.ByteString.Lazy.InternalNFData ShortByteStringDefined in bytestring-0.12.2.0 · Data.ByteString.Short.InternalNFData IPv4Defined in cardano-base-0.1.6.0 · Cardano.Base.IPNFData IPv6Defined in cardano-base-0.1.6.0 · Cardano.Base.IPNFData DecoderErrorDefined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORNFData BLS12381SignContextDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalNFData ScalarDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalNFData SeedDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.SeedNFData PointDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.SimpleNFData DeserialiseFailureDefined in cborg-0.2.10.0 · Codec.CBOR.ReadNFData IntSetDefined in containers-0.8 · Data.IntSet.InternalNFData AES128Defined in crypton-1.0.6 · Crypto.Cipher.AESNFData AES192Defined in crypton-1.0.6 · Crypto.Cipher.AESNFData AES256Defined in crypton-1.0.6 · Crypto.Cipher.AESNFData AESDefined in crypton-1.0.6 · Crypto.Cipher.AES.PrimitiveNFData AESCCMDefined in crypton-1.0.6 · Crypto.Cipher.AES.PrimitiveNFData AESGCMDefined in crypton-1.0.6 · Crypto.Cipher.AES.PrimitiveNFData AESOCBDefined in crypton-1.0.6 · Crypto.Cipher.AES.PrimitiveNFData BlowfishDefined in crypton-1.0.6 · Crypto.Cipher.BlowfishNFData Blowfish128Defined in crypton-1.0.6 · Crypto.Cipher.BlowfishNFData Blowfish256Defined in crypton-1.0.6 · Crypto.Cipher.BlowfishNFData Blowfish448Defined in crypton-1.0.6 · Crypto.Cipher.BlowfishNFData Blowfish64Defined in crypton-1.0.6 · Crypto.Cipher.BlowfishNFData ContextDefined in crypton-1.0.6 · Crypto.Cipher.Blowfish.PrimitiveNFData StateDefined in crypton-1.0.6 · Crypto.Cipher.ChaChaNFData StateSimpleDefined in crypton-1.0.6 · Crypto.Cipher.ChaChaNFData StateDefined in crypton-1.0.6 · Crypto.Cipher.RC4NFData StateDefined in crypton-1.0.6 · Crypto.Cipher.SalsaNFData AuthTagDefined in crypton-1.0.6 · Crypto.Cipher.Types.BaseNFData SharedSecretDefined in crypton-1.0.6 · Crypto.ECCNFData PointDefined in crypton-1.0.6 · Crypto.ECC.Edwards25519NFData ScalarDefined in crypton-1.0.6 · Crypto.ECC.Edwards25519NFData AuthDefined in crypton-1.0.6 · Crypto.MAC.Poly1305NFData DhSecretDefined in crypton-1.0.6 · Crypto.PubKey.Curve25519NFData PublicKeyDefined in crypton-1.0.6 · Crypto.PubKey.Curve25519NFData SecretKeyDefined in crypton-1.0.6 · Crypto.PubKey.Curve25519NFData DhSecretDefined in crypton-1.0.6 · Crypto.PubKey.Curve448NFData PublicKeyDefined in crypton-1.0.6 · Crypto.PubKey.Curve448NFData SecretKeyDefined in crypton-1.0.6 · Crypto.PubKey.Curve448NFData ParamsDefined in crypton-1.0.6 · Crypto.PubKey.DHNFData PrivateNumberDefined in crypton-1.0.6 · Crypto.PubKey.DHNFData PublicNumberDefined in crypton-1.0.6 · Crypto.PubKey.DHNFData SharedKeyDefined in crypton-1.0.6 · Crypto.PubKey.DHNFData KeyPairDefined in crypton-1.0.6 · Crypto.PubKey.DSANFData ParamsDefined in crypton-1.0.6 · Crypto.PubKey.DSANFData PrivateKeyDefined in crypton-1.0.6 · Crypto.PubKey.DSANFData PublicKeyDefined in crypton-1.0.6 · Crypto.PubKey.DSANFData SignatureDefined in crypton-1.0.6 · Crypto.PubKey.DSANFData PointDefined in crypton-1.0.6 · Crypto.PubKey.ECC.P256NFData ScalarDefined in crypton-1.0.6 · Crypto.PubKey.ECC.P256NFData CurveBinaryDefined in crypton-1.0.6 · Crypto.PubKey.ECC.TypesNFData PointDefined in crypton-1.0.6 · Crypto.PubKey.ECC.TypesNFData PublicKeyDefined in crypton-1.0.6 · Crypto.PubKey.Ed25519NFData SecretKeyDefined in crypton-1.0.6 · Crypto.PubKey.Ed25519NFData SignatureDefined in crypton-1.0.6 · Crypto.PubKey.Ed25519NFData PublicKeyDefined in crypton-1.0.6 · Crypto.PubKey.Ed448NFData SecretKeyDefined in crypton-1.0.6 · Crypto.PubKey.Ed448NFData SignatureDefined in crypton-1.0.6 · Crypto.PubKey.Ed448NFData EphemeralKeyDefined in crypton-1.0.6 · Crypto.PubKey.ElGamalNFData KeyPairDefined in crypton-1.0.6 · Crypto.PubKey.RSA.TypesNFData PrivateKeyDefined in crypton-1.0.6 · Crypto.PubKey.RSA.TypesNFData PublicKeyDefined in crypton-1.0.6 · Crypto.PubKey.RSA.TypesNFData ChaChaDRGDefined in crypton-1.0.6 · Crypto.Random.ChaChaDRGNFData NatDefined in fin-0.3.2 · Data.NatNFData VoidDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData IntegerDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData NaturalDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData ThreadIdDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData AllDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData AnyDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData TypeRepDefined in deepseq-1.5.1.0 · Control.DeepSeqNOTE: Prior to
deepseq-1.4.4.0this instance was only defined forbase-4.8.0.0and later.NFData UniqueDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData VersionDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData FingerprintDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CBoolDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CCharDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CClockDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CDoubleDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CFileDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CFloatDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CFposDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CIntDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CIntMaxDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CIntPtrDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CJmpBufDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CLLongDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CLongDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CPtrdiffDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CSCharDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CSUSecondsDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CShortDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CSigAtomicDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CSizeDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CTimeDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CUCharDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CUIntDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CUIntMaxDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CUIntPtrDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CULLongDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CULongDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CUSecondsDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CUShortDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CWcharDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData MaskingStateDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData ExitCodeDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData Int16Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData Int32Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData Int64Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData Int8Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData CallStackDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData SrcLocDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData BoolDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData CharDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData DoubleDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData FloatDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData IntDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData ModuleDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData OrderingDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData TyConDefined in deepseq-1.5.1.0 · Control.DeepSeqNOTE: Prior to
deepseq-1.4.4.0this instance was only defined forbase-4.8.0.0and later.NFData WordDefined in deepseq-1.5.1.0 · Control.DeepSeqNFData Word16Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData Word32Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData Word64Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData Word8Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData HalfDefined in half-0.3.3 · Numeric.Half.InternalNFData InvalidPosExceptionDefined in megaparsec-9.8.3 · Text.Megaparsec.PosNFData PosDefined in megaparsec-9.8.3 · Text.Megaparsec.PosNFData SourcePosDefined in megaparsec-9.8.3 · Text.Megaparsec.PosNFData BytesDefined in memory-0.18.0 · Data.ByteArray.BytesNFData ScrubbedBytesDefined in memory-0.18.0 · Data.ByteArray.ScrubbedBytesNFData FnvHash32Defined in memory-0.18.0 · Data.Memory.Hash.FNVNFData FnvHash64Defined in memory-0.18.0 · Data.Memory.Hash.FNVNFData IntMultiSetDefined in multiset-0.3.4.3 · Data.IntMultiSetNFData SockAddrDefined in network-3.2.9.0 · Network.Socket.TypesNFData URIDefined in network-uri-2.6.4.2 · Network.URINFData URIAuthDefined in network-uri-2.6.4.2 · Network.URINFData EncodingExceptionDefined in os-string-2.0.8 · System.OsString.Encoding.InternalNFData OsCharDefined in os-string-2.0.8 · System.OsString.Internal.TypesNFData OsStringDefined in os-string-2.0.8 · System.OsString.Internal.TypesNFData PosixCharDefined in os-string-2.0.8 · System.OsString.Internal.TypesNFData PosixStringDefined in os-string-2.0.8 · System.OsString.Internal.TypesNFData WindowsCharDefined in os-string-2.0.8 · System.OsString.Internal.TypesNFData WindowsStringDefined in os-string-2.0.8 · System.OsString.Internal.TypesNFData SrcSpanDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationNFData SrcSpansDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationNFData UnliftingErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Builtin.ResultNFData UnliftingEvaluationErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Builtin.ResultNFData ElementDefined in plutus-core-1.70.0.0 · PlutusCore.Crypto.BLS12_381.G1NFData ElementDefined in plutus-core-1.70.0.0 · PlutusCore.Crypto.BLS12_381.G2NFData MlResultDefined in plutus-core-1.70.0.0 · PlutusCore.Crypto.BLS12_381.PairingNFData DataDefined in plutus-core-1.70.0.0 · PlutusCore.DataNFData DeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalNFData FakeNamedDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalNFData FreeVariableErrorDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalNFData IndexDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalNFData NamedDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalNFData NamedTyDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalNFData TyDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalNFData DefaultFunDefined in plutus-core-1.70.0.0 · PlutusCore.Default.BuiltinsNFData ParserErrorDefined in plutus-core-1.70.0.0 · PlutusCore.ErrorNFData ParserErrorBundleDefined in plutus-core-1.70.0.0 · PlutusCore.ErrorNFData CkUserErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CkNFData CostModelApplyErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostModelInterfaceNFData Coefficient0Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData Coefficient00Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData Coefficient01Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData Coefficient02Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData Coefficient1Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData Coefficient10Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData Coefficient11Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData Coefficient12Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData Coefficient2Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData Coefficient20Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ExpModCostingFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData InterceptDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelConstantOrLinearDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelConstantOrOneArgumentDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelConstantOrTwoArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelFiveArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelFourArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelOneArgumentDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelSixArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelSubtractedSizesDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelThreeArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ModelTwoArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData OneVariableLinearFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData OneVariableQuadraticFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData SlopeDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData TwoVariableLinearFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData TwoVariableQuadraticFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData TwoVariableWithInteractionFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData ExBudgetDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExBudgetNFData ExRestrictingBudgetDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExBudgetNFData ExCPUDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryNFData ExMemoryDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryNFData NameDefined in plutus-core-1.70.0.0 · PlutusCore.Name.UniqueNFData TyNameDefined in plutus-core-1.70.0.0 · PlutusCore.Name.UniqueNFData UniqueDefined in plutus-core-1.70.0.0 · PlutusCore.Name.UniqueNFData KDefined in plutus-core-1.70.0.0 · PlutusCore.ValueNFData QuantityDefined in plutus-core-1.70.0.0 · PlutusCore.ValueNFData ValueDefined in plutus-core-1.70.0.0 · PlutusCore.ValueNFData VersionDefined in plutus-core-1.70.0.0 · PlutusCore.VersionNFData CountingStDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModeNFData RestrictingStDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModeNFData CekUserErrorDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.InternalNFData StepKindDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.InternalNFData InlineDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.HintsNFData CertifiedOptStageDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.TraceNFData UncertifiedOptStageDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.TraceNFData TextDetailsDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJNFData DocDefined in pretty-1.1.3.6 · Text.PrettyPrint.HughesPJNFData StdGenDefined in random-1.3.1 · System.Random.InternalNFData ScientificDefined in scientific-0.3.9.0 · Data.ScientificNFData SMGenDefined in splitmix-0.1.3.2 · System.Random.SplitMixNFData SMGenDefined in splitmix-0.1.3.2 · System.Random.SplitMix32NFData UnicodeExceptionDefined in text-2.1.3 · Data.Text.Encoding.ErrorNFData TextDefined in text-2.1.3 · Data.Text · orphanNFData TextDefined in text-2.1.3 · Data.Text.Lazy · orphanNFData ShortTextDefined in text-short-0.1.6.1 · Data.Text.Short.InternalNFData CalendarDiffDaysDefined in time-1.15 · Data.Time.Calendar.CalendarDiffDaysNFData DayDefined in time-1.15 · Data.Time.Calendar.DaysNFData MonthDefined in time-1.15 · Data.Time.Calendar.MonthNFData QuarterDefined in time-1.15 · Data.Time.Calendar.QuarterNFData QuarterOfYearDefined in time-1.15 · Data.Time.Calendar.QuarterNFData DayOfWeekDefined in time-1.15 · Data.Time.Calendar.WeekNFData AbsoluteTimeDefined in time-1.15 · Data.Time.Clock.Internal.AbsoluteTimeNFData DiffTimeDefined in time-1.15 · Data.Time.Clock.Internal.DiffTimeNFData NominalDiffTimeDefined in time-1.15 · Data.Time.Clock.Internal.NominalDiffTimeNFData SystemTimeDefined in time-1.15 · Data.Time.Clock.Internal.SystemTimeNFData UTCTimeDefined in time-1.15 · Data.Time.Clock.Internal.UTCTimeNFData UniversalTimeDefined in time-1.15 · Data.Time.Clock.Internal.UniversalTimeNFData CalendarDiffTimeDefined in time-1.15 · Data.Time.LocalTime.Internal.CalendarDiffTimeNFData LocalTimeDefined in time-1.15 · Data.Time.LocalTime.Internal.LocalTimeNFData TimeOfDayDefined in time-1.15 · Data.Time.LocalTime.Internal.TimeOfDayNFData TimeZoneDefined in time-1.15 · Data.Time.LocalTime.Internal.TimeZoneNFData ZonedTimeDefined in time-1.15 · Data.Time.LocalTime.Internal.ZonedTimeNFData UUIDDefined in uuid-types-1.0.6.1 · Data.UUID.Types.InternalNFData ()Defined in deepseq-1.5.1.0 · Control.DeepSeqLifting NFData MaybeDefined in constraints-0.14.4 · Data.Constraint.LiftingLifting NFData []Defined in constraints-0.14.4 · Data.Constraint.LiftingLifting2 NFData EitherDefined in constraints-0.14.4 · Data.Constraint.LiftingLifting2 NFData Tuple2Defined in constraints-0.14.4 · Data.Constraint.LiftingNFData a => Lifting NFData (Either a)Defined in constraints-0.14.4 · Data.Constraint.LiftingNFData a => Lifting NFData (Tuple2 a)Defined in constraints-0.14.4 · Data.Constraint.LiftingAllBF NFData f CekMachineCostsBase => NFData (CekMachineCostsBase f)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCostsNFData (MutableByteArray s)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData (Pos b)Defined in bin-0.1.4.1 · Data.Bin.PosNFData (PosP b)Defined in bin-0.1.4.1 · Data.BinP.PosPNFData (SBin n)Defined in bin-0.1.4.1 · Data.Type.BinNFData (SBinP n)Defined in bin-0.1.4.1 · Data.Type.BinPNFData (Wrd n)Defined in bin-0.1.4.1 · Data.WrdNFData (PossessionProofDSIGN (BLS12381DSIGN curve))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalNFData (SigDSIGN EcdsaSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.EcdsaSecp256k1NFData (SigDSIGN Ed25519DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed25519NFData (SigDSIGN MockDSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.MockNFData (SigDSIGN SchnorrSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.SchnorrSecp256k1NFData (SigDSIGN (BLS12381DSIGN curve))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalNFData (SigDSIGN d) => NFData (SigKES (SingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SingleNFData (SignKeyDSIGN EcdsaSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.EcdsaSecp256k1NFData (SignKeyDSIGN Ed25519DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed25519NFData (SignKeyDSIGN Ed448DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed448NFData (SignKeyDSIGN MockDSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.MockNFData (SignKeyDSIGN SchnorrSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.SchnorrSecp256k1NFData (SignKeyDSIGN (BLS12381DSIGN curve))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalNFData (SignKeyDSIGNM Ed25519DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed25519NFData (SignKeyDSIGNM d) => NFData (SignKeyKES (CompactSingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSingleNFData (SignKeyDSIGNM d) => NFData (SignKeyKES (SingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SingleNFData (VerKeyDSIGN EcdsaSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.EcdsaSecp256k1NFData (VerKeyDSIGN Ed25519DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed25519NFData (VerKeyDSIGN Ed448DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed448NFData (VerKeyDSIGN MockDSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.MockNFData (VerKeyDSIGN SchnorrSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.SchnorrSecp256k1NFData (VerKeyDSIGN (BLS12381DSIGN curve))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalNFData (VerKeyDSIGN d) => NFData (VerKeyKES (CompactSingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSingleNFData (VerKeyDSIGN d) => NFData (VerKeyKES (SingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SingleNFData (Point curve)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.EllipticCurve.BLS12_381.InternalNFData (VerKeyKES (CompactSumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSumNFData (VerKeyKES (MockKES t))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.MockNFData (VerKeyKES (SumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SumNFData (MLockedSizedBytes n)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.Libsodium.MLockedBytes.InternalNFData (MLockedSeed n)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.Libsodium.MLockedSeedNFData (MLockedForeignPtr a)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.Libsodium.Memory.InternalNFData (PackedBytes n)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.PackedBytes.InternalNFData (PinnedSizedBytes n)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.PinnedSizedBytesNFData (CertVRF MockVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.MockNFData (CertVRF NeverVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.NeverUsedNFData (CertVRF SimpleVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.SimpleNFData (OutputVRF v)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.ClassNFData (SignKeyVRF MockVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.MockNFData (SignKeyVRF NeverVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.NeverUsedNFData (SignKeyVRF SimpleVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.SimpleNFData (VerKeyVRF MockVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.MockNFData (VerKeyVRF NeverVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.NeverUsedNFData (VerKeyVRF SimpleVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.SimpleNFData (Dict c)Defined in constraints-0.14.4 · Data.ConstraintNFData (Scalar curve) => NFData (Signature curve)Defined in crypton-1.0.6 · Crypto.PubKey.ECDSANFData (Point curve)Defined in crypton-1.0.6 · Crypto.ECC.Simple.TypesNFData (Scalar curve)Defined in crypton-1.0.6 · Crypto.ECC.Simple.TypesNFData (Context a)Defined in crypton-1.0.6 · Crypto.Hash.TypesNFData (Digest a)Defined in crypton-1.0.6 · Crypto.Hash.TypesNFData (KMAC a)Defined in crypton-1.0.6 · Crypto.MAC.KMACNFData (KeyedBlake2 a)Defined in crypton-1.0.6 · Crypto.MAC.KeyedBlake2NFData (SecretKey curve)Defined in crypton-1.0.6 · Crypto.PubKey.EdDSANFData (Fin n)Defined in fin-0.3.2 · Data.FinNFData (SNat n)Defined in fin-0.3.2 · Data.Type.NatNFData (IORef a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNOTE: Only strict in the reference and not the referenced value.
NFData (MVar a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNOTE: Only strict in the reference and not the referenced value.
NFData (FunPtr a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData (Ptr a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData (StableName a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData (CaserBuiltin uni)Defined in plutus-core-1.70.0.0 · PlutusCore.Builtin.CaseNFData (BuiltinSemanticsVariant DefaultFun)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.BuiltinsNFData (BuiltinRuntime val)Defined in plutus-core-1.70.0.0 · PlutusCore.Builtin.RuntimeNFData (MachineError fun)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExceptionNFData (PrimArray a)Defined in primitive-0.9.1.0 · Data.Primitive.PrimArrayNFData (Vector a)Defined in vector-0.13.2.0 · Data.Vector.PrimitiveNFData (Vector a)Defined in vector-0.13.2.0 · Data.Vector.StorableNFData (Vector a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.BaseNFData a => NFData (Only a)Defined in Only-0.1 · Data.Tuple.OnlyNFData a => NFData (IResult a)Defined in aeson-2.2.5.1 · Data.Aeson.Types.InternalNFData a => NFData (Result a)Defined in aeson-2.2.5.1 · Data.Aeson.Types.InternalNFData a => NFData (Complex a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (First a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Last a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Max a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Min a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (StrictMaybe a)Defined in cardano-strict-containers-0.1.6.0 · Data.Maybe.StrictNFData a => NFData (StrictSeq a)Defined in cardano-strict-containers-0.1.6.0 · Data.Sequence.StrictNFData a => NFData (Records a)Defined in cassava-0.5.4.1 · Data.Csv.StreamingNFData a => NFData (SCC a)Defined in containers-0.8 · Data.GraphNFData a => NFData (IntMap a)Defined in containers-0.8 · Data.IntMap.InternalNFData a => NFData (Digit a)Defined in containers-0.8 · Data.Sequence.InternalNFData a => NFData (Elem a)Defined in containers-0.8 · Data.Sequence.InternalNFData a => NFData (FingerTree a)Defined in containers-0.8 · Data.Sequence.InternalNFData a => NFData (Node a)Defined in containers-0.8 · Data.Sequence.InternalNFData a => NFData (Seq a)Defined in containers-0.8 · Data.Sequence.InternalNFData a => NFData (Set a)Defined in containers-0.8 · Data.Set.InternalNFData a => NFData (Tree a)Defined in containers-0.8 · Data.TreeNFData a => NFData (DNonEmpty a)Defined in dlist-1.0 · Data.DList.DNonEmpty.InternalNFData a => NFData (DList a)Defined in dlist-1.0 · Data.DList.InternalNFData a => NFData (Digit a)Defined in fingertree-0.1.6.3 · Data.FingerTreeNFData a => NFData (NonEmpty a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Identity a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (First a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Last a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Down a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Dual a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Product a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Sum a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (ZipList a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Maybe a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Ratio a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Hashed a)Defined in hashable-1.5.1.0 · Data.Hashable.ClassNFData a => NFData (ErrorFancy a)Defined in megaparsec-9.8.3 · Text.Megaparsec.ErrorNFData a => NFData (MonoidalIntMap a)Defined in monoidal-containers-0.6.8.0 · Data.IntMap.MonoidalNFData a => NFData (MonoidalIntMap a)Defined in monoidal-containers-0.6.8.0 · Data.IntMap.Monoidal.StrictNFData a => NFData (MultiSet a)Defined in multiset-0.3.4.3 · Data.MultiSetNFData a => NFData (NonEmptyVector a)Defined in nonempty-vector-0.2.4 · Data.Vector.NonEmpty.InternalNFData a => NFData (Normalized a)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeNFData a => NFData (ExpectedShapeOr a)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorNFData a => NFData (EvaluationResult a)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ResultNFData a => NFData (AnnotDetails a)Defined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJNFData a => NFData (Doc a)Defined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJNFData a => NFData (Array a)Defined in primitive-0.9.1.0 · Data.Primitive.ArrayNFData a => NFData (SmallArray a)Defined in primitive-0.9.1.0 · Data.Primitive.SmallArrayNFData a => NFData (RAList a)Defined in ral-0.2.2 · Data.RAList.InternalNFData a => NFData (NERAList a)Defined in ral-0.2.2 · Data.RAList.NonEmpty.InternalNFData a => NFData (Leaf a)Defined in ral-0.2.2 · Data.RAList.Tree.InternalNFData a => NFData (Maybe a)Defined in strict-0.5.1 · Data.Strict.MaybeNFData a => NFData (Array a)Defined in unordered-containers-0.2.21 · Data.HashMap.Internal.ArrayNFData a => NFData (HashSet a)Defined in unordered-containers-0.2.21 · Data.HashSet.InternalNFData a => NFData (Vector a)Defined in vector-0.13.2.0 · Data.VectorNFData a => NFData (Vector a)Defined in vector-0.13.2.0 · Data.Vector.StrictNFData a => NFData (Doc a)Defined in wl-pprint-annotated-0.1.0.2 · Text.PrettyPrint.Annotated.WLNFData a => NFData (SimpleDoc a)Defined in wl-pprint-annotated-0.1.0.2 · Text.PrettyPrint.Annotated.WLNFData a => NFData (a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData [a]Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData ann => NFData (Kind ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeNFData ann => NFData (UniqueError ann)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorNFData fun => NFData (CekExTally fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModeNFData fun => NFData (TallyingSt fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModeNFData fun => NFData (ExBudgetCategory fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.InternalNFData g => NFData (StateGen g)Defined in random-1.3.1 · System.Random.InternalNFData g => NFData (AtomicGen g)Defined in random-1.3.1 · System.Random.StatefulNFData g => NFData (IOGen g)Defined in random-1.3.1 · System.Random.StatefulNFData g => NFData (STGen g)Defined in random-1.3.1 · System.Random.StatefulNFData g => NFData (TGen g)Defined in random-1.3.1 · System.Random.StatefulNFData m => NFData (WrappedMonoid m)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData model => NFData (CostingFun model)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreNFData r => NFData (Result r)Defined in attoparsec-0.14.4 · Data.Attoparsec.ByteString.LazyNFData r => NFData (Result r)Defined in attoparsec-0.14.4 · Data.Attoparsec.Text.LazyNFData s => NFData (CI s)Defined in case-insensitive-1.2.1.0 · Data.CaseInsensitive.InternalNFData s => NFData (PosState s)Defined in megaparsec-9.8.3 · Text.Megaparsec.StateNFData t => NFData (ErrorItem t)Defined in megaparsec-9.8.3 · Text.Megaparsec.ErrorNFData term => NFData (Hints term)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.HintsNFData term => NFData (InlinePlus term)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.HintsNFData v => NFData (KeyMap v)Defined in aeson-2.2.5.1 · Data.Aeson.KeyMapNFData v => NFData (IntInterval v)Defined in fingertree-0.1.6.3 · Data.IntervalMap.FingerTreeNFData v => NFData (Interval v)Defined in fingertree-0.1.6.3 · Data.IntervalMap.FingerTreeNFData1 f => NFData (Fix f)Defined in data-fix-0.3.4 · Data.FixAllArgumentModels NFData f => NFData (BuiltinCostModelBase f)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.BuiltinCostModelClosed uni => NFData (SomeTypeIn uni)Defined in plutus-core-1.70.0.0 · Universe.Core(NFData (SigDSIGN d), NFData (VerKeyDSIGN d)) => NFData (SigKES (CompactSingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSingle(NFData (SigKES d), NFData (VerKeyKES d)) => NFData (SigKES (CompactSumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSum(NFData (SigKES d), NFData (VerKeyKES d)) => NFData (SigKES (SumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.Sum(NFData (SignKeyKES d), NFData (VerKeyKES d)) => NFData (SignKeyKES (CompactSumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSum(NFData (SignKeyKES d), NFData (VerKeyKES d)) => NFData (SignKeyKES (SumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SumNFData (Fixed a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData (PosP' n b)Defined in bin-0.1.4.1 · Data.BinP.PosPNFData (SigDSIGN v) => NFData (SignedDSIGN v a)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.ClassNFData (Hash h a)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.Hash.ClassNFData (PublicKey curve hash)Defined in crypton-1.0.6 · Crypto.PubKey.EdDSANFData (Signature curve hash)Defined in crypton-1.0.6 · Crypto.PubKey.EdDSANFData (Proxy a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData (TypeRep a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData (STRef s a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNOTE: Only strict in the reference and not the referenced value.
NFData (MutablePrimArray s a)Defined in primitive-0.9.1.0 · Data.Primitive.PrimArrayNFData (PVar a s)Defined in pvar-1.0.0.0 · Data.Primitive.PVar.InternalValues are already written into PVar in NF, this instance is trivial.
NFData (MVector s a)Defined in vector-0.13.2.0 · Data.Vector.Primitive.MutableNFData (MVector s a)Defined in vector-0.13.2.0 · Data.Vector.Storable.MutableNFData (MVector s a)Defined in vector-0.13.2.0 · Data.Vector.Unboxed.BaseNFData (a -> b)Defined in deepseq-1.5.1.0 · Control.DeepSeqThis instance is for convenience and consistency with seq. This assumes that WHNF is equivalent to NF for functions.
NFData (f a) => NFData (Node f a)Defined in ral-0.2.2 · Data.RAList.Tree.InternalNFData (t a) => NFData (NERAList' t a)Defined in ral-0.2.2 · Data.RAList.NonEmpty.InternalNFData a => NFData (RAVec b a)Defined in ral-0.2.2 · Data.RAVecNFData a => NFData (NERAVec b a)Defined in ral-0.2.2 · Data.RAVec.NonEmptyNFData a => NFData (Tree n a)Defined in ral-0.2.2 · Data.RAVec.TreeGNFData tag => NFData (Some tag)Defined in some-1.0.6 · Data.Some.GADTGNFData tag => NFData (Some tag)Defined in some-1.0.6 · Data.Some.Newtype(NFData (Token s), NFData e) => NFData (ParseError s e)Defined in megaparsec-9.8.3 · Text.Megaparsec.Error(NFData a, NFData (s a)) => NFData (ViewL s a)Defined in fingertree-0.1.6.3 · Data.FingerTree(NFData a, NFData (s a)) => NFData (ViewR s a)Defined in fingertree-0.1.6.3 · Data.FingerTree(NFData a, NFData b) => NFData (Arg a b)Defined in deepseq-1.5.1.0 · Control.DeepSeq(NFData a, NFData b) => NFData (Bimap a b)Defined in bimap-0.5.0 · Data.Bimap(NFData a, NFData b) => NFData (Array a b)Defined in deepseq-1.5.1.0 · Control.DeepSeq(NFData a, NFData b) => NFData (Either a b)Defined in deepseq-1.5.1.0 · Control.DeepSeq(NFData a, NFData b) => NFData (Either a b)Defined in strict-0.5.1 · Data.Strict.Either(NFData a, NFData b) => NFData (These a b)Defined in strict-0.5.1 · Data.Strict.These(NFData a, NFData b) => NFData (Pair a b)Defined in strict-0.5.1 · Data.Strict.Tuple(NFData a, NFData b) => NFData (These a b)Defined in these-1.2.1 · Data.These(NFData a, NFData b) => NFData (a, b)Defined in deepseq-1.5.1.0 · Control.DeepSeq(NFData a, NFData v) => NFData (FingerTree v a)Defined in fingertree-0.1.6.3 · Data.FingerTree(NFData a, NFData v) => NFData (IntervalMap v a)Defined in fingertree-0.1.6.3 · Data.IntervalMap.FingerTree(NFData a, SNatI n) => NFData (Tree n a)Defined in ral-0.2.2 · Data.RAVec.Tree.DF(NFData err, NFData cause) => NFData (ErrorWithCause err cause)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ErrorWithCause(NFData i, NFData r) => NFData (IResult i r)Defined in attoparsec-0.14.4 · Data.Attoparsec.Internal.Types(NFData k, NFData a) => NFData (Map k a)Defined in containers-0.8 · Data.Map.Internal(NFData k, NFData a) => NFData (MonoidalHashMap k a)Defined in monoidal-containers-0.6.8.0 · Data.HashMap.Monoidal(NFData k, NFData a) => NFData (MonoidalMap k a)Defined in monoidal-containers-0.6.8.0 · Data.Map.Monoidal(NFData k, NFData a) => NFData (MonoidalMap k a)Defined in monoidal-containers-0.6.8.0 · Data.Map.Monoidal.Strict(NFData k, NFData v) => NFData (Entry k v)Defined in fingertree-0.1.6.3 · Data.PriorityQueue.FingerTree(NFData k, NFData v) => NFData (PQueue k v)Defined in fingertree-0.1.6.3 · Data.PriorityQueue.FingerTree(NFData k, NFData v) => NFData (Prio k v)Defined in fingertree-0.1.6.3 · Data.PriorityQueue.FingerTree(NFData k, NFData v) => NFData (HashMap k v)Defined in unordered-containers-0.2.21 · Data.HashMap.Internal(NFData k, NFData v) => NFData (Leaf k v)Defined in unordered-containers-0.2.21 · Data.HashMap.Internal(NFData s, NFData (ParseError s e)) => NFData (State s e)Defined in megaparsec-9.8.3 · Text.Megaparsec.State(NFData s, NFData (Token s), NFData e) => NFData (ParseErrorBundle s e)Defined in megaparsec-9.8.3 · Text.Megaparsec.Error(NFData structural, NFData operational) => NFData (EvaluationError structural operational)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Error(NFData v, NFData a) => NFData (Node v a)Defined in fingertree-0.1.6.3 · Data.FingerTree(NFData v, NFData a) => NFData (SearchResult v a)Defined in fingertree-0.1.6.3 · Data.FingerTree(NFData v, NFData a) => NFData (Node v a)Defined in fingertree-0.1.6.3 · Data.IntervalMap.FingerTree(Bounded fun, Enum fun) => NFData (BuiltinsRuntime fun val)Defined in plutus-core-1.70.0.0 · PlutusCore.Builtin.Runtime(Closed uni, Everywhere uni NFData) => NFData (ValueOf uni a)Defined in plutus-core-1.70.0.0 · Universe.Corea => NFData (a :- b)Defined in constraints-0.14.4 · Data.ConstraintNFData (a :~: b)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (Const a b)Defined in deepseq-1.5.1.0 · Control.DeepSeqNFData a => NFData (NERAVec' n b a)Defined in ral-0.2.2 · Data.RAVec.NonEmptyNFData b => NFData (Tagged s b)Defined in tagged-0.8.11 · Data.Tagged(NFData (f a), NFData (g a), NFData a) => NFData (These1 f g a)Defined in these-1.2.1 · Data.Functor.TheseAvailable always
(NFData a1, NFData a2, NFData a3) => NFData (a1, a2, a3)Defined in deepseq-1.5.1.0 · Control.DeepSeq(NFData ann, NFData tyname, Closed uni) => NFData (Type tyname uni ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Type(NFData fun, NFData ann, Closed uni, Everywhere uni NFData, NFData ParserError) => NFData (Error uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Error(NFData machineCosts, Bounded fun, Enum fun) => NFData (MachineParameters machineCosts fun val)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.MachineParameters(NFData machineCosts, Bounded fun, Enum fun) => NFData (MachineVariantParameters machineCosts fun val)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.MachineParametersNFData (a :~~: b)Defined in deepseq-1.5.1.0 · Control.DeepSeq(NFData (f a), NFData (g a)) => NFData (Product f g a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNote: in
deepseq-1.5.0.0this instance's superclasses were changed.(NFData (f a), NFData (g a)) => NFData (Sum f g a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNote: in
deepseq-1.5.0.0this instance's superclasses were changed.(NFData a1, NFData a2, NFData a3, NFData a4) => NFData (a1, a2, a3, a4)Defined in deepseq-1.5.1.0 · Control.DeepSeq(NFData name, NFData fun, NFData ann, Everywhere uni NFData, Closed uni) => NFData (Term name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Type(NFData name, Everywhere uni NFData, NFData fun, NFData ann, Closed uni) => NFData (Program name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Type(Closed uni, NFData ann, NFData term, NFData fun) => NFData (TypeError term uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorNFData (f (g a)) => NFData (Compose f g a)Defined in deepseq-1.5.1.0 · Control.DeepSeqNote: in
deepseq-1.5.0.0this instance's superclasses were changed.(NFData a1, NFData a2, NFData a3, NFData a4, NFData a5) => NFData (a1, a2, a3, a4, a5)Defined in deepseq-1.5.1.0 · Control.DeepSeq(NFData tyname, NFData name, NFData fun, NFData ann, Everywhere uni NFData, Closed uni) => NFData (Term tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Type(NFData tyname, NFData name, Closed uni, Everywhere uni NFData, NFData fun, NFData ann) => NFData (NormCheckError tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Error(NFData tyname, NFData name, Everywhere uni NFData, NFData fun, NFData ann, Closed uni) => NFData (Program tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Type(NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6) => NFData (a1, a2, a3, a4, a5, a6)Defined in deepseq-1.5.1.0 · Control.DeepSeq(NFData a1, NFData a2, NFData a3, NFData a4, NFData a5, NFData a6, NFData a7) => NFData (a1, a2, a3, a4, a5, a6, a7)Defined in deepseq-1.5.1.0 · Control.DeepSeq(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)Defined in deepseq-1.5.1.0 · Control.DeepSeq(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)Defined in deepseq-1.5.1.0 · Control.DeepSeq
A monoid on applicative functors.
If defined, some and many should be the least solutions of the equations:
Examples
Nothing <|> Just 42Just 42
[1, 2] <|> [3, 4][1,2,3,4]
empty <|> print (2^15)32768
Methods
empty :: f aThe identity of <|>
empty <|> a == a a <|> empty == a(<|>) :: f a -> f a -> f ainfixl 3An associative binary operation
some :: f a -> f [a]One or more.
Examples
Example1 expression some (putStr "la")lalalalalalalalala... * goes on forever *
Example1 expression some Nothingnothing
Example1 expression take 5 <$> some (Just 1)* hangs forever *
Note that this function can be used with Parsers based on Applicatives. In that case
some parserwill attempt to parseparserone or more times until it fails.many :: f a -> f [a]Zero or more.
Examples
Example1 expression many (putStr "la")lalalalalalalalala... * goes on forever *
Example1 expression many NothingJust []
Example1 expression take 5 <$> many (Just 1)* hangs forever *
Note that this function can be used with Parsers based on Applicatives. In that case
many parserwill attempt to parseparserzero or more times until it fails.
Instances115:=>, Lifting2, Lifting, Class, Alternative, …
Alternative IResultDefined in aeson-2.2.5.1 · Data.Aeson.Types.InternalAlternative ParserDefined in aeson-2.2.5.1 · Data.Aeson.Types.InternalAlternative ResultDefined in aeson-2.2.5.1 · Data.Aeson.Types.InternalAlternative ConcurrentlyDefined in async-2.2.6 · Control.Concurrent.Async.InternalControl.Alternative.emptywaits forever.Control.Alternative.<|>returns the first to finish and cancels the other.Alternative GetDefined in binary-0.8.9.3 · Data.Binary.Get.InternalAlternative StrictMaybeDefined in cardano-strict-containers-0.1.6.0 · Data.Maybe.StrictAlternative ParserDefined in cassava-0.5.4.1 · Data.Csv.ConversionAlternative SeqDefined in containers-0.8 · Data.Sequence.InternalAlternative DListDefined in dlist-1.0 · Data.DList.InternalAlternative STMDefined in ghc-internal-9.1401.0 · GHC.Internal.Conc.SyncAlternative ZipListDefined in ghc-internal-9.1401.0 · GHC.Internal.Functor.ZipListAlternative MaybeDefined in ghc-internal-9.1401.0 · GHC.Internal.BaseAlternative PDefined in ghc-internal-9.1401.0 · GHC.Internal.Text.ParserCombinators.ReadPAlternative ReadPDefined in ghc-internal-9.1401.0 · GHC.Internal.Text.ParserCombinators.ReadPAlternative ReadPrecDefined in ghc-internal-9.1401.0 · GHC.Internal.Text.ParserCombinators.ReadPrecAlternative IODefined in ghc-internal-9.1401.0 · GHC.Internal.BaseAlternative DequeDefined in lens-5.3.6 · Control.Lens.Internal.DequeAlternative EvaluationResultDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ResultAlternative DecodeUniMDefined in plutus-core-1.70.0.0 · Universe.CoreAlternative ArrayDefined in primitive-0.9.1.0 · Data.Primitive.ArrayAlternative SmallArrayDefined in primitive-0.9.1.0 · Data.Primitive.SmallArrayAlternative VectorDefined in vector-0.13.2.0 · Data.VectorAlternative VectorDefined in vector-0.13.2.0 · Data.Vector.StrictAlternative []Defined in ghc-internal-9.1401.0 · GHC.Internal.BaseCombines lists by concatenation, starting from the empty list.
() :=> Alternative MaybeDefined in constraints-0.14.4 · Data.Constraint() :=> Alternative []Defined in constraints-0.14.4 · Data.ConstraintAlternative ProxyDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.ProxyAlternative U1Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsAlternative (MkParser inp)Defined in appar-0.1.8 · Text.Appar.ParserAlternative (Parser i)Defined in attoparsec-0.14.4 · Data.Attoparsec.Internal.TypesAlternative (Alt f)Defined in free-5.2 · Control.Alternative.FreeAlternative (Alt f)Defined in free-5.2 · Control.Alternative.Free.FinalAlternative (ReifiedFold s)Defined in lens-5.3.6 · Control.Lens.ReifiedAlternative (LogicT f)Defined in logict-0.8.2.0 · Control.Monad.LogicAlternative (Parser byteArray)Defined in memory-0.18.0 · Data.ByteArray.ParseAlternative (UniqueParser s)Defined in prettyprinter-1.7.2 · Prettyprinter.Render.Util.SimpleDocTreeAlternative f => Alternative (F f)Defined in free-5.2 · Control.Monad.Free.ChurchThis violates the Alternative laws, handle with care.
Alternative f => Alternative (Coyoneda f)Defined in kan-extensions-5.2.8 · Data.Functor.CoyonedaAlternative f => Alternative (Yoneda f)Defined in kan-extensions-5.2.8 · Data.Functor.YonedaAlternative f => Alternative (WrappedApplicative f)Defined in semigroupoids-6.0.2 · Data.Functor.Bind.ClassAlternative f => Alternative (Lift f)Defined in transformers-0.6.1.2 · Control.Applicative.LiftA combination is Pure only either part is.
Alternative f => Alternative (WrappedFoldable f)Defined in witherable-0.5 · WitherableAlternative m => Alternative (TreeT m)Defined in hedgehog-1.7 · Hedgehog.Internal.TreeAlternative m => Alternative (ResourceT m)Defined in resourcet-1.3.0 · Control.Monad.Trans.Resource.InternalSince 1.1.5
Alternative v => Alternative (Free v)Defined in free-5.2 · Control.Monad.FreeThis violates the Alternative laws, handle with care.
Alternative v => Alternative (Free v)Defined in free-5.2 · Control.Monad.Free.ApThis violates the Alternative laws, handle with care.
Monad m => Alternative (ZeptoT m)Defined in attoparsec-0.14.4 · Data.Attoparsec.ZeptoMonad m => Alternative (CatchT m)Defined in exceptions-0.10.11 · Control.Monad.Catch.PureMonad m => Alternative (IterT m)Defined in free-5.2 · Control.Monad.Trans.IterMonad m => Alternative (GenT m)Defined in hedgehog-1.7 · Hedgehog.Internal.GenMonadPlus m => Alternative (WrappedMonad m)Defined in base-4.22.0.0 · Control.ApplicativeMonadPlus m => Alternative (PropertyT m)Defined in hedgehog-1.7 · Hedgehog.Internal.PropertyArrowPlus a => Alternative (ArrowMonad a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Control.ArrowMonadBaseControl IO m => Alternative (Concurrently m)Defined in lifted-async-0.11.0 · Control.Concurrent.Async.Lifted(Functor m, Monad m) => Alternative (MaybeT m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Maybe(Monad m, Functor m) => Alternative (ListT m)Defined in list-t-1.0.5.7 · ListT(MonadBaseControl IO m, Forall (Pure m)) => Alternative (Concurrently m)Defined in lifted-async-0.11.0 · Control.Concurrent.Async.Lifted.SafeMonadPlus m :=> Alternative (WrappedMonad m)Defined in constraints-0.14.4 · Data.ConstraintClass (Applicative f) (Alternative f)Defined in constraints-0.14.4 · Data.ConstraintAlternative (Unpack s b)Defined in mempack-0.2.1.0 · Data.MemPackAlternative (bi a) => Alternative (Biap bi a)Defined in bifunctors-5.6.3 · Data.Bifunctor.BiapAlternative f => Alternative (Ap f)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.MonoidAlternative f => Alternative (Alt f)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.Semigroup.InternalAlternative f => Alternative (Rec1 f)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsAlternative f => Alternative (WrappedFunctor f)Defined in invariant-0.6.5 · Data.Functor.InvariantAlternative f => Alternative (Backwards f)Defined in transformers-0.6.1.2 · Control.Applicative.BackwardsTry alternatives in the same order as
f.Alternative f => Alternative (Reverse f)Defined in transformers-0.6.1.2 · Data.Functor.ReverseDerived instance.
Alternative g => Alternative (ApT f g)Defined in free-5.2 · Control.Applicative.Trans.FreeAlternative m => Alternative (FT f m)Defined in free-5.2 · Control.Monad.Trans.Free.ChurchAlternative m => Alternative (Kleisli m a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Control.ArrowAlternative m => Alternative (RenameT ren m)Defined in plutus-core-1.70.0.0 · PlutusCore.Rename.MonadAlternative m => Alternative (IdentityT m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.IdentityAlternative m => Alternative (ReaderT r m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.ReaderMonad m => Alternative (FailT e m)Defined in FailT-0.1.2.0 · Control.Monad.Trans.FailShort-circuits on the first successful operation, combines failures otherwise.
(Applicative f, MonadPlus m) => Alternative (FreeT f m)Defined in free-5.2 · Control.Monad.Trans.Free.Ap(Functor f, MonadPlus m) => Alternative (FreeT f m)Defined in free-5.2 · Control.Monad.Trans.Free(Functor m, Monad m, Monoid e) => Alternative (ExceptT e m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Except(Functor m, MonadPlus m) => Alternative (SelectT r m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Select(Functor m, MonadPlus m) => Alternative (StateT s m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.State.Lazy(Functor m, MonadPlus m) => Alternative (StateT s m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.State.Strict(Functor m, MonadPlus m) => Alternative (WriterT w m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Writer.CPS(Monoid w, Alternative m) => Alternative (WriterT w m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Writer.Lazy(Monoid w, Alternative m) => Alternative (WriterT w m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Writer.Strict(Monoid w, Functor m, MonadPlus m) => Alternative (AccumT w m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Accum(ArrowZero a, ArrowPlus a) => Alternative (WrappedArrow a b)Defined in base-4.22.0.0 · Control.Applicative(Generic1 f, Alternative (Rep1 f)) => Alternative (Generically1 f)Defined in ghc-internal-9.1401.0 · GHC.Internal.Generics(MonadAsync m, MonadTimer m) => Alternative (Concurrently m)Defined in io-classes-1.8.0.1 · Control.Monad.Class.MonadAsync(Profunctor p, ArrowPlus p) => Alternative (Closure p a)Defined in profunctors-5.6.3 · Data.Profunctor.Closed(Profunctor p, ArrowPlus p) => Alternative (Tambara p a)Defined in profunctors-5.6.3 · Data.Profunctor.StrongLifting Alternative LiftDefined in constraints-0.14.4 · Data.Constraint.LiftingLifting Alternative BackwardsDefined in constraints-0.14.4 · Data.Constraint.LiftingLifting Alternative IdentityTDefined in constraints-0.14.4 · Data.Constraint.LiftingLifting Alternative ReverseDefined in constraints-0.14.4 · Data.Constraint.LiftingLifting Alternative (ReaderT e)Defined in constraints-0.14.4 · Data.Constraint.LiftingMonoid w => Lifting Alternative (WriterT w)Defined in constraints-0.14.4 · Data.Constraint.LiftingMonoid w => Lifting Alternative (WriterT w)Defined in constraints-0.14.4 · Data.Constraint.LiftingLifting2 Alternative ProductDefined in constraints-0.14.4 · Data.Constraint.LiftingAlternative f => Lifting Alternative (Product f)Defined in constraints-0.14.4 · Data.Constraint.LiftingLifting2 Alternative ComposeDefined in constraints-0.14.4 · Data.Constraint.LiftingAlternative f => Lifting Alternative (Compose f)Defined in constraints-0.14.4 · Data.Constraint.LiftingClass (Monad f, Alternative f) (MonadPlus f)Defined in constraints-0.14.4 · Data.ConstraintAlternative (ParsecT s u m)Defined in parsec-3.1.18.0 · Text.Parsec.PrimAlternative (f (g m)) => Alternative (ComposeT f g m)Defined in mmorph-1.2.2 · Control.Monad.Trans.ComposeAlternative f => Alternative (Star f a)Defined in profunctors-5.6.3 · Data.Profunctor.Types(Alternative f, Alternative g) => Alternative (Product f g)Defined in base-4.22.0.0 · Data.Functor.Product(Alternative f, Alternative g) => Alternative (f :*: g)Defined in ghc-internal-9.1401.0 · GHC.Internal.Generics(Ord e, Stream s) => Alternative (ParsecT e s m)Defined in megaparsec-9.8.3 · Text.Megaparsec.Internalempty is a parser that fails without consuming input.
(v ~~ v', Alternative v') => Alternative (Codensity v)Defined in kan-extensions-5.2.8 · Control.Monad.CodensityAlternative f => Alternative (M1 i c f)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsAlternative m => Alternative (NormalizeTypeT m tyname uni ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Normalize.Internal(Alternative f, Applicative g) => Alternative (Compose f g)Defined in base-4.22.0.0 · Data.Functor.Compose(Alternative f, Applicative g) => Alternative (f :.: g)Defined in ghc-internal-9.1401.0 · GHC.Internal.Generics(Functor m, MonadPlus m) => Alternative (RWST r w s m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.RWS.CPS(Monoid w, Functor m, MonadPlus m) => Alternative (RWST r w s m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.RWS.Lazy(Monoid w, Functor m, MonadPlus m) => Alternative (RWST r w s m)Defined in transformers-0.6.1.2 · Control.Monad.Trans.RWS.Strict
Non-empty (and non-strict) list type.
Constructors
a :| [a]infixr 5
Instances95Monad, Functor, MonadFix, Applicative, Foldable, Traversable, …
Monad NonEmptyDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.NonEmpty · orphanFunctor NonEmptyDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.NonEmpty · orphanMonadFix NonEmptyDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Monad.FixApplicative NonEmptyDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.NonEmpty · orphanFoldable NonEmptyDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.FoldableTraversable NonEmptyDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.TraversableMonadZip NonEmptyDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Monad.ZipFoldable1 NonEmptyDefined in base-4.22.0.0 · Data.Foldable1Eq1 NonEmptyDefined in base-4.22.0.0 · Data.Functor.ClassesOrd1 NonEmptyDefined in base-4.22.0.0 · Data.Functor.ClassesRead1 NonEmptyDefined in base-4.22.0.0 · Data.Functor.ClassesShow1 NonEmptyDefined in base-4.22.0.0 · Data.Functor.ClassesNFData1 NonEmptyDefined in deepseq-1.5.1.0 · Control.DeepSeqArbitrary1 NonEmptyDefined in QuickCheck-2.18.0.0 · Test.QuickCheck.ArbitraryHashable1 NonEmptyDefined in hashable-1.5.1.0 · Data.Hashable.ClassComonad NonEmptyDefined in comonad-5.0.10 · Control.ComonadComonadApply NonEmptyDefined in comonad-5.0.10 · Control.ComonadAlt NonEmptyDefined in semigroupoids-6.0.2 · Data.Functor.AltApply NonEmptyDefined in semigroupoids-6.0.2 · Data.Functor.Bind.ClassBind NonEmptyDefined in semigroupoids-6.0.2 · Data.Functor.Bind.ClassExtend NonEmptyDefined in semigroupoids-6.0.2 · Data.Functor.ExtendTraversable1 NonEmptyDefined in semigroupoids-6.0.2 · Data.Semigroup.Traversable.ClassSemialign NonEmptyDefined in semialign-1.4 · Data.Semialign.InternalRepeat NonEmptyDefined in semialign-1.4 · Data.Semialign.InternalUnzip NonEmptyDefined in semialign-1.4 · Data.Semialign.InternalZip NonEmptyDefined in semialign-1.4 · Data.Semialign.InternalFromJSON1 NonEmptyDefined in aeson-2.2.5.1 · Data.Aeson.Types.FromJSONToJSON1 NonEmptyDefined in aeson-2.2.5.1 · Data.Aeson.Types.ToJSONGetAddrInfo NonEmptyDefined in network-3.2.9.0 · Network.Socket.InfoInvariant NonEmptyDefined in invariant-0.6.5 · Data.Functor.Invariantfrom Data.List.NonEmpty
Generic1 NonEmptyDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsFoldableWithIndex Int NonEmptyDefined in indexed-traversable-0.1.5 · WithIndexFoldable1WithIndex Int NonEmptyDefined in indexed-traversable-0.1.5 · WithIndexFunctorWithIndex Int NonEmptyDefined in indexed-traversable-0.1.5 · WithIndexTraversableWithIndex Int NonEmptyDefined in indexed-traversable-0.1.5 · WithIndexCosieve Fold1 NonEmptyDefined in foldl-1.4.18 · Control.Foldl.NonEmptyComonadCofree Maybe NonEmptyDefined in free-5.2 · Control.Comonad.Cofree.ClassRepeatWithIndex Int NonEmptyDefined in semialign-1.4 · Data.Semialign.InternalSemialignWithIndex Int NonEmptyDefined in semialign-1.4 · Data.Semialign.InternalZipWithIndex Int NonEmptyDefined in semialign-1.4 · Data.Semialign.InternalLift a => Lift (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.TH.LiftPrettyAnn ann a => PrettyAnn ann (NonEmpty a)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPrettyDefaultBy config (NonEmpty a) => PrettyBy config (NonEmpty a)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalprettyBy for
NonEmpty ais defined in terms of prettyListBy by default.Example3 expressions prettyBy () (True :| [False])[True, False]prettyBy () ('a' :| "bc")abcprettyBy () (Just False :| [Nothing, Just True])[False, True]
PrettyBy config a => DefaultPrettyBy config (NonEmpty a)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalIsList (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.IsListEq a => Eq (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.BaseData a => Data (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.DataOrd a => Ord (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.BaseRead a => Read (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.ReadShow a => Show (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.ShowGeneric (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsSemigroup (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.NonEmpty · orphanNFData a => NFData (NonEmpty a)Defined in deepseq-1.5.1.0 · Control.DeepSeqBinary a => Binary (NonEmpty a)Defined in binary-0.8.9.3 · Data.Binary.ClassArbitrary a => Arbitrary (NonEmpty a)Defined in QuickCheck-2.18.0.0 · Test.QuickCheck.ArbitraryCoArbitrary a => CoArbitrary (NonEmpty a)Defined in QuickCheck-2.18.0.0 · Test.QuickCheck.ArbitraryFunction a => Function (NonEmpty a)Defined in QuickCheck-2.18.0.0 · Test.QuickCheck.FunctionPretty a => Pretty (NonEmpty a)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalHashable a => Hashable (NonEmpty a)Defined in hashable-1.5.1.0 · Data.Hashable.ClassFromJSON a => FromJSON (NonEmpty a)Defined in aeson-2.2.5.1 · Data.Aeson.Types.FromJSONToJSON a => ToJSON (NonEmpty a)Defined in aeson-2.2.5.1 · Data.Aeson.Types.ToJSONSerialise a => Serialise (NonEmpty a)Defined in serialise-0.2.6.1 · Codec.Serialise.ClassAbsurd a => Absurd (NonEmpty a)Defined in boring-0.2.2.1 · Data.BoringUniverse a => Universe (NonEmpty a)Defined in universe-base-1.1.4 · Data.Universe.ClassNoThunks a => NoThunks (NonEmpty a)Defined in nothunks-0.3.1 · NoThunks.ClassCorecursive (NonEmpty a)Defined in recursion-schemes-5.2.3 · Data.Functor.FoldableRecursive (NonEmpty a)Defined in recursion-schemes-5.2.3 · Data.Functor.FoldableFromCBOR a => FromCBOR (NonEmpty a)Defined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORToCBOR a => ToCBOR (NonEmpty a)Defined in cardano-binary-1.9.1.0 · Cardano.Binary.ToCBORIxed (NonEmpty a)Defined in microlens-0.4.14.0 · Lens.Micro.InternalIxed (NonEmpty a)Defined in lens-5.3.6 · Control.Lens.AtReversing (NonEmpty a)Defined in lens-5.3.6 · Control.Lens.Internal.IsoWrapped (NonEmpty a)Defined in lens-5.3.6 · Control.Lens.WrappedPretty a => Pretty (NonEmpty a)Defined in wl-pprint-annotated-0.1.0.2 · Text.PrettyPrint.Annotated.WLGrowingAppend (NonEmpty a)Defined in mono-traversable-1.0.21.0 · Data.MonoTraversableMonoFoldable (NonEmpty a)Defined in mono-traversable-1.0.21.0 · Data.MonoTraversableMonoFunctor (NonEmpty a)Defined in mono-traversable-1.0.21.0 · Data.MonoTraversableMonoTraversable (NonEmpty a)Defined in mono-traversable-1.0.21.0 · Data.MonoTraversableMonoPointed (NonEmpty a)Defined in mono-traversable-1.0.21.0 · Data.MonoTraversableSemiSequence (NonEmpty a)Defined in mono-traversable-1.0.21.0 · Data.Sequencest ~ NonEmpty b => Rewrapped (NonEmpty a) tDefined in lens-5.3.6 · Control.Lens.WrappedReference n t => Reference (NonEmpty n) tDefined in plutus-core-1.70.0.0 · PlutusCore.Check.ScopingEach (NonEmpty a) (NonEmpty b) a bDefined in microlens-0.4.14.0 · Lens.Micro.InternalEach (NonEmpty a) (NonEmpty b) a bDefined in lens-5.3.6 · Control.Lens.Eachtype Rep (NonEmpty a) = D1 ('MetaDataDefined in ghc-internal-9.1401.0 · GHC.Internal.Generics"NonEmpty"
"GHC.Internal.Base"
"ghc-internal"
'False) (C1 ('MetaCons":|"
('InfixI 'RightAssociative5
) 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [a])))type Rep1 NonEmpty = D1 ('MetaDataDefined in ghc-internal-9.1401.0 · GHC.Internal.Generics"NonEmpty"
"GHC.Internal.Base"
"ghc-internal"
'False) (C1 ('MetaCons":|"
('InfixI 'RightAssociative5
) 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1 :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 [])))type Item (NonEmpty a) = aDefined in ghc-internal-9.1401.0 · GHC.Internal.IsListtype Base (NonEmpty a) = NonEmptyF aDefined in recursion-schemes-5.2.3 · Data.Functor.Foldabletype Index (NonEmpty a) = IntDefined in microlens-0.4.14.0 · Lens.Micro.Internaltype IxValue (NonEmpty a) = aDefined in microlens-0.4.14.0 · Lens.Micro.Internaltype Unwrapped (NonEmpty a) = (a, [a])Defined in lens-5.3.6 · Control.Lens.Wrappedtype Index (NonEmpty a) = IntDefined in lens-5.3.6 · Control.Lens.Attype IxValue (NonEmpty a) = aDefined in lens-5.3.6 · Control.Lens.Attype Element (NonEmpty a) = aDefined in mono-traversable-1.0.21.0 · Data.MonoTraversabletype Index (NonEmpty a) = IntDefined in mono-traversable-1.0.21.0 · Data.Sequences
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.
╭───────╮ c
b │ ┌─ f ─┼───>
>───┼─┤ │
│ └─ g ─┼───>
╰───────╯ c'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
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
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 . toListList 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
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]
The class Typeable allows a concrete representation of a type to be calculated.
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 MyExceptionThe 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 = frontendExceptionFromExceptionWe 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
Instances83Exception, …
Exception FailExceptionDefined in FailT-0.1.2.0 · Control.Monad.Trans.FailException AesonExceptionDefined in aeson-2.2.5.1 · Data.Aeson.Types.InternalException AsyncCancelledDefined in async-2.2.6 · Control.Concurrent.Async.InternalException ExceptionInLinkedThreadDefined in async-2.2.6 · Control.Concurrent.Async.InternalException WardenExceptionDefined in async-2.2.6 · Control.Concurrent.Async.WardenException TimeoutDefined in base-4.22.0.0 · System.TimeoutException InvalidRecastDefined in basement-0.0.16 · Basement.ExceptionException NonEmptyCollectionIsEmptyDefined in basement-0.0.16 · Basement.ExceptionException OutOfBoundDefined in basement-0.0.16 · Basement.ExceptionException ASCII7_InvalidDefined in basement-0.0.16 · Basement.String.Encoding.ASCII7Exception ISO_8859_1_InvalidDefined in basement-0.0.16 · Basement.String.Encoding.ISO_8859_1Exception UTF16_InvalidDefined in basement-0.0.16 · Basement.String.Encoding.UTF16Exception UTF32_InvalidDefined in basement-0.0.16 · Basement.String.Encoding.UTF32Exception ValidationFailureDefined in basement-0.0.16 · Basement.UTF8.TypesException BimapExceptionDefined in bimap-0.5.0 · Data.BimapException SizeOverflowExceptionDefined in bytestring-0.12.2.0 · Data.ByteString.Internal.TypeException DecoderErrorDefined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORException SizeCheckExceptionDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DirectSerialiseException AllocatorExceptionDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.Libsodium.Memory.InternalException SeedBytesExhaustedDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.SeedException DeserialiseFailureDefined in cborg-0.2.10.0 · Codec.CBOR.ReadException UnsatisfiedConstraintDefined in constraints-0.14.4 · Data.Constraint.DeferrableException CryptoErrorDefined in crypton-1.0.6 · Crypto.Error.TypesException CoprimesAssertionErrorDefined in crypton-1.0.6 · Crypto.Number.ModArithmeticException ModulusAssertionErrorDefined in crypton-1.0.6 · Crypto.Number.ModArithmeticException TimeoutDefined in extra-1.8 · System.Time.ExtraException VoidDefined in ghc-internal-9.1401.0 · GHC.Internal.Exception.TypeException NestedAtomicallyDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Exception.BaseException NoMatchingContinuationPromptDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Exception.BaseException NoMethodErrorDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Exception.BaseException NonTerminationDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Exception.BaseException PatternMatchFailDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Exception.BaseException RecConErrorDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Exception.BaseException RecSelErrorDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Exception.BaseException RecUpdErrorDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Exception.BaseException TypeErrorDefined in ghc-internal-9.1401.0 · GHC.Internal.Control.Exception.BaseException DynamicDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.DynamicException ErrorCallDefined in ghc-internal-9.1401.0 · GHC.Internal.ExceptionException ArithExceptionDefined in ghc-internal-9.1401.0 · GHC.Internal.Exception.TypeException SomeExceptionDefined in ghc-internal-9.1401.0 · GHC.Internal.Exception.TypeThis drops any attached ExceptionContext.
Exception AllocationLimitExceededDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException ArrayExceptionDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException AssertionFailedDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException AsyncExceptionDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException BlockedIndefinitelyOnMVarDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException BlockedIndefinitelyOnSTMDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException CompactionFailedDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException DeadlockDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException ExitCodeDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException FixIOExceptionDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException IOExceptionDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException SomeAsyncExceptionDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionException FileLockingNotSupportedDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.Handle.Lock.CommonException ExceptionInLinkedThreadDefined in io-classes-1.8.0.1 · Control.Monad.Class.MonadAsyncException BlockedIndefinitelyDefined in io-classes-1.8.0.1 · Control.Monad.Class.MonadSTM.InternalException HandlingExceptionDefined in lens-5.3.6 · Control.Lens.Internal.ExceptionException MyExceptionDefined in logict-0.8.2.0 · Control.Monad.LogicException MyExceptionDefined in logict-0.8.2.0 · Control.Monad.Logic.ClassException InvalidPosExceptionDefined in megaparsec-9.8.3 · Text.Megaparsec.PosException SomeErrorDefined in mempack-0.2.1.0 · Data.MemPack.ErrorException NullErrorDefined in mono-traversable-1.0.21.0 · Data.NonNullException EncodingExceptionDefined in os-string-2.0.8 · System.OsString.Encoding.InternalException ParseErrorDefined in parsec-3.1.18.0 · Text.Parsec.ErrorException WriteBitsExceptionDefined in plutus-core-1.70.0.0 · PlutusCore.BitwiseException FreeVariableErrorDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalException ApplyProgramErrorDefined in plutus-core-1.70.0.0 · PlutusCore.ErrorException CostModelApplyErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostModelInterfaceException BuiltinErrorCallDefined in plutus-core-1.70.0.0 · PlutusCore.Examples.BuiltinsException IndicesLengthsMismatchExceptionDefined in plutus-core-1.70.0.0 · PlutusCore.StdLib.TypeException InvalidAccessDefined in resourcet-1.3.0 · Control.Monad.Trans.Resource.InternalException ResourceCleanupExceptionDefined in resourcet-1.3.0 · Control.Monad.Trans.Resource.InternalException AsyncExceptionWrapperDefined in safe-exceptions-0.1.7.4 · Control.Exception.SafeException StringExceptionDefined in safe-exceptions-0.1.7.4 · Control.Exception.SafeException SyncExceptionWrapperDefined in safe-exceptions-0.1.7.4 · Control.Exception.SafeException UnicodeExceptionDefined in text-2.1.3 · Data.Text.Encoding.ErrorTypeable a => Exception (FieldException a)Defined in lens-5.3.6 · Data.Data.LensException (UniqueError SrcSpan)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorException a => Exception (ExceptionWithContext a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Exception.TypeException e => Exception (NoBacktrace e)Defined in ghc-internal-9.1401.0 · GHC.Internal.Exception.Type(Show (Token s), Show e, ShowErrorComponent e, VisualStream s, Typeable s, Typeable e) => Exception (ParseError s e)Defined in megaparsec-9.8.3 · Text.Megaparsec.Error(Show s, Show (Token s), Show e, ShowErrorComponent e, VisualStream s, TraversableStream s, Typeable s, Typeable e) => Exception (ParseErrorBundle s e)Defined in megaparsec-9.8.3 · Text.Megaparsec.Error(PrettyPlc cause, PrettyPlc err, Typeable cause, Typeable err) => Exception (ErrorWithCause err cause)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ErrorWithCause(Reifies s (SomeException -> Maybe a), Typeable a, Typeable s, Typeable m) => Exception (Handling a s m)Defined in lens-5.3.6 · Control.Lens.Internal.Exception
Instances494Generic, …
Generic ValueDefined in aeson-2.2.5.1 · Data.Aeson.Types.InternalGeneric CCFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric ConcFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric DebugFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric DoCostCentresDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric DoHeapProfileDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric DoTraceDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric GCFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric GiveGCStatsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric HpcFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric MiscFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric ParFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric ProfFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric RTSFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric TickyFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric TraceFlagsDefined in base-4.22.0.0 · GHC.RTS.FlagsGeneric GCDetailsDefined in base-4.22.0.0 · GHC.StatsGeneric RTSStatsDefined in base-4.22.0.0 · GHC.StatsGeneric F2PolyDefined in bitvec-1.1.6.0 · Data.Bit.F2PolyGeneric F2PolyDefined in bitvec-1.1.6.0 · Data.Bit.F2PolyTSGeneric BitDefined in bitvec-1.1.6.0 · Data.Bit.InternalGeneric BitDefined in bitvec-1.1.6.0 · Data.Bit.InternalTSGeneric ShortByteStringDefined in bytestring-0.12.2.0 · Data.ByteString.Short.InternalGeneric CardanoFeatureFlagDefined in cardano-base-0.1.6.0 · Cardano.Base.FeatureFlagsGeneric IPv4Defined in cardano-base-0.1.6.0 · Cardano.Base.IPGeneric BLS12381SignContextDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalGeneric PointDefined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.SimpleGeneric ClockDefined in clock-0.8.4 · System.ClockGeneric TimeSpecDefined in clock-0.8.4 · System.ClockGeneric SecondsDefined in clock-0.8.4 · System.Clock.SecondsGeneric VoidDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric ByteOrderDefined in ghc-internal-9.1401.0 · GHC.Internal.ByteOrderGeneric ClosureTypeDefined in ghc-internal-9.1401.0 · GHC.Internal.ClosureTypesGeneric AllDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.Semigroup.InternalGeneric AnyDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.Semigroup.InternalGeneric VersionDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.VersionGeneric FingerprintDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric ForeignSrcLangDefined in ghc-internal-9.1401.0 · GHC.Internal.ForeignSrcLangGeneric AssociativityDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric DecidedStrictnessDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric FixityDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric SourceStrictnessDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric SourceUnpackednessDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric PrimTypeDefined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ClosuresGeneric TsoFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ClosuresGeneric WhatNextDefined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ClosuresGeneric WhyBlockedDefined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ClosuresGeneric StgInfoTableDefined in ghc-internal-9.1401.0 · GHC.Internal.Heap.InfoTable.TypesGeneric CostCentreDefined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ProfInfo.TypesGeneric CostCentreStackDefined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ProfInfo.TypesGeneric IndexTableDefined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ProfInfo.TypesGeneric StgTSOProfInfoDefined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ProfInfo.TypesGeneric ExitCodeDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.ExceptionGeneric ExtensionDefined in ghc-internal-9.1401.0 · GHC.Internal.LanguageExtensionsGeneric CCFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric ConcFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric DebugFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric DoCostCentresDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric DoHeapProfileDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric DoTraceDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric GCFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric GiveGCStatsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric HpcFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric MiscFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric ParFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric ProfFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric RTSFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric TickyFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric TraceFlagsDefined in ghc-internal-9.1401.0 · GHC.Internal.RTS.FlagsGeneric SrcLocDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric GCDetailsDefined in ghc-internal-9.1401.0 · GHC.Internal.StatsGeneric RTSStatsDefined in ghc-internal-9.1401.0 · GHC.Internal.StatsGeneric AnnLookupDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric AnnTargetDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric BangDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric BndrVisDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric BodyDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric BytesDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric CallconvDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric ClauseDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric ConDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric DecDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric DecidedStrictnessDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric DerivClauseDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric DerivStrategyDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric DocLocDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric ExpDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric FamilyResultSigDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric FixityDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric FixityDirectionDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric ForeignDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric FunDepDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric GuardDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric InfoDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric InjectivityAnnDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric InlineDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric LitDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric LocDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric MatchDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric ModNameDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric ModuleDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric ModuleInfoDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric NameDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric NameFlavourDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric NameSpaceDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric NamespaceSpecifierDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric OccNameDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric OverlapDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric PatDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric PatSynArgsDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric PatSynDirDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric PhasesDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric PkgNameDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric PragmaDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric RangeDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric RoleDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric RuleBndrDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric RuleMatchDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric SafetyDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric SourceStrictnessDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric SourceUnpackednessDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric SpecificityDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric StmtDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric TyLitDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric TySynEqnDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric TypeDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric TypeFamilyHeadDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric BoolDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric OrderingDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric GeneralCategoryDefined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric HalfDefined in half-0.3.3 · Numeric.Half.InternalGeneric IPDefined in iproute-1.7.15 · Data.IP.AddrGeneric IPv4Defined in iproute-1.7.15 · Data.IP.AddrGeneric IPv6Defined in iproute-1.7.15 · Data.IP.AddrGeneric IPRangeDefined in iproute-1.7.15 · Data.IP.RangeGeneric InvalidPosExceptionDefined in megaparsec-9.8.3 · Text.Megaparsec.PosGeneric PosDefined in megaparsec-9.8.3 · Text.Megaparsec.PosGeneric SourcePosDefined in megaparsec-9.8.3 · Text.Megaparsec.PosGeneric URIDefined in network-uri-2.6.4.2 · Network.URIGeneric URIAuthDefined in network-uri-2.6.4.2 · Network.URIGeneric OsCharDefined in os-string-2.0.8 · System.OsString.Internal.TypesGeneric OsStringDefined in os-string-2.0.8 · System.OsString.Internal.TypesGeneric PosixCharDefined in os-string-2.0.8 · System.OsString.Internal.TypesGeneric PosixStringDefined in os-string-2.0.8 · System.OsString.Internal.TypesGeneric WindowsCharDefined in os-string-2.0.8 · System.OsString.Internal.TypesGeneric WindowsStringDefined in os-string-2.0.8 · System.OsString.Internal.TypesGeneric AnnDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationGeneric CaseDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationGeneric InlineDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationGeneric SrcSpanDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationGeneric SrcSpansDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationGeneric DataDefined in plutus-core-1.70.0.0 · PlutusCore.DataGeneric DeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalGeneric FreeVariableErrorDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalGeneric IndexDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalGeneric NamedDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalGeneric NamedTyDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalGeneric TyDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalGeneric DefaultFunDefined in plutus-core-1.70.0.0 · PlutusCore.Default.BuiltinsGeneric ParserErrorDefined in plutus-core-1.70.0.0 · PlutusCore.ErrorGeneric ParserErrorBundleDefined in plutus-core-1.70.0.0 · PlutusCore.ErrorGeneric CkUserErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CkGeneric CostModelApplyErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostModelInterfaceGeneric Coefficient0Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric Coefficient00Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric Coefficient01Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric Coefficient02Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric Coefficient1Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric Coefficient10Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric Coefficient11Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric Coefficient12Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric Coefficient2Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric Coefficient20Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ExpModCostingFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric InterceptDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelConstantOrLinearDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelConstantOrOneArgumentDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelConstantOrTwoArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelFiveArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelFourArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelOneArgumentDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelSixArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelSubtractedSizesDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelThreeArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ModelTwoArgumentsDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric OneVariableLinearFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric OneVariableQuadraticFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric SlopeDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric TwoVariableLinearFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric TwoVariableQuadraticFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric TwoVariableWithInteractionFunctionDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric ExBudgetDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExBudgetGeneric ExCPUDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryGeneric ExMemoryDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryGeneric ExtensionFunDefined in plutus-core-1.70.0.0 · PlutusCore.Examples.BuiltinsGeneric NameDefined in plutus-core-1.70.0.0 · PlutusCore.Name.UniqueGeneric TyNameDefined in plutus-core-1.70.0.0 · PlutusCore.Name.UniqueGeneric KDefined in plutus-core-1.70.0.0 · PlutusCore.ValueGeneric QuantityDefined in plutus-core-1.70.0.0 · PlutusCore.ValueGeneric ValueDefined in plutus-core-1.70.0.0 · PlutusCore.ValueGeneric VersionDefined in plutus-core-1.70.0.0 · PlutusCore.VersionGeneric CekUserErrorDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.InternalGeneric StepKindDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.InternalGeneric InlineDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.HintsGeneric CertifiedOptStageDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.TraceGeneric UncertifiedOptStageDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.TraceGeneric ModeDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJGeneric StyleDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJGeneric TextDetailsDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJGeneric DocDefined in pretty-1.1.3.6 · Text.PrettyPrint.HughesPJGeneric ConstructorInfoDefined in th-abstraction-0.7.2.0 · Language.Haskell.TH.DatatypeGeneric ConstructorVariantDefined in th-abstraction-0.7.2.0 · Language.Haskell.TH.DatatypeGeneric DatatypeInfoDefined in th-abstraction-0.7.2.0 · Language.Haskell.TH.DatatypeGeneric DatatypeVariantDefined in th-abstraction-0.7.2.0 · Language.Haskell.TH.DatatypeGeneric FieldStrictnessDefined in th-abstraction-0.7.2.0 · Language.Haskell.TH.DatatypeGeneric StrictnessDefined in th-abstraction-0.7.2.0 · Language.Haskell.TH.DatatypeGeneric UnpackednessDefined in th-abstraction-0.7.2.0 · Language.Haskell.TH.DatatypeGeneric DataConDefined in th-utilities-0.2.5.2 · TH.ReifySimpleGeneric DataFamilyDefined in th-utilities-0.2.5.2 · TH.ReifySimpleGeneric DataInstDefined in th-utilities-0.2.5.2 · TH.ReifySimpleGeneric DataTypeDefined in th-utilities-0.2.5.2 · TH.ReifySimpleGeneric TypeFamilyDefined in th-utilities-0.2.5.2 · TH.ReifySimpleGeneric TypeInstDefined in th-utilities-0.2.5.2 · TH.ReifySimpleGeneric CalendarDiffDaysDefined in time-1.15 · Data.Time.Calendar.CalendarDiffDaysGeneric DayDefined in time-1.15 · Data.Time.Calendar.DaysGeneric MonthDefined in time-1.15 · Data.Time.Calendar.MonthGeneric QuarterDefined in time-1.15 · Data.Time.Calendar.QuarterGeneric QuarterOfYearDefined in time-1.15 · Data.Time.Calendar.QuarterGeneric DayOfWeekDefined in time-1.15 · Data.Time.Calendar.WeekGeneric SystemTimeDefined in time-1.15 · Data.Time.Clock.Internal.SystemTimeGeneric UTCTimeDefined in time-1.15 · Data.Time.Clock.Internal.UTCTimeGeneric UniversalTimeDefined in time-1.15 · Data.Time.Clock.Internal.UniversalTimeGeneric CalendarDiffTimeDefined in time-1.15 · Data.Time.LocalTime.Internal.CalendarDiffTimeGeneric LocalTimeDefined in time-1.15 · Data.Time.LocalTime.Internal.LocalTimeGeneric TimeOfDayDefined in time-1.15 · Data.Time.LocalTime.Internal.TimeOfDayGeneric TimeZoneDefined in time-1.15 · Data.Time.LocalTime.Internal.TimeZoneGeneric ZonedTimeDefined in time-1.15 · Data.Time.LocalTime.Internal.ZonedTimeGeneric ()Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Only a)Defined in Only-0.1 · Data.Tuple.OnlyGeneric (Complex a)Defined in base-4.22.0.0 · Data.ComplexGeneric (First a)Defined in base-4.22.0.0 · Data.SemigroupGeneric (Last a)Defined in base-4.22.0.0 · Data.SemigroupGeneric (Max a)Defined in base-4.22.0.0 · Data.SemigroupGeneric (Min a)Defined in base-4.22.0.0 · Data.SemigroupGeneric (WrappedMonoid m)Defined in base-4.22.0.0 · Data.SemigroupGeneric (PossessionProofDSIGN (BLS12381DSIGN curve))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalGeneric (SigDSIGN EcdsaSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.EcdsaSecp256k1Generic (SigDSIGN Ed25519DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed25519Generic (SigDSIGN Ed448DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed448Generic (SigDSIGN MockDSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.MockGeneric (SigDSIGN NeverDSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.NeverUsedGeneric (SigDSIGN SchnorrSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.SchnorrSecp256k1Generic (SigDSIGN (BLS12381DSIGN curve))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalGeneric (SignKeyDSIGN EcdsaSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.EcdsaSecp256k1Generic (SignKeyDSIGN Ed25519DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed25519Generic (SignKeyDSIGN Ed448DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed448Generic (SignKeyDSIGN MockDSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.MockGeneric (SignKeyDSIGN NeverDSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.NeverUsedGeneric (SignKeyDSIGN SchnorrSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.SchnorrSecp256k1Generic (SignKeyDSIGN (BLS12381DSIGN curve))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalGeneric (VerKeyDSIGN EcdsaSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.EcdsaSecp256k1Generic (VerKeyDSIGN Ed25519DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed25519Generic (VerKeyDSIGN Ed448DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.Ed448Generic (VerKeyDSIGN MockDSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.MockGeneric (VerKeyDSIGN NeverDSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.NeverUsedGeneric (VerKeyDSIGN SchnorrSecp256k1DSIGN)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.SchnorrSecp256k1Generic (VerKeyDSIGN (BLS12381DSIGN curve))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.BLS12381.InternalGeneric (SigKES NeverKES)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.NeverUsedGeneric (SigKES (CompactSingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSingleGeneric (SigKES (CompactSumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSumGeneric (SigKES (MockKES t))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.MockGeneric (SigKES (SimpleKES d t))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SimpleGeneric (SigKES (SingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SingleGeneric (SigKES (SumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SumGeneric (SignKeyKES NeverKES)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.NeverUsedGeneric (SignKeyKES (MockKES t))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.MockGeneric (SignKeyKES (SimpleKES d t))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SimpleGeneric (SignKeyWithPeriodKES v)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.ClassGeneric (UnsoundPureSignKeyKES NeverKES)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.NeverUsedGeneric (UnsoundPureSignKeyKES (CompactSingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSingleGeneric (UnsoundPureSignKeyKES (CompactSumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSumGeneric (UnsoundPureSignKeyKES (MockKES t))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.MockGeneric (UnsoundPureSignKeyKES (SimpleKES d t))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SimpleGeneric (UnsoundPureSignKeyKES (SingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SingleGeneric (UnsoundPureSignKeyKES (SumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SumGeneric (VerKeyKES NeverKES)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.NeverUsedGeneric (VerKeyKES (CompactSingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSingleGeneric (VerKeyKES (CompactSumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.CompactSumGeneric (VerKeyKES (MockKES t))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.MockGeneric (VerKeyKES (SimpleKES d t))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SimpleGeneric (VerKeyKES (SingleKES d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SingleGeneric (VerKeyKES (SumKES h d))Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.SumGeneric (CertVRF MockVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.MockGeneric (CertVRF NeverVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.NeverUsedGeneric (CertVRF SimpleVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.SimpleGeneric (SignKeyVRF MockVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.MockGeneric (SignKeyVRF NeverVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.NeverUsedGeneric (SignKeyVRF SimpleVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.SimpleGeneric (VerKeyVRF MockVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.MockGeneric (VerKeyVRF NeverVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.NeverUsedGeneric (VerKeyVRF SimpleVRF)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.SimpleGeneric (StrictMaybe a)Defined in cardano-strict-containers-0.1.6.0 · Data.Maybe.StrictGeneric (SCC vertex)Defined in containers-0.8 · Data.GraphGeneric (Digit a)Defined in containers-0.8 · Data.Sequence.InternalGeneric (Elem a)Defined in containers-0.8 · Data.Sequence.InternalGeneric (FingerTree a)Defined in containers-0.8 · Data.Sequence.InternalGeneric (Node a)Defined in containers-0.8 · Data.Sequence.InternalGeneric (ViewL a)Defined in containers-0.8 · Data.Sequence.InternalGeneric (ViewR a)Defined in containers-0.8 · Data.Sequence.InternalGeneric (PostOrder a)Defined in containers-0.8 · Data.TreeGeneric (Tree a)Defined in containers-0.8 · Data.TreeGeneric (Fix f)Defined in data-fix-0.3.4 · Data.FixGeneric (Digit a)Defined in fingertree-0.1.6.3 · Data.FingerTreeGeneric (IntInterval v)Defined in fingertree-0.1.6.3 · Data.IntervalMap.FingerTreeGeneric (Interval v)Defined in fingertree-0.1.6.3 · Data.IntervalMap.FingerTreeGeneric (NonEmpty a)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Identity a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.Functor.IdentityGeneric (First a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.MonoidGeneric (Last a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.MonoidGeneric (Down a)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Dual a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.Semigroup.InternalGeneric (Endo a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.Semigroup.InternalGeneric (Product a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.Semigroup.InternalGeneric (Sum a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.Semigroup.InternalGeneric (ZipList a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Functor.ZipListGeneric (Par1 p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (GenClosure b)Defined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ClosuresGeneric (GenStackField b)Defined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ClosuresGeneric (GenStackFrame b)Defined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ClosuresGeneric (GenStgStackClosure b)Defined in ghc-internal-9.1401.0 · GHC.Internal.Heap.ClosuresGeneric (Maybe a)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (TyVarBndr flag)Defined in ghc-internal-9.1401.0 · GHC.Internal.TH.SyntaxGeneric (AddrRange a)Defined in iproute-1.7.15 · Data.IP.RangeGeneric (ErrorFancy e)Defined in megaparsec-9.8.3 · Text.Megaparsec.ErrorGeneric (ErrorItem t)Defined in megaparsec-9.8.3 · Text.Megaparsec.ErrorGeneric (EF e)Defined in megaparsec-9.8.3 · Text.Megaparsec.Error.BuilderGeneric (ET s)Defined in megaparsec-9.8.3 · Text.Megaparsec.Error.BuilderGeneric (PosState s)Defined in megaparsec-9.8.3 · Text.Megaparsec.StateGeneric (BuiltinSemanticsVariant DefaultFun)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.BuiltinsGeneric (Kind ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeGeneric (Normalized a)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeGeneric (LR a)Defined in plutus-core-1.70.0.0 · PlutusCore.EqGeneric (RL a)Defined in plutus-core-1.70.0.0 · PlutusCore.EqGeneric (ExpectedShapeOr a)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorGeneric (UniqueError ann)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorGeneric (BuiltinCostModelBase f)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.BuiltinCostModelGeneric (CostingFun model)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostingFun.CoreGeneric (MachineError fun)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExceptionGeneric (EvaluationResult a)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ResultGeneric (CekMachineCostsBase f)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCostsGeneric (CekExTally fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModeGeneric (TallyingSt fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModeGeneric (ExBudgetCategory fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.InternalGeneric (Hints term)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.HintsGeneric (InlinePlus term)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.Certify.HintsGeneric (Doc a)Defined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJGeneric (Doc ann)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalGeneric (SimpleDocStream ann)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalGeneric (SimpleDocTree ann)Defined in prettyprinter-1.7.2 · Prettyprinter.Render.Util.SimpleDocTreeGeneric (Maybe a)Defined in strict-0.5.1 · Data.Strict.MaybeGeneric (Window a)Defined in terminal-size-0.3.4 · System.Console.Terminal.CommonGeneric (Doc a)Defined in wl-pprint-annotated-0.1.0.2 · Text.PrettyPrint.Annotated.WLGeneric (SimpleDoc a)Defined in wl-pprint-annotated-0.1.0.2 · Text.PrettyPrint.Annotated.WLGeneric (a)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric [a]Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Container b a)Defined in barbies-2.1.1.0 · Barbies.Internal.ContainersGeneric (ErrorContainer b e)Defined in barbies-2.1.1.0 · Barbies.Internal.ContainersGeneric (Unit f)Defined in barbies-2.1.1.0 · Barbies.Internal.TrivialGeneric (Void f)Defined in barbies-2.1.1.0 · Barbies.Internal.TrivialGeneric (WrappedMonad m a)Defined in base-4.22.0.0 · Control.ApplicativeGeneric (Arg a b)Defined in base-4.22.0.0 · Data.SemigroupGeneric (ListN n a)Defined in basement-0.0.16 · Basement.Sized.ListGeneric (Bimap a b)Defined in bimap-0.5.0 · Data.BimapGeneric (SignedDSIGN v a)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.DSIGN.ClassGeneric (Hash h a)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.Hash.ClassGeneric (SignedKES v a)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.KES.ClassGeneric (CertifiedVRF v a)Defined in cardano-crypto-class-2.5.1.0 · Cardano.Crypto.VRF.ClassGeneric (SearchResult v a)Defined in cardano-strict-containers-0.1.6.0 · Data.FingerTree.StrictGeneric (FingerTree v a)Defined in fingertree-0.1.6.3 · Data.FingerTreeGeneric (Node v a)Defined in fingertree-0.1.6.3 · Data.FingerTreeGeneric (SearchResult v a)Defined in fingertree-0.1.6.3 · Data.FingerTreeGeneric (ViewL s a)Defined in fingertree-0.1.6.3 · Data.FingerTreeGeneric (ViewR s a)Defined in fingertree-0.1.6.3 · Data.FingerTreeGeneric (IntervalMap v a)Defined in fingertree-0.1.6.3 · Data.IntervalMap.FingerTreeGeneric (Node v a)Defined in fingertree-0.1.6.3 · Data.IntervalMap.FingerTreeGeneric (Entry k v)Defined in fingertree-0.1.6.3 · Data.PriorityQueue.FingerTreeGeneric (PQueue k v)Defined in fingertree-0.1.6.3 · Data.PriorityQueue.FingerTreeGeneric (Prio k v)Defined in fingertree-0.1.6.3 · Data.PriorityQueue.FingerTreeGeneric (Cofree f a)Defined in free-5.2 · Control.Comonad.CofreeGeneric (Free f a)Defined in free-5.2 · Control.Monad.FreeGeneric (Free f a)Defined in free-5.2 · Control.Monad.Free.ApGeneric (Either a b)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Proxy t)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (U1 p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (V1 p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (IPRTable k a)Defined in iproute-1.7.15 · Data.IP.RouteTable.InternalGeneric (ListT m a)Defined in list-t-1.0.5.7 · ListTGeneric (ParseError s e)Defined in megaparsec-9.8.3 · Text.Megaparsec.ErrorGeneric (ParseErrorBundle s e)Defined in megaparsec-9.8.3 · Text.Megaparsec.ErrorGeneric (State s e)Defined in megaparsec-9.8.3 · Text.Megaparsec.StateGeneric (TyVarDecl tyname ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeGeneric (EvaluationError structural operational)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ErrorGeneric (ErrorWithCause err cause)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ErrorWithCauseGeneric (Def var val)Defined in plutus-core-1.70.0.0 · PlutusCore.MkPlcGeneric (UVarDecl name ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.TypeGeneric (ListF a b)Defined in recursion-schemes-5.2.3 · Data.Functor.BaseGeneric (NonEmptyF a b)Defined in recursion-schemes-5.2.3 · Data.Functor.BaseGeneric (TreeF a b)Defined in recursion-schemes-5.2.3 · Data.Functor.BaseGeneric (Either a b)Defined in strict-0.5.1 · Data.Strict.EitherGeneric (These a b)Defined in strict-0.5.1 · Data.Strict.TheseGeneric (Pair a b)Defined in strict-0.5.1 · Data.Strict.TupleGeneric (These a b)Defined in these-1.2.1 · Data.TheseGeneric (Lift f a)Defined in transformers-0.6.1.2 · Control.Applicative.LiftGeneric (MaybeT m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.MaybeGeneric (a, b)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (WrappedArrow a b c)Defined in base-4.22.0.0 · Control.ApplicativeGeneric (Biap bi a b)Defined in bifunctors-5.6.3 · Data.Bifunctor.BiapGeneric (Fix p a)Defined in bifunctors-5.6.3 · Data.Bifunctor.FixGeneric (Join p a)Defined in bifunctors-5.6.3 · Data.Bifunctor.JoinGeneric (CofreeF f a b)Defined in free-5.2 · Control.Comonad.Trans.CofreeGeneric (FreeF f a b)Defined in free-5.2 · Control.Monad.Trans.FreeGeneric (FreeF f a b)Defined in free-5.2 · Control.Monad.Trans.Free.ApGeneric (Kleisli m a b)Defined in ghc-internal-9.1401.0 · GHC.Internal.Control.ArrowGeneric (Const a b)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.Functor.ConstGeneric (Ap f a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.MonoidGeneric (Alt f a)Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.Semigroup.InternalGeneric (Rec1 f p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (URec Char p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (URec Double p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (URec Float p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (URec Int p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (URec Word p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (URec (Ptr ()) p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (TyDecl tyname uni ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeGeneric (Type tyname uni ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeGeneric (Error uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorGeneric (MachineParameters machineCosts fun val)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.MachineParametersGeneric (MachineVariantParameters machineCosts fun val)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.MachineParametersGeneric (Tagged s b)Defined in tagged-0.8.11 · Data.TaggedGeneric (These1 f g a)Defined in these-1.2.1 · Data.Functor.TheseGeneric (Backwards f a)Defined in transformers-0.6.1.2 · Control.Applicative.BackwardsGeneric (AccumT w m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.AccumGeneric (ExceptT e m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.ExceptGeneric (IdentityT f a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.IdentityGeneric (ReaderT r m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.ReaderGeneric (SelectT r m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.SelectGeneric (StateT s m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.State.LazyGeneric (StateT s m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.State.StrictGeneric (WriterT w m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Writer.CPSGeneric (WriterT w m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Writer.LazyGeneric (WriterT w m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.Writer.StrictGeneric (Constant a b)Defined in transformers-0.6.1.2 · Data.Functor.ConstantGeneric (Reverse f a)Defined in transformers-0.6.1.2 · Data.Functor.ReverseGeneric (a, b, c)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Product f g a)Defined in base-4.22.0.0 · Data.Functor.ProductGeneric (Sum f g a)Defined in base-4.22.0.0 · Data.Functor.SumGeneric (K1 i c p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (VarDecl tyname name uni ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeGeneric (TypeError term uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorGeneric (Program name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.TypeGeneric (Term name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.TypeGeneric (Subst name uni fun a)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Transform.InlineGeneric (ContT r m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.ContGeneric ((:*:) f g p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric ((:+:) f g p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (a, b, c, d)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Compose f g a)Defined in base-4.22.0.0 · Data.Functor.ComposeGeneric (Clown f a b)Defined in bifunctors-5.6.3 · Data.Bifunctor.ClownGeneric (Flip p a b)Defined in bifunctors-5.6.3 · Data.Bifunctor.FlipGeneric (Joker g a b)Defined in bifunctors-5.6.3 · Data.Bifunctor.JokerGeneric (WrappedBifunctor p a b)Defined in bifunctors-5.6.3 · Data.Bifunctor.WrappedGeneric (M1 i c f p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Program tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeGeneric (Term tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypeGeneric (NormCheckError tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorGeneric (RWST r w s m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.RWS.CPSGeneric (RWST r w s m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.RWS.LazyGeneric (RWST r w s m a)Defined in transformers-0.6.1.2 · Control.Monad.Trans.RWS.StrictGeneric ((:.:) f g p)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Product f g a b)Defined in bifunctors-5.6.3 · Data.Bifunctor.ProductGeneric (Sum p q a b)Defined in bifunctors-5.6.3 · Data.Bifunctor.SumGeneric (a, b, c, d, e, f)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Tannen f p a b)Defined in bifunctors-5.6.3 · Data.Bifunctor.TannenGeneric (a, b, c, d, e, f, g)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (Biff p f g a b)Defined in bifunctors-5.6.3 · Data.Bifunctor.BiffGeneric (a, b, c, d, e, f, g, h, i)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k, l)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k, l, m)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k, l, m, n)Defined in ghc-internal-9.1401.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)Defined in ghc-internal-9.1401.0 · GHC.Internal.Generics
64-bit unsigned integer type
Instances113Bounded, Enum, Eq, Data, Num, Ord, …
Bounded Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordEnum Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordEq Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordIntegral Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordData Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.DataNum Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordOrd Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordRead Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.ReadReal Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordShow Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordIx Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordBits Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordFiniteBits Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.WordStorable Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.Foreign.StorablePrintfArg Word64Defined in base-4.22.0.0 · Text.PrintfNFData Word64Defined in deepseq-1.5.1.0 · Control.DeepSeqMantissa Word64Defined in bytestring-0.12.2.0 · Data.ByteString.Builder.RealFloat.InternalBinary Word64Defined in binary-0.8.9.3 · Data.Binary.ClassRandom Word64Defined in random-1.3.1 · System.RandomFinite Word64Defined in random-1.3.1 · System.Random.GFiniteUniform Word64Defined in random-1.3.1 · System.Random.InternalUniformRange Word64Defined in random-1.3.1 · System.Random.InternalArbitrary Word64Defined in QuickCheck-2.18.0.0 · Test.QuickCheck.ArbitraryCoArbitrary Word64Defined in QuickCheck-2.18.0.0 · Test.QuickCheck.ArbitraryFunction Word64Defined in QuickCheck-2.18.0.0 · Test.QuickCheck.FunctionPretty Word64Defined in prettyprinter-1.7.2 · Prettyprinter.InternalHashable Word64Defined in hashable-1.5.1.0 · Data.Hashable.ClassPrim Word64Defined in primitive-0.9.1.0 · Data.Primitive.TypesUnbox Word64Defined in vector-0.13.2.0 · Data.Vector.Unboxed.BaseByteSource Word64Defined in uuid-types-1.0.6.1 · Data.UUID.Types.Internal.BuilderFromJSON Word64Defined in aeson-2.2.5.1 · Data.Aeson.Types.FromJSONFromJSONKey Word64Defined in aeson-2.2.5.1 · Data.Aeson.Types.FromJSONToJSON Word64Defined in aeson-2.2.5.1 · Data.Aeson.Types.ToJSONToJSONKey Word64Defined in aeson-2.2.5.1 · Data.Aeson.Types.ToJSONDefault Word64Defined in data-default-0.8.0.2 · Data.Default.InternalSerialise Word64Defined in serialise-0.2.6.1 · Codec.Serialise.ClassBitOps Word64Defined in basement-0.0.16 · Basement.BitsFiniteBitsOps Word64Defined in basement-0.0.16 · Basement.BitsAdditive Word64Defined in basement-0.0.16 · Basement.Numerical.AdditiveIDivisible Word64Defined in basement-0.0.16 · Basement.Numerical.MultiplicativeMultiplicative Word64Defined in basement-0.0.16 · Basement.Numerical.MultiplicativeSubtractive Word64Defined in basement-0.0.16 · Basement.Numerical.SubtractiveIntegral Word64Defined in basement-0.0.16 · Basement.Compat.NumLiteralIsNatural Word64Defined in basement-0.0.16 · Basement.Numerical.NumberPrimType Word64Defined in basement-0.0.16 · Basement.PrimTypeIsIntegral Word64Defined in basement-0.0.16 · Basement.Numerical.NumberNormalForm Word64Defined in basement-0.0.16 · Basement.NormalFormHasNegation Word64Defined in basement-0.0.16 · Basement.Compat.NumLiteralByteSwap Word64Defined in basement-0.0.16 · Basement.EndiannessPrimMemoryComparable Word64Defined in basement-0.0.16 · Basement.PrimTypeFinite Word64Defined in universe-base-1.1.4 · Data.Universe.ClassUniverse Word64Defined in universe-base-1.1.4 · Data.Universe.ClassMemPack Word64Defined in mempack-0.2.1.0 · Data.MemPackNoThunks Word64Defined in nothunks-0.3.1 · NoThunks.ClassBuildable Word64Defined in formatting-7.2.0 · Formatting.BuildableFromCBOR Word64Defined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORToCBOR Word64Defined in cardano-binary-1.9.1.0 · Cardano.Binary.ToCBORByteSwap Word64Defined in memory-0.18.0 · Data.Memory.EndianHeapWords Word64Defined in heapwords-0.1.0.2 · Cardano.HeapWordsFromField Word64Defined in cassava-0.5.4.1 · Data.Csv.ConversionAccepts an unsigned decimal number. Ignores whitespace.
ToField Word64Defined in cassava-0.5.4.1 · Data.Csv.ConversionUses decimal encoding.
PrettyVal Word64Defined in pretty-show-1.10 · Text.Show.PrettyValPretty Word64Defined in wl-pprint-annotated-0.1.0.2 · Text.PrettyPrint.Annotated.WLLexicographic Word64Defined in vector-algorithms-0.9.1.0 · Data.Vector.Algorithms.AmericanFlagRadix Word64Defined in vector-algorithms-0.9.1.0 · Data.Vector.Algorithms.RadixExMemoryUsage Word64Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryUsageLift Word64Defined in ghc-internal-9.1401.0 · GHC.Internal.TH.LiftIArray UArray Word64Defined in array-0.5.8.0 · Data.Array.BasePrettyAnn ann Word64Defined in prettyprinter-1.7.2 · Prettyprinter.InternalMVector MVector Word64Defined in vector-0.13.2.0 · Data.Vector.Unboxed.BaseVector Vector Word64Defined in vector-0.13.2.0 · Data.Vector.Unboxed.BaseCast Int64 Word64Defined in basement-0.0.16 · Basement.CastCast Int Word64Defined in basement-0.0.16 · Basement.CastCast Word Word64Defined in basement-0.0.16 · Basement.CastCast Word64 Int64Defined in basement-0.0.16 · Basement.CastCast Word64 IntDefined in basement-0.0.16 · Basement.CastCast Word64 WordDefined in basement-0.0.16 · Basement.CastFrom Word Word64Defined in basement-0.0.16 · Basement.FromFrom Word16 Word64Defined in basement-0.0.16 · Basement.FromFrom Word32 Word64Defined in basement-0.0.16 · Basement.FromFrom Word64 Word128Defined in basement-0.0.16 · Basement.FromFrom Word64 Word256Defined in basement-0.0.16 · Basement.FromFrom Word8 Word64Defined in basement-0.0.16 · Basement.FromIntegralDownsize Integer Word64Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word64Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Word64 Word16Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Word64 Word32Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Word64 Word8Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word Word64Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word16 Word64Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word32 Word64Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word8 Word64Defined in basement-0.0.16 · Basement.IntegralConvPrettyDefaultBy config Word64 => PrettyBy config Word64Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalDefaultPrettyBy config Word64Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalMArray IOUArray Word64 IODefined in array-0.5.8.0 · Data.Array.IO.InternalsKnownBuiltinTypeIn DefaultUni term Integer => MakeKnownIn DefaultUni term Word64Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniverseKnownBuiltinTypeIn DefaultUni term Integer => ReadKnownIn DefaultUni term Word64Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniverseKnownTypeAst tyname DefaultUni Word64Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniverseMemPack (VarLen Word64)Defined in mempack-0.2.1.0 · Data.MemPackIndexable (Block Word8) Word64Defined in basement-0.0.16 · Basement.Block · orphanIndexable (Ptr Word8) Word64Defined in basement-0.0.16 · Basement.UArray.Base · orphanFrom (Zn64 n) Word64Defined in basement-0.0.16 · Basement.From(KnownNat n, NatWithinBound Word64 n) => From (Zn n) Word64Defined in basement-0.0.16 · Basement.FromMArray (STUArray s) Word64 (ST s)Defined in array-0.5.8.0 · Data.Array.Basedata MVector s Word64Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Basedata Vector Word64Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Basetype ByteSink Word64 g = Takes8Bytes gDefined in uuid-types-1.0.6.1 · Data.UUID.Types.Internal.Buildertype Difference Word64 = Word64Defined in basement-0.0.16 · Basement.Numerical.Subtractivetype PrimSize Word64 =Defined in basement-0.0.16 · Basement.PrimType8
type NatNumMaxBound Word64 =Defined in basement-0.0.16 · Basement.Nat18446744073709551615
type IsBuiltin DefaultUni Word64 = IsBuiltin DefaultUni (AsInteger Word64)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.Universetype ToBinds DefaultUni acc Word64 = ToBinds DefaultUni acc (AsInteger Word64)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.Universetype ToHoles DefaultUni hole Word64 = ToHoles DefaultUni hole (AsInteger Word64)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.Universe
8-bit unsigned integer type
Instances125Bounded, Enum, Eq, Data, Num, Ord, …
Bounded Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordEnum Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordEq Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordIntegral Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordData Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.Data.DataNum Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordOrd Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordRead Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.ReadReal Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordShow Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordIx Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordBits Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordFiniteBits Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.WordStorable Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.Foreign.StorablePrintfArg Word8Defined in base-4.22.0.0 · Text.PrintfNFData Word8Defined in deepseq-1.5.1.0 · Control.DeepSeqBinary Word8Defined in binary-0.8.9.3 · Data.Binary.ClassRandom Word8Defined in random-1.3.1 · System.RandomFinite Word8Defined in random-1.3.1 · System.Random.GFiniteUniform Word8Defined in random-1.3.1 · System.Random.InternalUniformRange Word8Defined in random-1.3.1 · System.Random.InternalArbitrary Word8Defined in QuickCheck-2.18.0.0 · Test.QuickCheck.ArbitraryCoArbitrary Word8Defined in QuickCheck-2.18.0.0 · Test.QuickCheck.ArbitraryFunction Word8Defined in QuickCheck-2.18.0.0 · Test.QuickCheck.FunctionPretty Word8Defined in prettyprinter-1.7.2 · Prettyprinter.InternalHashable Word8Defined in hashable-1.5.1.0 · Data.Hashable.ClassPrim Word8Defined in primitive-0.9.1.0 · Data.Primitive.TypesUnbox Word8Defined in vector-0.13.2.0 · Data.Vector.Unboxed.BaseByteSource Word8Defined in uuid-types-1.0.6.1 · Data.UUID.Types.Internal.BuilderFromJSON Word8Defined in aeson-2.2.5.1 · Data.Aeson.Types.FromJSONFromJSONKey Word8Defined in aeson-2.2.5.1 · Data.Aeson.Types.FromJSONToJSON Word8Defined in aeson-2.2.5.1 · Data.Aeson.Types.ToJSONToJSONKey Word8Defined in aeson-2.2.5.1 · Data.Aeson.Types.ToJSONDefault Word8Defined in data-default-0.8.0.2 · Data.Default.InternalSerialise Word8Defined in serialise-0.2.6.1 · Codec.Serialise.ClassBitOps Word8Defined in basement-0.0.16 · Basement.BitsFiniteBitsOps Word8Defined in basement-0.0.16 · Basement.BitsAdditive Word8Defined in basement-0.0.16 · Basement.Numerical.AdditiveIDivisible Word8Defined in basement-0.0.16 · Basement.Numerical.MultiplicativeMultiplicative Word8Defined in basement-0.0.16 · Basement.Numerical.MultiplicativeSubtractive Word8Defined in basement-0.0.16 · Basement.Numerical.SubtractiveIntegral Word8Defined in basement-0.0.16 · Basement.Compat.NumLiteralIsNatural Word8Defined in basement-0.0.16 · Basement.Numerical.NumberPrimType Word8Defined in basement-0.0.16 · Basement.PrimTypeIsIntegral Word8Defined in basement-0.0.16 · Basement.Numerical.NumberNormalForm Word8Defined in basement-0.0.16 · Basement.NormalFormHasNegation Word8Defined in basement-0.0.16 · Basement.Compat.NumLiteralPrimMemoryComparable Word8Defined in basement-0.0.16 · Basement.PrimTypeFinite Word8Defined in universe-base-1.1.4 · Data.Universe.ClassUniverse Word8Defined in universe-base-1.1.4 · Data.Universe.ClassMemPack Word8Defined in mempack-0.2.1.0 · Data.MemPackNoThunks Word8Defined in nothunks-0.3.1 · NoThunks.ClassBuildable Word8Defined in formatting-7.2.0 · Formatting.BuildableFromCBOR Word8Defined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORToCBOR Word8Defined in cardano-binary-1.9.1.0 · Cardano.Binary.ToCBORHeapWords Word8Defined in heapwords-0.1.0.2 · Cardano.HeapWordsFromField Word8Defined in cassava-0.5.4.1 · Data.Csv.ConversionAccepts an unsigned decimal number. Ignores whitespace.
ToField Word8Defined in cassava-0.5.4.1 · Data.Csv.ConversionUses decimal encoding.
PrettyVal Word8Defined in pretty-show-1.10 · Text.Show.PrettyValPretty Word8Defined in wl-pprint-annotated-0.1.0.2 · Text.PrettyPrint.Annotated.WLLexicographic Word8Defined in vector-algorithms-0.9.1.0 · Data.Vector.Algorithms.AmericanFlagRadix Word8Defined in vector-algorithms-0.9.1.0 · Data.Vector.Algorithms.RadixExMemoryUsage Word8Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryUsageLift Word8Defined in ghc-internal-9.1401.0 · GHC.Internal.TH.LiftIArray UArray Word8Defined in array-0.5.8.0 · Data.Array.BasePrettyAnn ann Word8Defined in prettyprinter-1.7.2 · Prettyprinter.InternalMVector MVector Word8Defined in vector-0.13.2.0 · Data.Vector.Unboxed.BaseVector Vector Word8Defined in vector-0.13.2.0 · Data.Vector.Unboxed.BaseCast Int8 Word8Defined in basement-0.0.16 · Basement.CastCast Word8 Int8Defined in basement-0.0.16 · Basement.CastFrom Word8 Word128Defined in basement-0.0.16 · Basement.FromFrom Word8 Word256Defined in basement-0.0.16 · Basement.FromFrom Word8 Int16Defined in basement-0.0.16 · Basement.FromFrom Word8 Int32Defined in basement-0.0.16 · Basement.FromFrom Word8 Int64Defined in basement-0.0.16 · Basement.FromFrom Word8 IntDefined in basement-0.0.16 · Basement.FromFrom Word8 WordDefined in basement-0.0.16 · Basement.FromFrom Word8 Word16Defined in basement-0.0.16 · Basement.FromFrom Word8 Word32Defined in basement-0.0.16 · Basement.FromFrom Word8 Word64Defined in basement-0.0.16 · Basement.FromIntegralDownsize Integer Word8Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word8Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Word Word8Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Word16 Word8Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Word32 Word8Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Word64 Word8Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word8 Int16Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word8 Int32Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word8 Int64Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word8 IntDefined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word8 WordDefined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word8 Word16Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word8 Word32Defined in basement-0.0.16 · Basement.IntegralConvIntegralUpsize Word8 Word64Defined in basement-0.0.16 · Basement.IntegralConvPrettyDefaultBy config Word8 => PrettyBy config Word8Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalDefaultPrettyBy config Word8Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalMArray IOUArray Word8 IODefined in array-0.5.8.0 · Data.Array.IO.InternalsKnownBuiltinTypeIn DefaultUni term Integer => MakeKnownIn DefaultUni term Word8Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniverseKnownBuiltinTypeIn DefaultUni term Integer => ReadKnownIn DefaultUni term Word8Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniverseCons ByteString ByteString Word8 Word8Defined in lens-5.3.6 · Control.Lens.ConsCons ByteString ByteString Word8 Word8Defined in lens-5.3.6 · Control.Lens.ConsSnoc ByteString ByteString Word8 Word8Defined in lens-5.3.6 · Control.Lens.ConsSnoc ByteString ByteString Word8 Word8Defined in lens-5.3.6 · Control.Lens.ConsKnownTypeAst tyname DefaultUni Word8Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniverseFrom AsciiString (UArray Word8)Defined in basement-0.0.16 · Basement.FromFrom String (UArray Word8)Defined in basement-0.0.16 · Basement.FromBuffer (PrimArray Word8)Defined in mempack-0.2.1.0 · Data.MemPack.BufferBuffer (Vector Word8)Defined in mempack-0.2.1.0 · Data.MemPack.BufferBuffer (Vector Word8)Defined in mempack-0.2.1.0 · Data.MemPack.BufferIndexable (Block Word8) Word64Defined in basement-0.0.16 · Basement.Block · orphanIndexable (Ptr Word8) Word64Defined in basement-0.0.16 · Basement.UArray.Base · orphan(KnownNat n, NatWithinBound Word8 n) => From (Zn n) Word8Defined in basement-0.0.16 · Basement.From(KnownNat n, NatWithinBound Word8 n) => From (Zn64 n) Word8Defined in basement-0.0.16 · Basement.FromTryFrom (UArray Word8) StringDefined in basement-0.0.16 · Basement.FromMArray (STUArray s) Word8 (ST s)Defined in array-0.5.8.0 · Data.Array.BaseCast (Block a) (Block Word8)Defined in basement-0.0.16 · Basement.Castdata MVector s Word8Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Basedata Vector Word8Defined in vector-0.13.2.0 · Data.Vector.Unboxed.Basetype ByteSink Word8 g = Takes1Byte gDefined in uuid-types-1.0.6.1 · Data.UUID.Types.Internal.Buildertype Difference Word8 = Word8Defined in basement-0.0.16 · Basement.Numerical.Subtractivetype PrimSize Word8 =Defined in basement-0.0.16 · Basement.PrimType1
type NatNumMaxBound Word8 =Defined in basement-0.0.16 · Basement.Nat255
type IsBuiltin DefaultUni Word8 = IsBuiltin DefaultUni (AsInteger Word8)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.Universetype ToBinds DefaultUni acc Word8 = ToBinds DefaultUni acc (AsInteger Word8)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.Universetype ToHoles DefaultUni hole Word8 = ToHoles DefaultUni hole (AsInteger Word8)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.Universe
Constructors
Instances2Eq, Show
Eq a => Eq (ShowPretty a)Defined in plutus-core-1.70.0.0 · PlutusPreludePretty a => Show (ShowPretty a)Defined in plutus-core-1.70.0.0 · PlutusPrelude
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"]))helloworld
Instances9Functor, PrettyAnn, Show, IsString, Generic, Semigroup, …
Functor DocDefined in prettyprinter-1.7.2 · Prettyprinter.InternalAlter the document’s annotations.
This instance makes Doc more flexible (because it can be used in Functor-polymorphic values), but
fmapis much less readable compared to usingreAnnotatein code that only works forDocanyway. Consider using the latter when the type does not matter.PrettyAnn ann (Doc ann)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalShow (Doc ann)Defined in prettyprinter-1.7.2 · Prettyprinter.Internal(show doc)prettyprints documentdocwith defaultLayoutOptions, ignoring all annotations.IsString (Doc ann)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalGeneric (Doc ann)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalSemigroup (Doc ann)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalMonoid (Doc ann)Defined in prettyprinter-1.7.2 · Prettyprinter.Internalann ~ Void => Pretty (Doc ann)Defined in prettyprinter-1.7.2 · Prettyprinter.Internaltype Rep (Doc ann) = D1 ('MetaDataDefined in prettyprinter-1.7.2 · Prettyprinter.Internal"Doc"
"Prettyprinter.Internal"
"prettyprinter-1.7.2-AnRtQTyRihFBuoLoc5CL1J"
'False) (((C1 ('MetaCons"Fail"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"Empty"
'PrefixI 'False) U1 :+: C1 ('MetaCons"Char"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Char)))) :+: (C1 ('MetaCons"Text"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons"Line"
'PrefixI 'False) U1 :+: C1 ('MetaCons"FlatAlt"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)))))) :+: ((C1 ('MetaCons"Cat"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann))) :+: (C1 ('MetaCons"Nest"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann))) :+: C1 ('MetaCons"Union"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann))))) :+: ((C1 ('MetaCons"Column"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Int -> Doc ann))) :+: C1 ('MetaCons"WithPageWidth"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PageWidth -> Doc ann)))) :+: (C1 ('MetaCons"Nesting"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Int -> Doc ann))) :+: C1 ('MetaCons"Annotated"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ann) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Doc ann)))))))
Methods
pretty :: a -> Doc annExample1 expression pretty 1 <+> pretty "hello" <+> pretty 1.2341 hello 1.234
prettyList :: [a] -> Doc annprettyListis only used to define theinstance Pretty a => Pretty [a]. In normal circumstances only theprettyfunction is used.Example1 expression prettyList [1, 23, 456][1, 23, 456]
Instances101Pretty, …
Pretty VoidDefined in prettyprinter-1.7.2 · Prettyprinter.InternalFinding a good example for printing something that does not exist is hard, so here is an example of printing a list full of nothing.
Example1 expression pretty ([] :: [Void])[]
Pretty IntegerDefined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (2^123 :: Integer)10633823966279326983230456482242756608
Pretty NaturalDefined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty Int16Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty Int32Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty Int64Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty Int8Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty BoolDefined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty TrueTrue
Pretty CharDefined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty DoubleDefined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (exp 1 :: Double)2.71828182845904...
Pretty FloatDefined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (pi :: Float)3.1415927
Pretty IntDefined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (123 :: Int)123
Pretty WordDefined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty Word16Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty Word32Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty Word64Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty Word8Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty SourcePosDefined in plutus-core-1.70.0.0 · PlutusCore.Error · orphanPretty DeserialiseFailureInfoDefined in plutus-core-1.70.0.0 · Codec.Extras.SerialiseViaFlatPretty DeserialiseFailureReasonDefined in plutus-core-1.70.0.0 · Codec.Extras.SerialiseViaFlatPretty AnnDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationPretty SrcSpanDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationPretty SrcSpansDefined in plutus-core-1.70.0.0 · PlutusCore.AnnotationPretty ParamDefined in plutus-core-1.70.0.0 · PlutusCore.ArityPretty AstSizeDefined in plutus-core-1.70.0.0 · PlutusCore.AstSizePretty BuiltinErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Builtin.ResultPretty UnliftingErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Builtin.ResultPretty UnliftingEvaluationErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Builtin.ResultPretty NameAnnDefined in plutus-core-1.70.0.0 · PlutusCore.Check.ScopingPretty ScopeErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Check.ScopingPretty ElementDefined in plutus-core-1.70.0.0 · PlutusCore.Crypto.BLS12_381.G1Pretty ElementDefined in plutus-core-1.70.0.0 · PlutusCore.Crypto.BLS12_381.G2Pretty MlResultDefined in plutus-core-1.70.0.0 · PlutusCore.Crypto.BLS12_381.PairingPretty DataDefined in plutus-core-1.70.0.0 · PlutusCore.DataPretty FreeVariableErrorDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalPretty IndexDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalPretty DefaultFunDefined in plutus-core-1.70.0.0 · PlutusCore.Default.BuiltinsPretty ParserErrorDefined in plutus-core-1.70.0.0 · PlutusCore.ErrorPretty ParserErrorBundleDefined in plutus-core-1.70.0.0 · PlutusCore.ErrorPretty CkUserErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CkPretty CostModelApplyErrorDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostModelInterfacePretty CostModelApplyWarnDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.CostModelInterfacePretty ExBudgetDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExBudgetPretty ExRestrictingBudgetDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExBudgetPretty ExCPUDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryPretty ExMemoryDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryPretty ExtensionFunDefined in plutus-core-1.70.0.0 · PlutusCore.Examples.BuiltinsPretty NameDefined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Default · orphanPretty TyNameDefined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Default · orphanPretty UniqueDefined in plutus-core-1.70.0.0 · PlutusCore.Name.UniquePretty QuantityDefined in plutus-core-1.70.0.0 · PlutusCore.ValuePretty ValueDefined in plutus-core-1.70.0.0 · PlutusCore.ValuePretty VersionDefined in plutus-core-1.70.0.0 · PlutusCore.VersionPretty CountingStDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModePretty RestrictingStDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModePretty CekUserErrorDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.InternalPretty CseWhichSubtermsDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Optimize.OptsPretty PurityDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.PurityPretty WorkFreedomDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.PurityPretty TextDefined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty TextDefined in prettyprinter-1.7.2 · Prettyprinter.Internal(lazy Text instance, identical to the strict version)
Pretty ()Defined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty ()()
The argument is not used:
Example1 expression pretty (error "Strict?" :: ())()
Show fun => Pretty (ExBudgetCategory fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.InternalPrettyClassic a => Pretty (EvaluationResult a)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ResultPrettyReadable a => Pretty (AsReadable a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.ReadablePretty (BuiltinSemanticsVariant DefaultFun)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.BuiltinsPretty (DefaultUni a)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniversePretty (SomeTypeIn DefaultUni)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniversePretty (SomeTypeIn uni) => Pretty (SomeTypeIn (Kinded uni))Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConst · orphanPretty a => Pretty (NonEmpty a)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty a => Pretty (Identity a)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (Identity 1)1
Pretty a => Pretty (Maybe a)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalPretty a => Pretty (Spine a)Defined in plutus-core-1.70.0.0 · PlutusCore.Builtin.KnownTypePretty a => Pretty (Normalized a)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypePretty a => Pretty [a]Defined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty [1,2,3][1, 2, 3]
Pretty ann => Pretty (Kind ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Default · orphanPretty ann => Pretty (UniqueError ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Error(Show fun, Ord fun) => Pretty (CekExTally fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode(Show fun, Ord fun) => Pretty (TallyingSt fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModeann ~ Void => Pretty (Doc ann)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalDefaultPrettyBy config a => Pretty (AttachDefaultPrettyConfig config a)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyBy config a => Pretty (AttachPrettyConfig config a)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample4 expressions data Cfg = Cfgdata D = Dinstance PrettyBy Cfg D where prettyBy Cfg D = "D"pretty $ AttachPrettyConfig Cfg DD
(Closed uni, Everywhere uni PrettyConst) => Pretty (ValueOf uni a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConst · orphan(Closed uni, Everywhere uni PrettyConst) => Pretty (Some (ValueOf uni))Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConst · orphan(Pretty a, Pretty b) => Pretty (Either a b)Defined in plutus-core-1.70.0.0 · PlutusPrelude · orphan(Pretty a1, Pretty a2) => Pretty (a1, a2)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (123, "hello")(123, hello)
(Pretty err, Pretty cause) => Pretty (ErrorWithCause err cause)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ErrorWithCause(Pretty structural, Pretty operational) => Pretty (EvaluationError structural operational)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ErrorPretty (CekState uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.SteppableCek.InternalPretty a => Pretty (Const a b)Defined in prettyprinter-1.7.2 · Prettyprinter.Internal(PrettyClassic tyname, PrettyParens (SomeTypeIn uni), Pretty ann) => Pretty (Type tyname uni ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Default · orphan(Pretty a1, Pretty a2, Pretty a3) => Pretty (a1, a2, a3)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (123, "hello", False)(123, hello, False)
(Pretty err, Pretty a, Pretty b) => Pretty (HeadSpine err a b)Defined in plutus-core-1.70.0.0 · PlutusCore.Builtin.KnownType(PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Program name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Pretty.Default · orphan(PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Term name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Pretty.Default · orphan(Pretty a1, Pretty a2, Pretty a3, Pretty a4) => Pretty (a1, a2, a3, a4)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (123, "hello", False, ())(123, hello, False, ())
(PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Program tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Default · orphan(PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Term tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Default · orphan(Pretty a1, Pretty a2, Pretty a3, Pretty a4, Pretty a5) => Pretty (a1, a2, a3, a4, a5)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (123, "hello", False, (), 3.14)(123, hello, False, (), 3.14)
(Pretty a1, Pretty a2, Pretty a3, Pretty a4, Pretty a5, Pretty a6) => Pretty (a1, a2, a3, a4, a5, a6)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (123, "hello", False, (), 3.14, Just 2.71)(123, hello, False, (), 3.14, 2.71)
(Pretty a1, Pretty a2, Pretty a3, Pretty a4, Pretty a5, Pretty a6, Pretty a7) => Pretty (a1, a2, a3, a4, a5, a6, a7)Defined in prettyprinter-1.7.2 · Prettyprinter.InternalExample1 expression pretty (123, "hello", False, (), 3.14, Just 2.71, [1,2,3])(123, hello, False, (), 3.14, 2.71, [1, 2, 3])
A class for rendering Docs as string types.
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 = DefCfgtype instance HasPrettyDefaults DefCfg = 'TrueprettyBy 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 = NonDefCfgtype 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 Trueresults 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 Truet
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 IntprettyBy 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.
Instances7HasPrettyDefaults, …
type HasPrettyDefaults PrettyConfigName = 'TrueDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.ConfigNametype HasPrettyDefaults PrettyConfigPlc = 'TrueDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.Plctype HasPrettyDefaults ConstConfig = 'FalseDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConsttype HasPrettyDefaults (PrettyConfigClassic _1) = 'TrueDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.Classictype HasPrettyDefaults (PrettyConfigReadable _1) = 'TrueDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.Readabletype HasPrettyDefaults (Sole config) = HasPrettyDefaults configDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.Extra · orphantype HasPrettyDefaults () = 'TrueDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalprettyBy ()works likeprettyfor types supporting default pretty-printing.
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 = ViaShowinstance Show a => PrettyBy ViaShow (PrettyAny a) where prettyBy ViaShow = pretty . show . unPrettyAnyprettyBy ViaShow $ PrettyAny TrueTrue
or you can use the type to via-derive instances:
data D = D deriving stock (Show)deriving via PrettyAny D instance PrettyBy ViaShow DprettyBy ViaShow DD
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 = UpperCasedata LowerCase = LowerCasedata Case = CaseUpperCase UpperCase | CaseLowerCase LowerCaseinstance (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 = Dinstance PrettyBy UpperCase D where prettyBy UpperCase D = "D"instance PrettyBy LowerCase D where prettyBy LowerCase D = "d"deriving via PrettyAny D instance PrettyBy Case DprettyBy UpperCase DDprettyBy LowerCase Dd
Look into test/Universal.hs for an extended example.
Constructors
PrettyAnyunPrettyAny :: a
Instances5NonDefaultPrettyBy, PrettyBy, DefaultPrettyBy
DefaultPrettyBy ConstConfig (PrettyAny a) => NonDefaultPrettyBy ConstConfig (PrettyAny a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConstDefaultPrettyPlcStrategy a => PrettyBy PrettyConfigPlc (PrettyAny a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PlcDefaultPrettyPlcStrategy a => PrettyBy PrettyConfigPlcStrategy (PrettyAny a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PlcDefaultPrettyBy ConstConfig (PrettyAny a) => PrettyBy ConstConfig (PrettyAny a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConstShow a => DefaultPrettyBy ConstConfig (PrettyAny a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConst
A class for pretty-printing values in a configurable manner.
A basic example:
data Case = UpperCase | LowerCasedata D = Dinstance PrettyBy Case D where prettyBy UpperCase D = "D"; prettyBy LowerCase D = "d"prettyBy UpperCase DDprettyBy LowerCase Dd
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 = ViaShowinstance 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 aThere'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.
Methods
prettyBy :: config -> a -> Doc annPretty-print a value of type
athe way aconfigspecifies 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":Example3 expressions newtype N = N Int deriving newtype (Pretty)instance PrettyBy () NprettyBy () (N 42)42
The default implementation of prettyBy for a Functor is going to be in terms of defaultPrettyFunctorBy:
Example3 expressions 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:Example3 expressions 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:
Example3 expressions 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 kindTypeand 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 kindType, 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 annprettyListBy is used to define the default PrettyBy instance for
[a]andNonEmpty a. In normal circumstances only the prettyBy function is used. The default implementation of prettyListBy is in terms of defaultPrettyFunctorBy.
Instances110PrettyBy, …
HasPrettyConfigName config => PrettyBy config DeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalHasPrettyConfigName config => PrettyBy config FakeNamedDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalHasPrettyConfigName config => PrettyBy config NamedDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalHasPrettyConfigName config => PrettyBy config NamedTyDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalHasPrettyConfigName config => PrettyBy config TyDeBruijnDefined in plutus-core-1.70.0.0 · PlutusCore.DeBruijn.InternalHasPrettyConfigName config => PrettyBy config NameDefined in plutus-core-1.70.0.0 · PlutusCore.Name.UniqueHasPrettyConfigName config => PrettyBy config TyNameDefined in plutus-core-1.70.0.0 · PlutusCore.Name.UniquePrettyBy PrettyConfigPlc DefaultFunDefined in plutus-core-1.70.0.0 · PlutusCore.Default.BuiltinsPrettyBy ConstConfig ByteStringDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConstPrettyBy ConstConfig ElementDefined in plutus-core-1.70.0.0 · PlutusCore.Crypto.BLS12_381.G1PrettyBy ConstConfig ElementDefined in plutus-core-1.70.0.0 · PlutusCore.Crypto.BLS12_381.G2PrettyBy ConstConfig MlResultDefined in plutus-core-1.70.0.0 · PlutusCore.Crypto.BLS12_381.PairingPrettyBy ConstConfig DataDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConstPrettyBy ConstConfig CByteStringDefined in plutus-core-1.70.0.0 · PlutusCore.Default.Universe.CardanoPrettyBy ConstConfig CIntegerDefined in plutus-core-1.70.0.0 · PlutusCore.Default.Universe.CardanoPrettyBy ConstConfig KDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConstPrettyBy ConstConfig QuantityDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConstPrettyBy ConstConfig ValueDefined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConstPrettyBy config AstSizeDefined in plutus-core-1.70.0.0 · PlutusCore.AstSizePrettyBy config ExBudgetDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExBudgetPrettyBy config ExRestrictingBudgetDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExBudgetPrettyBy config ExCPUDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryPrettyBy config ExMemoryDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryPrettyBy config CountingStDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModePrettyBy config RestrictingStDefined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetModePrettyDefaultBy config Void => PrettyBy config VoidDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () ([] :: [Void])[]
PrettyDefaultBy config Integer => PrettyBy config IntegerDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () (2^(123 :: Int) :: Integer)10633823966279326983230456482242756608
PrettyDefaultBy config Natural => PrettyBy config NaturalDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () (123 :: Natural)123
PrettyDefaultBy config Int16 => PrettyBy config Int16Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyDefaultBy config Int32 => PrettyBy config Int32Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyDefaultBy config Int64 => PrettyBy config Int64Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyDefaultBy config Int8 => PrettyBy config Int8Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyDefaultBy config Bool => PrettyBy config BoolDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () TrueTrue
PrettyDefaultBy config Char => PrettyBy config CharDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalBy default a String (i.e.
[Char]) is converted to aTextfirst and then pretty-printed. So make sure that if you have any non-default pretty-printing forCharorText, they're in sync.Example2 expressions prettyBy () 'a'aprettyBy () "abc"abc
PrettyDefaultBy config Double => PrettyBy config DoubleDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () (pi :: Double)3.141592653589793
PrettyDefaultBy config Float => PrettyBy config FloatDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () (pi :: Float)3.1415927
PrettyDefaultBy config Int => PrettyBy config IntDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () (123 :: Int)123
PrettyDefaultBy config Word => PrettyBy config WordDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyDefaultBy config Word16 => PrettyBy config Word16Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyDefaultBy config Word32 => PrettyBy config Word32Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyDefaultBy config Word64 => PrettyBy config Word64Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyDefaultBy config Word8 => PrettyBy config Word8Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalPrettyDefaultBy config Text => PrettyBy config TextDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalAutomatically converts all newlines to
line.Example1 expression prettyBy () ("hello\nworld" :: Strict.Text)helloworld
PrettyDefaultBy config Text => PrettyBy config TextDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalAn instance for lazy
Text. Identitical to the strict one.PrettyDefaultBy config () => PrettyBy config ()Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () ()()
The argument is not used:
Example1 expression prettyBy () (error "Strict?" :: ())()
DefaultPrettyPlcStrategy (Kind ann) => PrettyBy PrettyConfigPlc (Kind ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Plc · orphanDefaultPrettyPlcStrategy a => PrettyBy PrettyConfigPlc (PrettyAny a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PlcDefaultPrettyPlcStrategy a => PrettyBy PrettyConfigPlcStrategy (PrettyAny a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PlcPrettyConst a => PrettyBy ConstConfig (NoParens a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConstPretty a => PrettyBy config (IgnorePrettyConfig a)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample4 expressions data Cfg = Cfgdata D = Dinstance Pretty D where pretty D = "D"prettyBy Cfg $ IgnorePrettyConfig DD
DefaultPrettyBy ConstConfig (PrettyAny a) => PrettyBy ConstConfig (PrettyAny a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConstPrettyBy PrettyConfigPlc a => PrettyBy PrettyConfigPlc (ExpectedShapeOr a)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorPrettyBy RenderContext (DefaultUni a)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniversePrettyBy RenderContext (SomeTypeIn DefaultUni)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.UniversePrettyBy config (t NameAnn) => PrettyBy config (ScopeCheckError t)Defined in plutus-core-1.70.0.0 · PlutusCore.Check.ScopingPrettyBy config a => PrettyBy config (Normalized a)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.TypePrettyBy config a => PrettyBy config (EvaluationResult a)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ResultPrettyDefaultBy config (Set a) => PrettyBy config (Set a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.Extra · orphanPrettyDefaultBy config (NonEmpty a) => PrettyBy config (NonEmpty a)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalprettyBy for
NonEmpty ais defined in terms of prettyListBy by default.Example3 expressions prettyBy () (True :| [False])[True, False]prettyBy () ('a' :| "bc")abcprettyBy () (Just False :| [Nothing, Just True])[False, True]
PrettyDefaultBy config (Identity a) => PrettyBy config (Identity a)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () (Identity True)True
PrettyDefaultBy config (Maybe a) => PrettyBy config (Maybe a)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalBy default a
[Maybe a]is converted to[a]first and only then pretty-printed.Example4 expressions 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
PrettyDefaultBy config (Spine a) => PrettyBy config (Spine a)Defined in plutus-core-1.70.0.0 · PlutusCore.Builtin.KnownTypePrettyDefaultBy config (AsReadable a) => PrettyBy config (AsReadable a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.ReadablePrettyDefaultBy config (Vector a) => PrettyBy config (Vector a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.Extra · orphanPrettyDefaultBy config [a] => PrettyBy config [a]Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalprettyBy for
[a]is defined in terms of prettyListBy by default.Example3 expressions prettyBy () [True, False][True, False]prettyBy () "abc"abcprettyBy () [Just False, Nothing, Just True][False, True]
PrettyDefaultBy config a => PrettyBy config (PrettyCommon a)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.Internal(Show fun, Ord fun) => PrettyBy config (CekExTally fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode(Show fun, Ord fun) => PrettyBy config (TallyingSt fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode(HasPrettyDefaults config ~ 'True, Pretty fun) => PrettyBy config (MachineError fun)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExceptionPrettyDefaultBy config (Map k v) => PrettyBy config (Map k v)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.Extra · orphanPrettyDefaultBy config (Either a b) => PrettyBy config (Either a b)Defined in plutus-core-1.70.0.0 · PlutusPrelude · orphanPrettyDefaultBy config (a, b) => PrettyBy config (a, b)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () (False, "abc")(False, abc)
(PrettyUni uni, Pretty fun) => PrettyBy PrettyConfigPlc (CkValue uni fun)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.Ck(PrettyUni uni, Pretty fun) => PrettyBy PrettyConfigPlc (DischargeResult uni fun)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.Internal(Closed uni, Everywhere uni PrettyConst) => PrettyBy ConstConfig (ValueOf uni a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConst(Closed uni, Everywhere uni PrettyConst) => PrettyBy ConstConfig (Some (ValueOf uni))Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.PrettyConst(HasPrettyDefaults config ~ 'True, PrettyBy config structural, Pretty operational) => PrettyBy config (EvaluationError structural operational)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Error(PrettyBy config cause, PrettyBy config err) => PrettyBy config (ErrorWithCause err cause)Defined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.ErrorWithCauseDefaultPrettyPlcStrategy (Type tyname uni ann) => PrettyBy PrettyConfigPlc (Type tyname uni ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Plc · orphanPrettyDefaultBy config (Const a b) => PrettyBy config (Const a b)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalNon-polykinded, because
Pretty (Const a b)is not polykinded either.Example1 expression prettyBy () (Const 1 :: Const Integer Bool)1
PrettyDefaultBy config (HeadSpine err a b) => PrettyBy config (HeadSpine err a b)Defined in plutus-core-1.70.0.0 · PlutusCore.Builtin.KnownTypePrettyDefaultBy config (a, b, c) => PrettyBy config (a, b, c)Defined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () ('a', "bcd", True)(a, bcd, True)
(PrettyUni uni, Pretty fun) => PrettyBy PrettyConfigPlc (CekValue uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Evaluation.Machine.Cek.Internal(PrettyUni uni, Pretty fun, Pretty ann) => PrettyBy PrettyConfigPlc (Error uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorDefaultPrettyPlcStrategy (UnrestrictedProgram name uni fun ann) => PrettyBy PrettyConfigPlc (UnrestrictedProgram name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.FlatDefaultPrettyPlcStrategy (Program name uni fun ann) => PrettyBy PrettyConfigPlc (Program name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Pretty.Plc · orphanDefaultPrettyPlcStrategy (Term name uni fun ann) => PrettyBy PrettyConfigPlc (Term name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Pretty.Plc · orphanPrettyBy config (Term name uni fun a) => PrettyBy config (EvalOrder name uni fun a)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.PurityPrettyBy config (Term name uni fun a) => PrettyBy config (EvalTerm name uni fun a)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Purity(Pretty term, PrettyUni uni, Pretty fun, Pretty ann) => PrettyBy PrettyConfigPlc (TypeError term uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorDefaultPrettyPlcStrategy (Program tyname name uni fun ann) => PrettyBy PrettyConfigPlc (Program tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Plc · orphanDefaultPrettyPlcStrategy (Term tyname name uni fun ann) => PrettyBy PrettyConfigPlc (Term tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Plc · orphan(Pretty ann, PrettyBy config (Type tyname uni ann), PrettyBy config (Term tyname name uni fun ann)) => PrettyBy config (NormCheckError tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.ErrorPrettyReadableBy configName a => PrettyBy (PrettyConfigReadable configName) (Parened a)Defined in plutus-core-1.70.0.0 · PlutusCore.Pretty.ReadablePretty ann => PrettyBy (PrettyConfigClassic configName) (Kind ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Classic · orphanPrettyBy (PrettyConfigReadable configName) (Kind a)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Readable · orphanPrettyReadableBy configName tyname => PrettyBy (PrettyConfigReadable configName) (TyVarDecl tyname ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Readable · orphan(PrettyClassicBy configName tyname, PrettyParens (SomeTypeIn uni), Pretty ann) => PrettyBy (PrettyConfigClassic configName) (Type tyname uni ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Classic · orphan(PrettyReadableBy configName tyname, PrettyParens (SomeTypeIn uni)) => PrettyBy (PrettyConfigReadable configName) (Type tyname uni a)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Readable · orphanPrettyReadableBy configName (Term name uni fun a) => PrettyBy (PrettyConfigReadable configName) (Program name uni fun a)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Pretty.Readable · orphan(PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => PrettyBy (PrettyConfigClassic PrettyConfigName) (UnrestrictedProgram name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Flat(PrettyClassicBy configName (Term name uni fun ann), Pretty ann) => PrettyBy (PrettyConfigClassic configName) (Program name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Pretty.Classic · orphan(PrettyClassicBy configName name, PrettyUni uni, Pretty fun, Pretty ann) => PrettyBy (PrettyConfigClassic configName) (Term name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Pretty.Classic · orphan(PrettyReadable name, PrettyUni uni, Pretty fun) => PrettyBy (PrettyConfigReadable PrettyConfigName) (UnrestrictedProgram name uni fun ann)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Flat(PrettyReadableBy configName name, PrettyUni uni, Pretty fun, Show configName) => PrettyBy (PrettyConfigReadable configName) (Term name uni fun a)Defined in plutus-core-1.70.0.0 · UntypedPlutusCore.Core.Instance.Pretty.Readable · orphan(PrettyReadableBy configName tyname, PrettyReadableBy configName name, PrettyUni uni) => PrettyBy (PrettyConfigReadable configName) (VarDecl tyname name uni ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Readable · orphanPrettyReadableBy configName (Term tyname name uni fun a) => PrettyBy (PrettyConfigReadable configName) (Program tyname name uni fun a)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Readable · orphan(PrettyClassicBy configName (Term tyname name uni fun ann), Pretty ann) => PrettyBy (PrettyConfigClassic configName) (Program tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Classic · orphan(PrettyClassicBy configName tyname, PrettyClassicBy configName name, PrettyUni uni, Pretty fun, Pretty ann) => PrettyBy (PrettyConfigClassic configName) (Term tyname name uni fun ann)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Classic · orphan(PrettyReadableBy configName tyname, PrettyReadableBy configName name, PrettyUni uni, Pretty fun) => PrettyBy (PrettyConfigReadable configName) (Term tyname name uni fun a)Defined in plutus-core-1.70.0.0 · PlutusCore.Core.Instance.Pretty.Readable · orphan
type PrettyDefaultBy config = DispatchPrettyDefaultBy (NonStuckHasPrettyDefaults config) configPrettyDefaultBy 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".
Natural number
Invariant: numbers <= 0xffffffffffffffff use the NS constructor
Instances90Enum, Eq, Data, Num, Ord, Read, …
Enum NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.EnumEq NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.Bignum.NaturalIntegral NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.RealData NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.DataNum NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.NumOrd NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.Bignum.NaturalRead NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.ReadReal NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.RealShow NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.ShowIx NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.IxBits NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.BitsPrintfArg NaturalDefined in base-4.22.0.0 · Text.PrintfNFData NaturalDefined in deepseq-1.5.1.0 · Control.DeepSeqBinary NaturalDefined in binary-0.8.9.3 · Data.Binary.ClassUniformRange NaturalDefined in random-1.3.1 · System.Random.InternalArbitrary NaturalDefined in QuickCheck-2.18.0.0 · Test.QuickCheck.ArbitraryCoArbitrary NaturalDefined in QuickCheck-2.18.0.0 · Test.QuickCheck.ArbitraryFunction NaturalDefined in QuickCheck-2.18.0.0 · Test.QuickCheck.FunctionPretty NaturalDefined in prettyprinter-1.7.2 · Prettyprinter.InternalHashable NaturalDefined in hashable-1.5.1.0 · Data.Hashable.ClassFromJSON NaturalDefined in aeson-2.2.5.1 · Data.Aeson.Types.FromJSONFromJSONKey NaturalDefined in aeson-2.2.5.1 · Data.Aeson.Types.FromJSONToJSON NaturalDefined in aeson-2.2.5.1 · Data.Aeson.Types.ToJSONToJSONKey NaturalDefined in aeson-2.2.5.1 · Data.Aeson.Types.ToJSONSerialise NaturalDefined in serialise-0.2.6.1 · Codec.Serialise.ClassAdditive NaturalDefined in basement-0.0.16 · Basement.Numerical.AdditiveIDivisible NaturalDefined in basement-0.0.16 · Basement.Numerical.MultiplicativeMultiplicative NaturalDefined in basement-0.0.16 · Basement.Numerical.MultiplicativeSubtractive NaturalDefined in basement-0.0.16 · Basement.Numerical.SubtractiveIntegral NaturalDefined in basement-0.0.16 · Basement.Compat.NumLiteralIsNatural NaturalDefined in basement-0.0.16 · Basement.Numerical.NumberIsIntegral NaturalDefined in basement-0.0.16 · Basement.Numerical.NumberNormalForm NaturalDefined in basement-0.0.16 · Basement.NormalFormUniverse NaturalDefined in universe-base-1.1.4 · Data.Universe.ClassRationalUniverse NaturalDefined in universe-base-1.1.4 · Data.Universe.ClassMemPack NaturalDefined in mempack-0.2.1.0 · Data.MemPackNoThunks NaturalDefined in nothunks-0.3.1 · NoThunks.ClassCorecursive NaturalDefined in recursion-schemes-5.2.3 · Data.Functor.FoldableRecursive NaturalDefined in recursion-schemes-5.2.3 · Data.Functor.FoldableFromCBOR NaturalDefined in cardano-binary-1.9.1.0 · Cardano.Binary.FromCBORToCBOR NaturalDefined in cardano-binary-1.9.1.0 · Cardano.Binary.ToCBORHeapWords NaturalDefined in heapwords-0.1.0.2 · Cardano.HeapWordsFromField NaturalDefined in cassava-0.5.4.1 · Data.Csv.ConversionAccepts an unsigned decimal number. Ignores whitespace.
ToField NaturalDefined in cassava-0.5.4.1 · Data.Csv.ConversionUses decimal encoding.
Pretty NaturalDefined in wl-pprint-annotated-0.1.0.2 · Text.PrettyPrint.Annotated.WLExMemoryUsage NaturalDefined in plutus-core-1.70.0.0 · PlutusCore.Evaluation.Machine.ExMemoryUsageLift NaturalDefined in ghc-internal-9.1401.0 · GHC.Internal.TH.LiftTestCoercion SNatDefined in ghc-internal-9.1401.0 · GHC.Internal.TypeNatsTestEquality SNatDefined in ghc-internal-9.1401.0 · GHC.Internal.TypeNatsPrettyAnn ann NaturalDefined in prettyprinter-1.7.2 · Prettyprinter.InternalIsNatural n => From n NaturalDefined in basement-0.0.16 · Basement.FromIntegralDownsize Integer NaturalDefined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word16Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word32Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word64Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word8Defined in basement-0.0.16 · Basement.IntegralConvIsNatural a => IntegralUpsize a NaturalDefined in basement-0.0.16 · Basement.IntegralConvPrettyDefaultBy config Natural => PrettyBy config NaturalDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalExample1 expression prettyBy () (123 :: Natural)123
DefaultPrettyBy config NaturalDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.InternalKnownBuiltinTypeIn DefaultUni term Integer => MakeKnownIn DefaultUni term NaturalDefined in plutus-core-1.70.0.0 · PlutusCore.Default.UniverseKnownBuiltinTypeIn DefaultUni term Integer => ReadKnownIn DefaultUni term NaturalDefined in plutus-core-1.70.0.0 · PlutusCore.Default.UniverseKnownTypeAst tyname DefaultUni NaturalDefined in plutus-core-1.70.0.0 · PlutusCore.Default.UniverseTraversableB b => GTraversableDefined in barbies-2.1.1.0 · Barbies.Internal.TraversableB · orphan0
f g (Rec (b (P0
f)) (b f)) (Rec (b (P0
g)) (b g))TraversableT t => GTraversableDefined in barbies-2.1.1.0 · Barbies.Internal.TraversableT · orphan1
f g (Rec (t (P1
f) x) (t f x)) (Rec (t (P1
g) x) (t g x))(Traversable h, TraversableB b) => GTraversableDefined in barbies-2.1.1.0 · Barbies.Internal.TraversableB · orphan0
f g (Rec (h (b (P0
f))) (h (b f))) (Rec (h (b (P0
g))) (h (b g)))(Traversable h, TraversableT t) => GTraversableDefined in barbies-2.1.1.0 · Barbies.Internal.TraversableT · orphan1
f g (Rec (h (t (P1
f) x)) (h (t f x))) (Rec (h (t (P1
g) x)) (h (t g x)))(Traversable h, Traversable m, TraversableB b) => GTraversableDefined in barbies-2.1.1.0 · Barbies.Internal.TraversableB · orphan0
f g (Rec (m (h (b (P0
f)))) (m (h (b f)))) (Rec (m (h (b (P0
g)))) (m (h (b g))))(Traversable h, Traversable m, TraversableT t) => GTraversableDefined in barbies-2.1.1.0 · Barbies.Internal.TraversableT · orphan1
f g (Rec (m (h (t (P1
f) x))) (m (h (t f x)))) (Rec (m (h (t (P1
g) x))) (m (h (t g x))))ApplicativeB b => GApplicativeDefined in barbies-2.1.1.0 · Barbies.Internal.ApplicativeB · orphan0
f g (Rec (b (P0
f)) (b f)) (Rec (b (P0
g)) (b g)) (Rec (b (P0
(Product f g))) (b (Product f g)))ApplicativeT t => GApplicativeDefined in barbies-2.1.1.0 · Barbies.Internal.ApplicativeT · orphan1
f g (Rec (t (P1
f) x) (t f x)) (Rec (t (P1
g) x) (t g x)) (Rec (t (P1
(Product f g)) x) (t (Product f g) x))(Applicative h, ApplicativeB b) => GApplicativeDefined in barbies-2.1.1.0 · Barbies.Internal.ApplicativeB · orphan0
f g (Rec (h (b (P0
f))) (h (b f))) (Rec (h (b (P0
g))) (h (b g))) (Rec (h (b (P0
(Product f g)))) (h (b (Product f g))))(Applicative h, ApplicativeT t) => GApplicativeDefined in barbies-2.1.1.0 · Barbies.Internal.ApplicativeT · orphan1
f g (Rec (h (t (P1
f) x)) (h (t f x))) (Rec (h (t (P1
g) x)) (h (t g x))) (Rec (h (t (P1
(Product f g)) x)) (h (t (Product f g) x)))(Applicative h, Applicative m, ApplicativeB b) => GApplicativeDefined in barbies-2.1.1.0 · Barbies.Internal.ApplicativeB · orphan0
f g (Rec (m (h (b (P0
f)))) (m (h (b f)))) (Rec (m (h (b (P0
g)))) (m (h (b g)))) (Rec (m (h (b (P0
(Product f g))))) (m (h (b (Product f g)))))(Applicative h, Applicative m, ApplicativeT t) => GApplicativeDefined in barbies-2.1.1.0 · Barbies.Internal.ApplicativeT · orphan1
f g (Rec (m (h (t (P1
f) x))) (m (h (t f x)))) (Rec (m (h (t (P1
g) x))) (m (h (t g x)))) (Rec (m (h (t (P1
(Product f g)) x))) (m (h (t (Product f g) x))))() :=> Bits NaturalDefined in constraints-0.14.4 · Data.Constraint() :=> Eq NaturalDefined in constraints-0.14.4 · Data.Constraint() :=> Ord NaturalDefined in constraints-0.14.4 · Data.Constraint() :=> Enum NaturalDefined in constraints-0.14.4 · Data.Constraint() :=> Num NaturalDefined in constraints-0.14.4 · Data.Constraint() :=> Read NaturalDefined in constraints-0.14.4 · Data.Constraint() :=> Integral NaturalDefined in constraints-0.14.4 · Data.Constraint() :=> Real NaturalDefined in constraints-0.14.4 · Data.Constraint() :=> Show NaturalDefined in constraints-0.14.4 · Data.ConstraintBuildable (Range Natural)Defined in cardano-binary-1.9.1.0 · Cardano.Binary.ToCBORtype Compare a b = CmpNat a bDefined in ghc-internal-9.1401.0 · GHC.Internal.Data.Type.Ordtype Difference Natural = Maybe NaturalDefined in basement-0.0.16 · Basement.Numerical.Subtractivetype Base Natural = MaybeDefined in recursion-schemes-5.2.3 · Data.Functor.Foldabletype IsBuiltin DefaultUni Natural = IsBuiltin DefaultUni (AsInteger Natural)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.Universetype ToBinds DefaultUni acc Natural = ToBinds DefaultUni acc (AsInteger Natural)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.Universetype ToHoles DefaultUni hole Natural = ToHoles DefaultUni hole (AsInteger Natural)Defined in plutus-core-1.70.0.0 · PlutusCore.Default.Universe
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 aFurthermore, 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 NTinstance Coercible T b => Coercible NT bThis 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 nominalFor more details about this feature, please refer to Safe Coercions by Joachim Breitner, Richard A. Eisenberg, Simon Peyton Jones and Stephanie Weirich.