packages feed

haskell98libraries-2.0.0.2: haskell98libraries.cabal

name:		haskell98libraries
version:	2.0.0.2
license:	BSD3
license-file:	LICENSE
maintainer:	hallgren@chalmers.se
synopsis:	Compatibility with Haskell 98
category:   Haskell98
description:
	This package provides compatibility with the library modules of Haskell
	98 and the FFI addendum, by means of wrappers around modules from
	the base package (which in many cases have additional features).
	However "Prelude", "Numeric" and "Foreign" are provided directly by
	the base package.
homepage:	http://www.haskell.org/definition/
build-type:     Simple
Cabal-Version: >= 1.6

Flag utctime-in-directory
  Description: Does System.Directory use UTCTime instead of ClockTime?
  Default:     True

Library
    build-depends:  base        >= 3   && < 5,
                    old-time    >= 1.0 && < 1.2,
                    old-locale  >= 1.0 && < 1.1,
                    process     >= 1.0 && < 1.2,
                    array       >= 0.3 && < 0.5,
                    time        >= 1.2 && < 1.5
    if flag(utctime-in-directory)
      cpp-options: -DUTCTIME_IN_DIRECTORY
      build-depends: directory >= 1.2 && < 1.3
    else
      build-depends: directory >= 1.1 && < 1.2

    exposed-modules:
        -- Haskell 98
      --Prelude, Numeric,
        Array, CPUTime, Char, Complex, Directory, IO, Ix, List, Locale,
        Maybe, Monad, Random, Ratio, System, Time,
        -- FFI addendum (Foreign is in the base package)
        Bits, CError, CForeign, CString, CTypes, ForeignPtr, Int,
        MarshalAlloc, MarshalArray, MarshalError, MarshalUtils, Ptr,
        StablePtr, Storable, Word
    exposed: True
    extensions: CPP