Name : ghc-bool-extras
| |
Version : 0.4.0
| Vendor : obs://build_opensuse_org/devel:languages:haskell
|
Release : lp150.8.1
| Date : 2018-06-16 02:07:36
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-bool-extras-0.4.0-lp150.8.1.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : A fold function for Bool
|
Description :
The `bool\' function allows folding over boolean values.
This is comparable to the `maybe\' or `either\' functions on their respective types.
The `bool\' function is a replacement for the build-in \'if then else\'-syntax. However, since it is a function, it can be partially applied and passed around to higher order functions, like so:
> ghci> :m + Data.Bool.Extras > ghci> let yesOrNo = bool \"no\" \"yes\" > ghci> map yesOrNo [True, False, True] > [\"yes\", \"no\", \"yes\"]
Note that the arguments to `bool\' are in the opposite order of the \'if then else\'-syntax; First the false value, then the true value, and finally the boolean.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/haskell:/lts:/9/openSUSE_Leap_15.0/x86_64 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
ghc-bool-extras
ghc-bool-extras(x86-64)
libHSbool-extras-0.4.0-1rWdQroCDcMCOdTVXVU7Ic-ghc8.0.2.so()(64bit)
Requires :