https://github.com/jgoerzen/magic-haskell
Binding for libmagic [Haskell]
https://github.com/jgoerzen/magic-haskell
Last synced: 24 days ago
JSON representation
Binding for libmagic [Haskell]
- Host: GitHub
- URL: https://github.com/jgoerzen/magic-haskell
- Owner: jgoerzen
- License: other
- Created: 2010-04-22T18:50:35.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2023-09-09T02:56:41.000Z (over 1 year ago)
- Last Synced: 2025-04-13T04:03:23.034Z (24 days ago)
- Language: Haskell
- Homepage: http://hackage.haskell.org/package/magic
- Size: 378 KB
- Stars: 9
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
-------------------------
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 .
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.