在本教程中,我们学习如何安装 ghc-control-monad-free Fedora 36. ghc-control-monad-free 是免费的 monad 和 monad 转换器
介绍
在本教程中我们学习如何安装 ghc-control-monad-free
在 Fedora 36.
什么是 ghc-control-monad-free
该包提供了用于构造 Free monad、Free monad 转换器和有用实例的数据类型。 此外,它还提供了避免左关联绑定二次复杂性的构造,如 Janis Voigtlander, Asymptotic Improvement of Computations over Free Monads, MPC’08/ 中所述。 http
我们可以用 yum
或者 dnf
安装 ghc-control-monad-free
在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 ghc-control-monad-free。
安装 ghc-control-monad-free 在 Fedora 36 使用dnf
更新 yum 数据库 dnf
使用以下命令。
sudo dnf makecache --refresh
更新 yum 数据库后,我们可以安装 ghc-control-monad-free
使用 dnf
通过运行以下命令:
sudo dnf -y install ghc-control-monad-free
安装 ghc-control-monad-free 在 Fedora 36 使用 yum
更新 yum 数据库 yum
使用以下命令。
sudo yum makecache --refresh
更新 yum 数据库后,我们可以安装 ghc-control-monad-free
使用 yum
通过运行以下命令:
sudo yum -y install ghc-control-monad-free
如何卸载 ghc-control-monad-free Fedora 36
仅卸载 ghc-control-monad-free
打包我们可以使用以下命令:
sudo dnf remove ghc-control-monad-free
ghc-control-monad-free 软件包内容位于 Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/b826127e5093c27540e1f61b5f2cdc4d6594fe
/usr/lib64/libHScontrol-monad-free-0.6.2-6nHvGxzfOoN2NFMaDlBoMl-ghc8.10.5.so
参考
概括
在本教程中我们学习如何安装 ghc-control-monad-free
在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。