How To Install ghc-foldl on Fedora 36

In this tutorial we learn how to install ghc-foldl in Fedora 36. ghc-foldl is Composable, streaming, and efficient left folds

Introduction

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

What is ghc-foldl

This library provides strict left folds that stream in constant memory, and you can combine folds using ‘Applicative’ style to derive new folds. Derived folds still traverse the container just once and are often as efficient as hand-written folds.

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

Install ghc-foldl 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-foldl using dnf by running the following command:

sudo dnf -y install ghc-foldl

Install ghc-foldl 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-foldl using yum by running the following command:

sudo yum -y install ghc-foldl

How To Uninstall ghc-foldl on Fedora 36

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

sudo dnf remove ghc-foldl

ghc-foldl Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/8e19727f78a4b65b3c0c9b93a2deaa8bdb30de
/usr/lib64/libHSfoldl-1.4.12-8b2XGGnJCdfEkTPUbb2tzd-ghc8.10.5.so
/usr/share/licenses/ghc-foldl
/usr/share/licenses/ghc-foldl/LICENSE

References

Summary

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