Name: mmap Version: 0.5.9 Stability: stable License: BSD3 License-File: LICENSE Copyright: 2008-2012, Gracjan Polak Author: Gracjan Polak Maintainer: Gracjan Polak Synopsis: Memory mapped files for POSIX and Windows Description: This library provides a wrapper to mmap(2) or MapViewOfFile, allowing files or devices to be lazily loaded into memory as strict or lazy ByteStrings, ForeignPtrs or plain Ptrs, using the virtual memory subsystem to do on-demand loading. Modifications are also supported. Cabal-version: >= 1.6 Category: System Build-type: Simple Extra-Source-Files: cbits/HsMmap.h Flag mmaptest Description: Generate mmaptest executable Default: False Source-repository head Type: darcs Location: http://code.haskell.org/mmap Library Build-depends: base<5, bytestring Extensions: ForeignFunctionInterface Exposed-modules: System.IO.MMap Hs-source-dirs: . Include-dirs: cbits GHC-options: -Wall if os(mingw32) C-sources: cbits/win32.c else C-sources: cbits/posix.c Executable mmaptest Main-is: tests/mmaptest.hs if flag(mmaptest) Buildable: True Build-depends: base<5, bytestring, HUnit, directory else Buildable: False Extensions: ForeignFunctionInterface, ScopedTypeVariables, CPP Hs-source-dirs: . CC-options: -Wall -D_DEBUG Include-dirs: cbits if os(mingw32) cpp-options: -DWINDOWS C-sources: cbits/win32.c Build-depends: Win32 else C-sources: cbits/posix.c