📄️ Environment Setup
Plutus Tx is a subset of Haskell, so configuring the development environment for Plutus Tx is similar to a regular Haskell environment setup.
📄️ Compiling Plutus Tx
The Plutus Tx compiler is a GHC plugin, provided by the plutus-tx-plugin package.
📄️ Differences From Haskell
Strictness
📄️ GHC Extensions, Flags and Pragmas
Plutus Tx is a subset of Haskell and is compiled to Untyped Plutus Core by the Plutus Tx compiler, a GHC (Glasgow Haskell Compiler) plugin.
📄️ Special Functions and Types
Normally, the Plutus Tx compiler compiles a Haskell identifier by obtaining and compiling its definition (also known as unfolding), and creating a term binding in PIR, an intermediate representation used by the Plutus Tx compiler.
📄️ Inspecting Compilation and Compiled Code
On this page, you’ll learn how to look into the compilation of Plutus Tx and the resulting compiled code, which you might want to do for reasons such as debugging and tuning.