SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

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

Name : ghc-envparse
Version : 0.4 Vendor : openSUSE
Release : bp150.2.6 Date : 2018-07-30 20:24:33
Group : Development/Libraries/Haskell Source RPM : ghc-envparse-0.4-bp150.2.6.src.rpm
Size : 0.26 MB
Packager : https://bugs_opensuse_org
Summary : Parse environment variables
Description :
Here\'s a simple example of a program that uses \'envparse\'\'s parser:

\' module Main (main) where

import Control.Monad (unless) import Env

data Hello = Hello { name :: String, quiet :: Bool }

hello :: IO Hello hello = Env.parse (header \"envparse example\") $ Hello
< $> var (str < =< nonempty) \"NAME\" (help \"Target for the greeting\") < *>
switch \"QUIET\" (help \"Whether to actually print the greeting\") main ::
IO () main = do Hello {name, quiet} < - hello unless
quiet $ putStrLn (\"Hello, \" ++ name ++ \"!\") \'

The \'NAME\' environment variable is mandatory and contains the name of the
person to greet. \'QUIET\', on the other hand, is an optional boolean flag, false
by default, that decides whether the greeting should be silent.

If the \'NAME\' variable is undefined in the environment then running the program
will result in the following help text:

\' envparse example Available environment variables: NAME
Target for the greeting QUIET Whether to actually print the
greeting Parsing errors: NAME is unset \'.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15/standard/x86_64

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  ghc-envparse-0.4-bp150.2.6.x86_64.rpm
     

Provides :
ghc-envparse
ghc-envparse(x86-64)
libHSenvparse-0.4-7oLlxyP7RHI58QZLpL7kai-ghc8.0.2.so()(64bit)

Requires :
libHSarray-0.5.1.1-ghc8.0.2.so()(64bit)
libHSbase-4.9.1.0-ghc8.0.2.so()(64bit)
libHScontainers-0.5.7.1-ghc8.0.2.so()(64bit)
libHSdeepseq-1.4.2.0-ghc8.0.2.so()(64bit)
libHSghc-prim-0.5.0.0-ghc8.0.2.so()(64bit)
libHSinteger-gmp-1.0.0.1-ghc8.0.2.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libgmp.so.10()(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.0.2/envparse-0.4-7oLlxyP7RHI58QZLpL7kai
/usr/lib64/ghc-8.0.2/envparse-0.4-7oLlxyP7RHI58QZLpL7kai/libHSenvparse-0.4-7oLlxyP7RHI58QZLpL7kai-ghc8.0.2.so
/usr/share/doc/packages/ghc-envparse
/usr/share/doc/packages/ghc-envparse/LICENSE

 
ICM