SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-test-framework-th rpm build for : OpenSuSE. 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 : 3.16 Date : 2018-03-10 11:30:17
Group : Development/Languages/Other Source RPM : ghc-test-framework-th-0.2.4-3.16.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:/7/SLE_12_SP2_Backports/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-AFGc4uynsNpJxFYp7gtqBt-ghc8.0.1.so()(64bit)

Requires :
libc.so.6()(64bit)
libHSbinary-0.8.3.0-ghc8.0.1.so()(64bit)
libHSold-time-1.1.0.3-IcvdkJUsE9M8t3io8peAEp-ghc8.0.1.so()(64bit)
libHSunix-2.7.2.0-ghc8.0.1.so()(64bit)
libHSxml-1.3.14-D0JbKpALXjn85jDub3Dh4l-ghc8.0.1.so()(64bit)
libHSregex-base-0.93.2-4lnOy3Rb1yfISFVEXVfJuH-ghc8.0.1.so()(64bit)
libHShaskell-src-exts-1.17.1-BU27S3URKeRHZZDkokF0In-ghc8.0.1.so()(64bit)
libHSregex-posix-0.95.2-Fy6xYMm8dnjHHt23b8RdmR-ghc8.0.1.so()(64bit)
libHSpretty-1.1.3.3-ghc8.0.1.so()(64bit)
libHSdirectory-1.2.6.2-ghc8.0.1.so()(64bit)
libHSpolyparse-1.12-7sW0lbmkxhF5jvhb1ZEZJR-ghc8.0.1.so()(64bit)
librt.so.1()(64bit)
libHSansi-wl-pprint-0.6.7.3-LVnipygDrAR1FEMFhjxcQX-ghc8.0.1.so()(64bit)
libHStime-1.6.0.1-ghc8.0.1.so()(64bit)
libHStext-1.2.2.1-JAnD1x1IHr6H3rdrqlXcyH-ghc8.0.1.so()(64bit)
libHSold-locale-1.0.0.7-6glXNhHF891B41ZfuI8hU8-ghc8.0.1.so()(64bit)
libHSbase-4.9.0.0-ghc8.0.1.so()(64bit)
libdl.so.2()(64bit)
libHSfilepath-1.4.1.0-ghc8.0.1.so()(64bit)
libHSmtl-2.2.1-6qsR1PHUy5lL47Hpoa4jCM-ghc8.0.1.so()(64bit)
libHScontainers-0.5.7.1-ghc8.0.1.so()(64bit)
libgmp.so.10()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libHSghc-boot-th-8.0.1-ghc8.0.1.so()(64bit)
libutil.so.1()(64bit)
libHStemplate-haskell-2.11.0.0-ghc8.0.1.so()(64bit)
libHSinteger-gmp-1.0.0.1-ghc8.0.1.so()(64bit)
libHShostname-1.0-42Ipmmd3lMbCN35rV9k5gh-ghc8.0.1.so()(64bit)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
libHStransformers-0.5.2.0-ghc8.0.1.so()(64bit)
libpthread.so.0()(64bit)
libHSdeepseq-1.4.2.0-ghc8.0.1.so()(64bit)
libHScpphs-1.20.2-JJyd33DyqS2IdvgfEifJtO-ghc8.0.1.so()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
libHSghc-prim-0.5.0.0-ghc8.0.1.so()(64bit)
libHSansi-terminal-0.6.2.3-448ipfN5j28Ha0AgPiJmdI-ghc8.0.1.so()(64bit)
rpmlib(PayloadIsLzma) <= 4.4.6-1
libHSlanguage-haskell-extract-0.2.4-KgBwy4rus9kAPmOOzSbGOd-ghc8.0.1.so()(64bit)
libHSrandom-1.1-54KmMHXjttlERYcr1mvsAe-ghc8.0.1.so()(64bit)
libHSbytestring-0.10.8.1-ghc8.0.1.so()(64bit)
libHStest-framework-0.8.1.1-C0pdkmHSWWKIRBR0xCX8h2-ghc8.0.1.so()(64bit)
libHSarray-0.5.1.1-ghc8.0.1.so()(64bit)


Content of RPM :
/usr/lib64/ghc-8.0.1/test-framework-th-0.2.4-AFGc4uynsNpJxFYp7gtqBt
/usr/lib64/ghc-8.0.1/test-framework-th-0.2.4-AFGc4uynsNpJxFYp7gtqBt/libHStest-framework-th-0.2.4-AFGc4uynsNpJxFYp7gtqBt-ghc8.0.1.so
/usr/share/doc/packages/ghc-test-framework-th
/usr/share/doc/packages/ghc-test-framework-th/BSD3.txt

 
ICM