plutus-tx-1.0.0.0: Libraries for Plutus Tx and its prelude
Safe Haskell None
Language Haskell2010

PlutusTx.Base

Description

Plutus Tx basic functions.

Synopsis

Documentation

fst :: (a, b) -> a Source #

Plutus Tx version of fst

snd :: (a, b) -> b Source #

Plutus Tx version of snd

curry :: ((a, b) -> c) -> a -> b -> c Source #

uncurry :: (a -> b -> c) -> (a, b) -> c Source #

($) :: (a -> b) -> a -> b infixr 0 Source #

Plutus Tx version of 'Data.Function.($)'.

flip :: (a -> b -> c) -> b -> a -> c Source #

Plutus Tx version of flip .

until :: (a -> Bool ) -> (a -> a) -> a -> a Source #

Plutus Tx version of until .

(.) :: (b -> c) -> (a -> b) -> a -> c infixr 9 Source #

Plutus Tx version of 'Prelude.(.)'.

const :: a -> b -> a Source #

Plutus Tx version of const .

id :: a -> a Source #

Plutus Tx version of id .