Name : ghc-zero
| |
Version : 0.1.4
| Vendor : openSUSE
|
Release : bp150.2.7
| Date : 2018-07-30 20:30:39
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-zero-0.1.4-bp150.2.7.src.rpm
|
Size : 0.07 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : Semigroups with absorption
|
Description :
\'Monoid\' is a \'Semigroup\' glued with a neutral element called \'mempty\'. In the same idea, \'Zero\' is a \'Semigroup\' glued with an absorbing element called \'zero\'.
Keep in mind that \'Zero\' requires \'Semigroup\'. If you have \'Semigroup\' defined to work with \'Monoid\', you might end up with no way to implement \'Zero\'. That’s why the \'Semigroup\' instance for \'Maybe\' is confusing, because it relies on \'Monoid\', and cannot be used with \'Zero\'. \'Success\' is the \'Zero\' equivalent of \'Maybe\' + \'Monoid\'.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15/standard/x86_64 |