SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-test-framework-th rpm build for : openSUSE Leap 42. For other distributions click ghc-test-framework-th.

Name : ghc-test-framework-th
Version : 0.2.4 Vendor : obs://build_opensuse_org/devel:languages:haskell
Release : 8.1 Date : 2018-01-12 17:52:59
Group : Development/Libraries/Haskell Source RPM : ghc-test-framework-th-0.2.4-8.1.src.rpm
Size : 0.04 MB
Packager : (none)
Summary : Automagically generate the HUnit- and Quickcheck-bulk-code using Template Haskell
Description :
\'test-framework-th\' contains two interesting functions: \'defaultMainGenerator\'
and \'testGroupGenerator\'.

\'defaultMainGenerator\' will extract all functions beginning with case_, prop_
or test_in the module and put them in a testGroup.

> -- file SomeModule.hs > ( -# LANGUAGE TemplateHaskell #- ) > module
SomeModule where > import Test.Framework.TH > import Test.Framework > import
Test.HUnit > import Test.Framework.Providers.HUnit > import
Test.Framework.Providers.QuickCheck2 > > -- observe this line! > main =
$(defaultMainGenerator) > case_1 = do 1 \'=? 1 > case_2 = do 2 \'=? 2 >
prop_reverse xs = reverse (reverse xs) == xs > where types = xs::[Int]

is the same as

> -- file SomeModule.hs > ( -# LANGUAGE TemplateHaskell #- ) > module
SomeModule where > import Test.Framework.TH > import Test.Framework > import
Test.HUnit > import Test.Framework.Providers.HUnit > import
Test.Framework.Providers.QuickCheck2 > > -- observe this line! > main = >
defaultMain [ > testGroup \"SomeModule\" [ testCase \"1\" case_1, testCase \"2\"
case_2, testProperty \"reverse\" prop_reverse] > ] > > case_1 = do 1 \'=? 1 >
case_2 = do 2 \'=? 2 > prop_reverse xs = reverse (reverse xs) == xs > where
types = xs::[Int]

\'testGroupGenerator\' is like \'defaultMainGenerator\' but without \'defaultMain\'.
It is useful if you need a function for the testgroup (e.g. if you want to be
able to call the testgroup from another module).

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-test-framework-th
ghc-test-framework-th(x86-64)
libHStest-framework-th-0.2.4-Ls1yPink3c816qrj1Ruel7-ghc8.0.2.so()(64bit)

Requires :
libc.so.6()(64bit)
libHStime-1.6.0.1-ghc8.0.2.so()(64bit)
libHSpretty-1.1.3.3-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)
libHSxml-1.3.14-26tNoJi691RIUAmsSzfexV-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)
libHSregex-base-0.93.2-AYjYAsBidAc8f5XNm9b2Aa-ghc8.0.2.so()(64bit)
libHSmtl-2.2.1-BLKBelFsPB3BoFeSWSOYj6-ghc8.0.2.so()(64bit)
libHShaskell-src-exts-1.18.2-2ZdCHcbZxDUYWKeGE4DjY-ghc8.0.2.so()(64bit)
libHSold-time-1.1.0.3-KWRsMSdY26c2L27Y9n9cyq-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)
libHSdirectory-1.3.0.0-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)
libHSansi-terminal-0.6.3.1-3RTqikoQf47ajVD9m8zgB-ghc8.0.2.so()(64bit)
libdl.so.2()(64bit)
libgmp.so.10()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libHSfilepath-1.4.1.1-ghc8.0.2.so()(64bit)
libHStest-framework-0.8.1.1-IwTBNrdroWYGfyVGPXNXYh-ghc8.0.2.so()(64bit)
libutil.so.1()(64bit)
libHSghc-boot-th-8.0.2-ghc8.0.2.so()(64bit)
libHSansi-wl-pprint-0.6.7.3-A79v826bgPr574HtaZPPqC-ghc8.0.2.so()(64bit)
libHShostname-1.0-LHxcvBDHWay1RGMj1Uzenf-ghc8.0.2.so()(64bit)
libHSlanguage-haskell-extract-0.2.4-IKF17dT86kg98d4WGi9xKp-ghc8.0.2.so()(64bit)
libHSunix-2.7.2.1-ghc8.0.2.so()(64bit)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
libHSpolyparse-1.12-E2m6M2oJN2O5rMH0PzCQ9W-ghc8.0.2.so()(64bit)
libHStemplate-haskell-2.11.1.0-ghc8.0.2.so()(64bit)
libpthread.so.0()(64bit)
libHSarray-0.5.1.1-ghc8.0.2.so()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
libHSbytestring-0.10.8.1-ghc8.0.2.so()(64bit)
rpmlib(PayloadIsLzma) <= 4.4.6-1
libHSregex-posix-0.95.2-KQJt29lnRa45d6bFn9XkFO-ghc8.0.2.so()(64bit)
libHSold-locale-1.0.0.7-KGBP1BSKxH5GCm0LnZP04j-ghc8.0.2.so()(64bit)
libHScpphs-1.20.8-9m1ostIz9sV3IRw3eStzA1-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/test-framework-th-0.2.4-Ls1yPink3c816qrj1Ruel7
/usr/lib64/ghc-8.0.2/test-framework-th-0.2.4-Ls1yPink3c816qrj1Ruel7/libHStest-framework-th-0.2.4-Ls1yPink3c816qrj1Ruel7-ghc8.0.2.so
/usr/share/doc/packages/ghc-test-framework-th
/usr/share/doc/packages/ghc-test-framework-th/BSD3.txt

 
ICM