How To Install ghc-these on Fedora 36

In this tutorial we learn how to install ghc-these in Fedora 36. ghc-these is An either-or-both data type

Introduction

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

What is ghc-these

This package provides a data type ‘These a b’ which can hold a value of either type or values of each type. This is usually thought of as an “inclusive or” type (contrasting ‘Either a b’ as “exclusive or”) or as an “outer join” type (contrasting ‘(a, b)’ as “inner join”). ’ data These a b = This a | That b | These a b ’ Since version 1, this package was split into parts * <https ‘Zip’ type-classes. * <https ‘SemialignWithIndex’ class, providing ‘ialignWith’ and ‘izipWith’. * <https combinators. * <http transformers variant of ‘These’.

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

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

sudo dnf -y install ghc-these

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

sudo yum -y install ghc-these

How To Uninstall ghc-these on Fedora 36

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

sudo dnf remove ghc-these

ghc-these Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/41c37872d0974fe0306defb1bd7675ba89c514
/usr/lib64/libHSthese-1.1.1.1-Ivn4Vf2i7RdDCN9YRSFBpq-ghc8.10.5.so
/usr/share/licenses/ghc-these
/usr/share/licenses/ghc-these/LICENSE

References

Summary

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