------------------------- What is magic-haskell? ------------------------- It is a binding to the C libmagic library. It allows you to determine the type of a file not by looking at its name or extension, but rather by examining the contents itself. libmagic can provide either a textual description or a MIME content type (and, occasionally, also a character set.) The Haskell binding can also provide reports over Haskell strings. ------------------------- Quick Start ------------------------- See the file INSTALL. ------------------------- Usage in programs ------------------------- You can simply use -package magic in ghc to enable this library. The API docs can be built with "make doc", or you can find them at: http://quux.org/devel/magic-haskell ------------------------- Author & Homepage ------------------------- magic-haskell was written by John Goerzen <jgoerzen@complete.org>. The latest version may be obtained at: gopher://quux.org/1/devel/magic-haskell or: http://quux.org/devel/magic-haskell Documentation is also available on that page. You can also obtain the darcs tree with: darcs get --partial http://darcs.complete.org/magic-haskell This program is copyrighted. See the COPYRIGHT and COPYING files for more details.