derive
Deriving instances for data types in Haskell
Install
- All systems
-
curl cmd.cat/derive.sh
- Debian
-
apt-get install haskell-derive-utils
- Ubuntu
-
apt-get install haskell-derive-utils
- Kali Linux
-
apt-get install haskell-derive-utils
- Fedora
-
dnf install haskell-derive-utils
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install haskell-derive-utils
- Raspbian
-
apt-get install haskell-derive-utils
- Dockerfile
- dockerfile.run/derive
haskell-derive-utils
Deriving instances for data types in Haskell
Data.Derive is a library and a tool for deriving instances for Haskell programs. It is designed to work with custom derivations, SYB and Template Haskell mechanisms. The tool requires GHC, but the generated code is portable to all compilers. This tool can be regarded as a competitor to DrIFT.