plutus-tx-1.36.0.0: Libraries for Plutus Tx and its prelude
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusTx.Base

Description

Plutus Tx basic functions.

Synopsis
  • fst ∷ (a, b) → a
  • snd ∷ (a, b) → b
  • curry ∷ ((a, b) → c) → a → b → c
  • uncurry ∷ (a → b → c) → (a, b) → c
  • ($) ∷ (a → b) → a → b
  • flip ∷ (a → b → c) → b → a → c
  • until ∷ (a → Bool) → (a → a) → a → a
  • (.) ∷ (b → c) → (a → b) → a → c
  • const ∷ a → b → a
  • id ∷ a → a

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.