magic-1.0.8: Interface to C file/magic library

MaintainerJohn Goerzen,

Magic.Types

Description

Maintainer : jgoerzen@complete.org Stability : provisional Portability: portable

Types for magic programs.

Written by John Goerzen, jgoerzen@complete.org

Synopsis

Documentation

type Magic = ForeignPtr CMagicSource

Main Magic object type.

Magic objects are automatically closed (and memory freed) when they are garbage-collected by Haskell. There is no need to explicitly close them.