SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-test-framework-th rpm build for : openSUSE Tumbleweed. 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 : 4.7 Date : 2018-06-30 03:07:08
Group : Development/Libraries/Haskell Source RPM : ghc-test-framework-th-0.2.4-4.7.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:/next/openSUSE_Tumbleweed/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-G3UmNzXN3mG7mEQIaaVGNo-ghc8.4.3.so()(64bit)

Requires :
libHSansi-terminal-0.8.0.4-JygoK7BZB5m4K6OxT2muhl-ghc8.4.3.so()(64bit)
libHSansi-wl-pprint-0.6.8.2-9lwZcOI8TtoRCxh6SNd6f-ghc8.4.3.so()(64bit)
libHSarray-0.5.2.0-ghc8.4.3.so()(64bit)
libHSbase-4.11.1.0-ghc8.4.3.so()(64bit)
libHSbinary-0.8.5.1-ghc8.4.3.so()(64bit)
libHSbytestring-0.10.8.2-ghc8.4.3.so()(64bit)
libHScolour-2.3.4-C3PVIHDZkyCIpOJGl3M0hE-ghc8.4.3.so()(64bit)
libHScontainers-0.5.11.0-ghc8.4.3.so()(64bit)
libHScpphs-1.20.8-KvqJc32txJLH1Pcj2muqBd-ghc8.4.3.so()(64bit)
libHSdeepseq-1.4.3.0-ghc8.4.3.so()(64bit)
libHSdirectory-1.3.1.5-ghc8.4.3.so()(64bit)
libHSfilepath-1.4.2-ghc8.4.3.so()(64bit)
libHSghc-boot-th-8.4.3-ghc8.4.3.so()(64bit)
libHSghc-prim-0.5.2.0-ghc8.4.3.so()(64bit)
libHShaskell-src-exts-1.20.2-66wmDqusNtt2tejiOeCDMY-ghc8.4.3.so()(64bit)
libHShostname-1.0-Ej5hvtbOaDOEQosxQqfQV6-ghc8.4.3.so()(64bit)
libHSinteger-gmp-1.0.2.0-ghc8.4.3.so()(64bit)
libHSlanguage-haskell-extract-0.2.4-7buaaU4RZ0FArfZsvbPcgJ-ghc8.4.3.so()(64bit)
libHSmtl-2.2.2-ghc8.4.3.so()(64bit)
libHSold-locale-1.0.0.7-26K7wLFR2jK44UeOklvTCh-ghc8.4.3.so()(64bit)
libHSold-time-1.1.0.3-2H7uVRdRD4GDRLoYt56mwc-ghc8.4.3.so()(64bit)
libHSpolyparse-1.12-AafkYPRdYin98WnFInxf9-ghc8.4.3.so()(64bit)
libHSpretty-1.1.3.6-ghc8.4.3.so()(64bit)
libHSrandom-1.1-9LLJAJa4iQFLJiLXBOBXBV-ghc8.4.3.so()(64bit)
libHSregex-base-0.93.2-98bD2PeVUkV8MO804tnXmq-ghc8.4.3.so()(64bit)
libHSregex-posix-0.95.2-FLMmMz75XIwP5t3X8eXe-ghc8.4.3.so()(64bit)
libHStemplate-haskell-2.13.0.0-ghc8.4.3.so()(64bit)
libHStest-framework-0.8.2.0-4jldNGdGPZc4fO1xMg00mb-ghc8.4.3.so()(64bit)
libHStext-1.2.3.0-ghc8.4.3.so()(64bit)
libHStime-1.8.0.2-ghc8.4.3.so()(64bit)
libHStransformers-0.5.5.0-ghc8.4.3.so()(64bit)
libHSunix-2.7.2.2-ghc8.4.3.so()(64bit)
libHSxml-1.3.14-Iiopw2ucwBuIKdlkbvc4Gm-ghc8.4.3.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libdl.so.2()(64bit)
libgmp.so.10()(64bit)
libm.so.6()(64bit)
libpthread.so.0()(64bit)
librt.so.1()(64bit)
libutil.so.1()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib64/ghc-8.4.3/test-framework-th-0.2.4-G3UmNzXN3mG7mEQIaaVGNo
/usr/lib64/ghc-8.4.3/test-framework-th-0.2.4-G3UmNzXN3mG7mEQIaaVGNo/libHStest-framework-th-0.2.4-G3UmNzXN3mG7mEQIaaVGNo-ghc8.4.3.so
/usr/share/licenses/ghc-test-framework-th
/usr/share/licenses/ghc-test-framework-th/BSD3.txt

 
ICM