How To Install ghc-monads-tf on Fedora 36

In this tutorial we learn how to install ghc-monads-tf in Fedora 36. ghc-monads-tf is Monad classes using type families

Introduction

In this tutorial we learn how to install ghc-monads-tf on Fedora 36.

What is ghc-monads-tf

Monad classes using type families, with instances for various monad transformers, inspired by the paper “Functional Programming with Overloading and Higher-Order Polymorphism”, by Mark P Jones, in Advanced School of Functional Programming, 1995 (<http

We can use yum or dnf to install ghc-monads-tf on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-monads-tf.

Install ghc-monads-tf on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ghc-monads-tf using dnf by running the following command:

sudo dnf -y install ghc-monads-tf

Install ghc-monads-tf on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ghc-monads-tf using yum by running the following command:

sudo yum -y install ghc-monads-tf

How To Uninstall ghc-monads-tf on Fedora 36

To uninstall only the ghc-monads-tf package we can use the following command:

sudo dnf remove ghc-monads-tf

ghc-monads-tf Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/7c524ef6e2a1e3c24da7562a9f508c2e537264
/usr/lib64/libHSmonads-tf-0.1.0.3-Ej5CyhAaIcR5aDT198RxUj-ghc8.10.5.so
/usr/share/licenses/ghc-monads-tf
/usr/share/licenses/ghc-monads-tf/LICENSE

References

Summary

In this tutorial we learn how to install ghc-monads-tf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).