SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-strict-base-types rpm build for : openSUSE Leap 42. For other distributions click ghc-strict-base-types.

Name : ghc-strict-base-types
Version : 0.5.0 Vendor : obs://build_opensuse_org/devel:languages:haskell
Release : 8.1 Date : 2018-01-12 19:18:51
Group : Development/Libraries/Haskell Source RPM : ghc-strict-base-types-0.5.0-8.1.src.rpm
Size : 0.24 MB
Packager : (none)
Summary : Strict variants of the types provided in base
Description :
It is common knowledge that lazy datastructures can lead to space-leaks.
This problem is particularly prominent, when using lazy datastructures to store
the state of a long-running application in memory. The easiest solution to this
problem is to use fully strict types to store such state values. By \"fully
strict types\" we mean types for whose values it holds that, if they are in
weak-head normal form, then they are also in normal form. Intuitively, this
means that values of fully strict types cannot contain unevaluated thunks.

To define a fully strict datatype, one typically uses the following recipe.

1. Make all fields of every constructor strict; i.e., add a bang to all fields.

2. Use only strict types for the fields of the constructors.

The second requirement is problematic as it rules out the use of the standard
Haskell \'Maybe\', \'Either\', and pair types. This library solves this problem by
providing strict variants of these types and their corresponding standard
support functions and type-class instances.

Note that this library does currently not provide fully strict lists.
They can be added if they are really required. However, in many cases one
probably wants to use unboxed or strict boxed vectors from the \'vector\' library
(< http://hackage.haskell.org/package/vector>) instead of strict lists.
Moreover, instead of \'String\'s one probably wants to use strict \'Text\' values
from the \'text\' library (< http://hackage.haskell.org/package/text>).

This library comes with batteries included; i.e., missing instances for
type-classes from the \'deepseq\', \'binary\', \'aeson\', \'QuickCheck\', and \'lens\'
packages are included. Of particluar interest is the \'Strict\' type-class
provided by the lens library
(< http://hackage.haskell.org/packages/archive/lens/3.9.0.2/doc/html/Control-Lens-Iso.html#t:Strict>).
It is used in the following example to simplify the modification of strict
fields.

> (-# LANGUAGE TemplateHaskell #-) -- replace with curly braces, > (-# LANGUAGE
OverloadedStrings #-) -- the Haddock prologues are a P.I.T.A! > > import
Control.Lens ( (.=), Strict(strict), from, Iso\', makeLenses) > import
Control.Monad.State.Strict (State) > import qualified Data.Map as M > import
qualified Data.Maybe.Strict as S > import qualified Data.Text as T > > -- | An
example of a state record as it could be used in a (very minimal) > --
role-playing game. > data GameState = GameState > ( _gsCooldown :: !(S.Maybe
Int) > , _gsHealth :: !Int > ) -- replace with curly braces, *grmbl* > >
makeLenses \'\'GameState > > -- The isomorphism, which converts a strict field to
its lazy variant > lazy :: Strict lazy strict => Iso\' strict lazy > lazy = from
strict > > type Game = State GameState > > cast :: T.Text -> Game () > cast
spell = > gsCooldown.lazy .= M.lookup spell spellDuration > -- ...
implement remainder of spell-casting ... > where > spellDuration = M.fromList
[(\"fireball\", 5)]

See
< http://www.haskellforall.com/2013/05/program-imperatively-using-haskell.html>
for a gentle introduction to lenses and state manipulation.

Note that this package uses the types provided by the \'strict\' package
(< http://hackage.haskell.org/package/strict>), but organizes them a bit
differently. More precisely, the \'strict-base-types\' package

- only provides the fully strict variants of types from \'base\',

- is in-sync with the current base library (base-4.6),

- provides the missing instances for (future) Haskell platform packages, and

- conforms to the standard policy that strictness variants of an existing
datatype are identified by suffixing \'Strict\' or \'Lazy\' in the module
hierarchy.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/haskell:/lts:/8/openSUSE_Leap_42.2/x86_64

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
ghc-strict-base-types
ghc-strict-base-types(x86-64)
libHSstrict-base-types-0.5.0-HyMxeofDjsakdFtsrDN2O-ghc8.0.2.so()(64bit)

Requires :
libc.so.6()(64bit)
libHSaeson-1.0.2.1-DHWdMBRulcP78wDckzP3tp-ghc8.0.2.so()(64bit)
libHStime-1.6.0.1-ghc8.0.2.so()(64bit)
libHStagged-0.8.5-1mTloBSoUxv8dqUr8XBGBt-ghc8.0.2.so()(64bit)
libHStime-locale-compat-0.1.1.3-3NWht2bntyvDGDNXWNkT1S-ghc8.0.2.so()(64bit)
libHSpretty-1.1.3.3-ghc8.0.2.so()(64bit)
libHSvoid-0.7.2-4PWwLjXxAER9U3zGpDhf6e-ghc8.0.2.so()(64bit)
libHScontainers-0.5.7.1-ghc8.0.2.so()(64bit)
libHSghc-prim-0.5.0.0-ghc8.0.2.so()(64bit)
librt.so.1()(64bit)
libHSvector-0.11.0.0-LMwQhhnXj8U3T5Bm1JFxG-ghc8.0.2.so()(64bit)
libHSsemigroupoids-5.1-G6hp8hbTJmG326ffvAeaw8-ghc8.0.2.so()(64bit)
libHScontravariant-1.4-3UCY3arLvoG71jrGOYoc39-ghc8.0.2.so()(64bit)
libHSunordered-containers-0.2.8.0-7sRzHY7nA2MDTBp8Ugtj2E-ghc8.0.2.so()(64bit)
libHSQuickCheck-2.9.2-Jyj4gc4JxkEIgGFLAsGhs9-ghc8.0.2.so()(64bit)
libHStransformers-0.5.2.0-ghc8.0.2.so()(64bit)
libHSdeepseq-1.4.2.0-ghc8.0.2.so()(64bit)
libHSattoparsec-0.13.1.0-E7IpSM8d2Zn60lDoEtgp6t-ghc8.0.2.so()(64bit)
libHSmtl-2.2.1-BLKBelFsPB3BoFeSWSOYj6-ghc8.0.2.so()(64bit)
libHSbase-compat-0.9.3-KeJp8zYMpcS9WibvTcxU22-ghc8.0.2.so()(64bit)
libHStf-random-0.5-BGjMgO8m67W8CHiEl15kZ7-ghc8.0.2.so()(64bit)
libHSbase-4.9.1.0-ghc8.0.2.so()(64bit)
libHSbinary-0.8.3.0-ghc8.0.2.so()(64bit)
libHSprimitive-0.6.1.0-6AbSTw9JXz141LE5p6LGH-ghc8.0.2.so()(64bit)
libHSparallel-3.2.1.1-KQJHWCcq2Ka569Stb10nhx-ghc8.0.2.so()(64bit)
libHSrandom-1.1-9tceXaeYIMZ4JrKq20Egog-ghc8.0.2.so()(64bit)
libHStext-1.2.2.1-FwvWBfkNJh1I1NMMegz0uY-ghc8.0.2.so()(64bit)
libHSstm-2.4.4.1-JQn4hNPyYjP5m9AcbI88Ve-ghc8.0.2.so()(64bit)
libHSprofunctors-5.2-85ZLvwISeusLRZoJlitoyP-ghc8.0.2.so()(64bit)
libHSfree-4.12.4-GP8SJAzGfyq6UeKHSkzaha-ghc8.0.2.so()(64bit)
libHSkan-extensions-5.0.2-KVnVF8a8AJ42gswaE26iyg-ghc8.0.2.so()(64bit)
libHSinteger-logarithms-1.0.1-IEHCuEd5sG4JjSjlx7m5JF-ghc8.0.2.so()(64bit)
libdl.so.2()(64bit)
libHSbifunctors-5.4.2-wt6HPG9UFgCjbd0zbVYNT-ghc8.0.2.so()(64bit)
libHSdlist-0.8.0.2-6Wnps4GD7EFnRucVzXIFD-ghc8.0.2.so()(64bit)
libHSbase-orphans-0.5.4-ABoxiBf7nXc7Qqh66CgYc9-ghc8.0.2.so()(64bit)
libgmp.so.10()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libHSfilepath-1.4.1.1-ghc8.0.2.so()(64bit)
libHShashable-1.2.6.1-1kESIAoxKUjIcRePT58baP-ghc8.0.2.so()(64bit)
libHSsemigroups-0.18.2-GvTCUro9Hym1wGKOLNRfUA-ghc8.0.2.so()(64bit)
libHSdistributive-0.5.2-JCgfTXNR3ywAyV7fFWIBI5-ghc8.0.2.so()(64bit)
libutil.so.1()(64bit)
libHSghc-boot-th-8.0.2-ghc8.0.2.so()(64bit)
libHSunix-2.7.2.1-ghc8.0.2.so()(64bit)
libHStransformers-compat-0.5.1.4-IuFogs8HAVUJBWVNMhtssu-ghc8.0.2.so()(64bit)
libHSlens-4.15.1-BlvakQXua6zHSa35acgNYp-ghc8.0.2.so()(64bit)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
libHStemplate-haskell-2.11.1.0-ghc8.0.2.so()(64bit)
libHScomonad-5.0.1-7j4AeOMTFovFSFO9XMFm1-ghc8.0.2.so()(64bit)
libpthread.so.0()(64bit)
libHSarray-0.5.1.1-ghc8.0.2.so()(64bit)
libHSprelude-extras-0.4.0.3-BhL9U5k7NtGJn1itwIHt2Y-ghc8.0.2.so()(64bit)
libHSStateVar-1.1.0.4-5dJbnTVECtEAhfJXPZKdbO-ghc8.0.2.so()(64bit)
libHSadjunctions-4.3-4NsFv08p09OH79kZsQDVh1-ghc8.0.2.so()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
libHSreflection-2.1.2-Bem12O1xFGSHr4C2Hyu1c4-ghc8.0.2.so()(64bit)
libHSbytestring-0.10.8.1-ghc8.0.2.so()(64bit)
rpmlib(PayloadIsLzma) <= 4.4.6-1
libHSstrict-0.3.2-IfIKu6GgwJkHDDJQA4k3FZ-ghc8.0.2.so()(64bit)
libHSexceptions-0.8.3-ADEDRATtUrMK1JW4zMQ9U-ghc8.0.2.so()(64bit)
libHSscientific-0.3.5.1-1A3QMw76WXzHmMGgxJkkIF-ghc8.0.2.so()(64bit)
libHSinteger-gmp-1.0.0.1-ghc8.0.2.so()(64bit)


Content of RPM :
/usr/lib64/ghc-8.0.2/strict-base-types-0.5.0-HyMxeofDjsakdFtsrDN2O
/usr/lib64/ghc-8.0.2/strict-base-types-0.5.0-HyMxeofDjsakdFtsrDN2O/libHSstrict-base-types-0.5.0-HyMxeofDjsakdFtsrDN2O-ghc8.0.2.so
/usr/share/doc/packages/ghc-strict-base-types
/usr/share/doc/packages/ghc-strict-base-types/LICENSE

 
ICM