Free monads are useful for many tree-like structures and domain specific languages. If f is a Functor then the free Monad on f is the type of trees whose nodes are labeled with the constructors of f. The word "free" is used in the sense of "unrestricted" rather than "zero-cost": Free f makes no constraining assumptions beyond those given by f and the definition of Monad. As used here it is a standard term from the mathematical theory of adjoint functors. Cofree comonads are dual to free monads. They provide convenient ways to talk about branching streams and rose-trees, and can be used to annotate syntax trees. The cofree comonad can be seen as a stream parameterized by a Functor that controls its branching factor.
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | hs-free-5.2nb2.tgz |
NetBSD 10.0 | aarch64 | hs-free-5.2nb2.tgz |
NetBSD 10.0 | x86_64 | hs-free-5.2nb2.tgz |
NetBSD 10.0 | x86_64 | hs-free-5.2nb2.tgz |
NetBSD 9.0 | aarch64 | hs-free-5.2nb2.tgz |
NetBSD 9.0 | aarch64 | hs-free-5.2nb2.tgz |
NetBSD 9.0 | x86_64 | hs-free-5.2nb2.tgz |
NetBSD 9.0 | x86_64 | hs-free-5.2nb2.tgz |
NetBSD 9.3 | x86_64 | hs-free-5.2nb2.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.