SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-test-framework-th rpm build for : openSUSE Leap 15. 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 : lp150.1.1 Date : 2018-12-26 19:44:44
Group : Development/Libraries/Haskell Source RPM : ghc-test-framework-th-0.2.4-lp150.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:/13/openSUSE_Leap_15.0/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-JElf6dEbee9B1IlBvWXyuF-ghc8.6.3.so()(64bit)

Requires :
libHSansi-terminal-0.8.2-LZ54B5ErqCiIlNwOVvnj65-ghc8.6.3.so()(64bit)
libHSansi-wl-pprint-0.6.8.2-9mA7ckPlKRf5aGqviJvBkZ-ghc8.6.3.so()(64bit)
libHSarray-0.5.3.0-ghc8.6.3.so()(64bit)
libHSbase-4.12.0.0-ghc8.6.3.so()(64bit)
libHSbinary-0.8.6.0-ghc8.6.3.so()(64bit)
libHSbytestring-0.10.8.2-ghc8.6.3.so()(64bit)
libHScolour-2.3.4-BYzTQyKoQ9LK29pbkBo2SY-ghc8.6.3.so()(64bit)
libHScontainers-0.6.0.1-ghc8.6.3.so()(64bit)
libHSdeepseq-1.4.4.0-ghc8.6.3.so()(64bit)
libHSghc-boot-th-8.6.3-ghc8.6.3.so()(64bit)
libHSghc-prim-0.5.3-ghc8.6.3.so()(64bit)
libHShaskell-src-exts-1.20.3-2fryh11Yuz7lCtLeeIQn8-ghc8.6.3.so()(64bit)
libHShostname-1.0-96RwzZJKf0mHYnt0kjXkqR-ghc8.6.3.so()(64bit)
libHSinteger-gmp-1.0.2.0-ghc8.6.3.so()(64bit)
libHSlanguage-haskell-extract-0.2.4-9Nnu5RT3GKYe52vWTSOnI-ghc8.6.3.so()(64bit)
libHSmtl-2.2.2-ghc8.6.3.so()(64bit)
libHSold-locale-1.0.0.7-D4Rn5zPhtMJBwwirPJNu78-ghc8.6.3.so()(64bit)
libHSpretty-1.1.3.6-ghc8.6.3.so()(64bit)
libHSrandom-1.1-3ypV4EIycgb35PKjTYYr5q-ghc8.6.3.so()(64bit)
libHSregex-base-0.93.2-8QGsCbNNqfw1S2nCPh78l5-ghc8.6.3.so()(64bit)
libHSregex-posix-0.95.2-jmiKTXBn5tB7yYph2GqnC-ghc8.6.3.so()(64bit)
libHStemplate-haskell-2.14.0.0-ghc8.6.3.so()(64bit)
libHStest-framework-0.8.2.0-BE66rxkgm8MVq2rZNrTFn-ghc8.6.3.so()(64bit)
libHStext-1.2.3.1-ghc8.6.3.so()(64bit)
libHStime-1.8.0.2-ghc8.6.3.so()(64bit)
libHStransformers-0.5.5.0-ghc8.6.3.so()(64bit)
libHSxml-1.3.14-ESp8cJy4XJ8BJKfvGeNymT-ghc8.6.3.so()(64bit)
libatomic.so.1()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libgmp.so.10()(64bit)
libm.so.6()(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.6.3/test-framework-th-0.2.4-JElf6dEbee9B1IlBvWXyuF
/usr/lib64/ghc-8.6.3/test-framework-th-0.2.4-JElf6dEbee9B1IlBvWXyuF/libHStest-framework-th-0.2.4-JElf6dEbee9B1IlBvWXyuF-ghc8.6.3.so
/usr/share/licenses/ghc-test-framework-th
/usr/share/licenses/ghc-test-framework-th/BSD3.txt

 
ICM