SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-hflags rpm build for : OpenSuSE. For other distributions click ghc-hflags.

Name : ghc-hflags
Version : 0.4.2 Vendor : obs://build_opensuse_org/home:so_it_team
Release : 2.2 Date : 2018-08-25 07:24:20
Group : Development/Languages/Other Source RPM : ghc-hflags-0.4.2-2.2.src.rpm
Size : 0.16 MB
Packager : (none)
Summary : Command line flag parser, very similar to Google\'s gflags
Description :
The \'HFlags\' library supports easy definition of command line flags,
reimplementing the ideas from Google\'s \'gflags\'
(< http://code.google.com/p/gflags>).

Command line flags can be declared in any file at the toplevel, using
\'defineFlag\'. At runtime, the actual values are assigned to the toplevel
\'flags_name\' constants. Those can be used purely throughout the program.

At the beginning of the \'main\' function, \'$initHFlags \"program description\"\'
has to be called to initialize the flags. All flags will be initialized that
are transitively reachable via imports from \'main\'. This means, that any
Haskell package can easily define command line flags with \'HFlags\'.
This feature is demonstrated by
< http://github.com/errge/hflags/blob/master/examples/ImportExample.hs> and
< http://github.com/errge/hflags/tree/master/examples/package>.

A simple example (more in the
< http://github.com/errge/hflags/tree/master/examples> directory):

\' #!/usr/bin/env runhaskell

{-# LANGUAGE TemplateHaskell #-}

import HFlags

\'defineFlag\' \"name\" \"Indiana Jones\" \"Who to greet.\" \'defineFlag\' \"r:repeat\" (3
+ 4 :: Int) \"Number of times to repeat the message.\"

main = do s < - $initHFlags \"Simple program v0.1\" sequence_ $ replicate
flags_repeat greet putStrLn $ \"Your additional arguments were: \" ++ show
s putStrLn $ \"Which is the same as: \" ++ show HFlags.arguments
where greet = putStrLn $ \"Hello \" ++ flags_name ++ \", very nice to meet
you!\" \'

At \'initHFlags\' time, the library also tries to gather flags out of environment
variables. \'HFLAGS_verbose=True\' is equivalent to specify --verbose=True.
This environment feature only works with long options and the user has to
specify a value even for Bools.

/Since version 0.2, you mustn\'t put the initHFlags in a parentheses with the
program description. Just/ \'$initHFlags\', /it\'s cleaner./

See < http://github.com/errge/hflags/tree/master/changelog> for recent changes.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/so_it_team:/12.x/SLE_12_SP3/x86_64

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
ghc-hflags
ghc-hflags(x86-64)
libHShflags-0.4.2-LJfb1jiFvyeAx4L1dvb6I1-ghc8.0.2.so()(64bit)

Requires :
libc.so.6()(64bit)
libgmp.so.10()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libHSpretty-1.1.3.3-ghc8.0.2.so()(64bit)
libHSghc-boot-th-8.0.2-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)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
libHStemplate-haskell-2.11.1.0-ghc8.0.2.so()(64bit)
libHSarray-0.5.1.1-ghc8.0.2.so()(64bit)
libHSdeepseq-1.4.2.0-ghc8.0.2.so()(64bit)
libHSbytestring-0.10.8.1-ghc8.0.2.so()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
libHSbase-4.9.1.0-ghc8.0.2.so()(64bit)
libHSbinary-0.8.3.0-ghc8.0.2.so()(64bit)
rpmlib(PayloadIsLzma) <= 4.4.6-1
libHStext-1.2.2.1-FwvWBfkNJh1I1NMMegz0uY-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/hflags-0.4.2-LJfb1jiFvyeAx4L1dvb6I1
/usr/lib64/ghc-8.0.2/hflags-0.4.2-LJfb1jiFvyeAx4L1dvb6I1/libHShflags-0.4.2-LJfb1jiFvyeAx4L1dvb6I1-ghc8.0.2.so
/usr/share/doc/packages/ghc-hflags
/usr/share/doc/packages/ghc-hflags/COPYING

 
ICM