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 : 1.1 Date : 2018-03-14 02:45:45
Group : Development/Libraries/Haskell Source RPM : ghc-test-framework-th-0.2.4-1.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:/next/openSUSE_Leap_42.3/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-9uPAUdRJyeN7hSDhVlWCaM-ghc8.4.1.so()(64bit)

Requires :
libc.so.6()(64bit)
libHSansi-terminal-0.8.0.2-15WSL87MaqV5aEB9uM2xFm-ghc8.4.1.so()(64bit)
librt.so.1()(64bit)
libHSarray-0.5.2.0-ghc8.4.1.so()(64bit)
libHScolour-2.3.4-KpdVe5tsgdNGLcqx9pJQca-ghc8.4.1.so()(64bit)
libHSunix-2.7.2.2-ghc8.4.1.so()(64bit)
libHStemplate-haskell-2.13.0.0-ghc8.4.1.so()(64bit)
libHSmtl-2.2.2-ghc8.4.1.so()(64bit)
libHSold-locale-1.0.0.7-9Gu0UQBmhOPH4QzJ0qqUtk-ghc8.4.1.so()(64bit)
libHScontainers-0.5.11.0-ghc8.4.1.so()(64bit)
libHShaskell-src-exts-1.20.2-FYk0zNYuj8UEo64nELsHs5-ghc8.4.1.so()(64bit)
libHSregex-base-0.93.2-GMkdG4TW2yq3Slnu0XFNFI-ghc8.4.1.so()(64bit)
libHSregex-posix-0.95.2-8kF81fZFygS8YDAHvZi707-ghc8.4.1.so()(64bit)
libHShostname-1.0-1llctkMgEqx1li1QgRYVpi-ghc8.4.1.so()(64bit)
libdl.so.2()(64bit)
libHSinteger-gmp-1.0.1.0-ghc8.4.1.so()(64bit)
libHSbase-4.11.0.0-ghc8.4.1.so()(64bit)
libHSpolyparse-1.12-JRJUJ1jGcC2EmGDQOpLizl-ghc8.4.1.so()(64bit)
libgmp.so.10()(64bit)
libHStime-1.8.0.2-ghc8.4.1.so()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libHSold-time-1.1.0.3-806lo4gsOVW4C0j15ekuis-ghc8.4.1.so()(64bit)
libHStransformers-0.5.5.0-ghc8.4.1.so()(64bit)
libutil.so.1()(64bit)
libHSxml-1.3.14-Ll29dcjjBm2CpI3Jc9Csbd-ghc8.4.1.so()(64bit)
libHSrandom-1.1-Bzf9YW9nFUS5UwW0OIfLBC-ghc8.4.1.so()(64bit)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
libHSdirectory-1.3.1.5-ghc8.4.1.so()(64bit)
libpthread.so.0()(64bit)
libHSansi-wl-pprint-0.6.8.2-Lnw7XNjne5IB8uLpaQfjGp-ghc8.4.1.so()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
libHStest-framework-0.8.2.0-F7UQfdPYM1oGur1jtp73lc-ghc8.4.1.so()(64bit)
libHSdeepseq-1.4.3.0-ghc8.4.1.so()(64bit)
libHSbinary-0.8.5.1-ghc8.4.1.so()(64bit)
rpmlib(PayloadIsLzma) <= 4.4.6-1
libHSfilepath-1.4.2-ghc8.4.1.so()(64bit)
libm.so.6()(64bit)
libHSghc-prim-0.5.2.0-ghc8.4.1.so()(64bit)
libHSbytestring-0.10.8.2-ghc8.4.1.so()(64bit)
libHSpretty-1.1.3.6-ghc8.4.1.so()(64bit)
libHSghc-boot-th-8.4.1-ghc8.4.1.so()(64bit)
libHScpphs-1.20.8-1FZImm3NyRTH0mXokvzvFo-ghc8.4.1.so()(64bit)
libHSlanguage-haskell-extract-0.2.4-FOfem4YgIZJArYwtjp3jqs-ghc8.4.1.so()(64bit)
libHStext-1.2.3.0-ghc8.4.1.so()(64bit)


Content of RPM :
/usr/lib64/ghc-8.4.1/test-framework-th-0.2.4-9uPAUdRJyeN7hSDhVlWCaM
/usr/lib64/ghc-8.4.1/test-framework-th-0.2.4-9uPAUdRJyeN7hSDhVlWCaM/libHStest-framework-th-0.2.4-9uPAUdRJyeN7hSDhVlWCaM-ghc8.4.1.so
/usr/share/doc/packages/ghc-test-framework-th
/usr/share/doc/packages/ghc-test-framework-th/BSD3.txt

 
ICM