SUSE Package Hub 15 one-click install
Install ghc-both
NOTE: This one-click installation requires that the SUSE Package Hub extension to already be enabled.
See http://packagehub.suse.com/how-to-use/ for information on enabling the Package Hub extension
If the extension is not enabled, this installation will fail while trying to enable an invalid repo.
This package might depend on packages from SUSE Linux Enterprise modules. If those modules are not enabled, a package dependency error will be encountered.
SUSE-PackageHub-15-Standard-Pool
Package Hub 15
Dummy repo - this will fail
-
ghc-both
Like Maybe, but with a different Monoid instance
The Monoid instance for Maybe behaves like so:
> instance Monoid a => Monoid (Maybe a) where > mappend (Just x) (Just y) =
Just $ x <> y > mappend (Just x) Nothing = Just x > mappend Nothing (Just y) =
Just y > mappend Nothing Nothing = Nothing > > mempty = Nothing
Both is a newtype wrapper around Maybe providing this instance:
> instance Monoid a => Monoid (Both a) where > mappend (Just x) (Just y) = Just
$ x <> y > mappend _ _ = Nothing > > mempty = Just mempty.
SUSE Package Hub 15 one-click install
Install ghc-both
NOTE: This one-click installation requires that the SUSE Package Hub extension to already be enabled.
See http://packagehub.suse.com/how-to-use/ for information on enabling the Package Hub extension
If the extension is not enabled, this installation will fail while trying to enable an invalid repo.
This package might depend on packages from SUSE Linux Enterprise modules. If those modules are not enabled, a package dependency error will be encountered.
SUSE-PackageHub-15-Standard-Pool
Package Hub 15
Dummy repo - this will fail
-
ghc-both
Like Maybe, but with a different Monoid instance
The Monoid instance for Maybe behaves like so:
> instance Monoid a => Monoid (Maybe a) where > mappend (Just x) (Just y) =
Just $ x <> y > mappend (Just x) Nothing = Just x > mappend Nothing (Just y) =
Just y > mappend Nothing Nothing = Nothing > > mempty = Nothing
Both is a newtype wrapper around Maybe providing this instance:
> instance Monoid a => Monoid (Both a) where > mappend (Just x) (Just y) = Just
$ x <> y > mappend _ _ = Nothing > > mempty = Just mempty.