Magic.Data

magic-1.1: Interface to C file/magic library

Copyright | Copyright (C) 2005 John Goerzen
License | BSD
Maintainer | John Goerzen,
Safe Haskell | Safe
Language | Haskell98

Magic.Data

Description

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

Haskell types for libmagic constants

Written by John Goerzen, jgoerzen@complete.org

# Documentation

data MagicFlag #

Constructors

MagicNone |
MagicDebug |
MagicSymlink |
MagicCompress |
MagicDevices |
MagicMimeType |
MagicMimeEncoding |
MagicMime |
MagicContinue |
MagicCheck |
MagicPreserveAtime |
MagicRaw |
MagicError |
UnknownMagicFlag Int |

Instances

Enum MagicFlag # |
Methods succ :: MagicFlag -> MagicFlag # pred :: MagicFlag -> MagicFlag # toEnum :: Int -> MagicFlag # fromEnum :: MagicFlag -> Int # enumFrom :: MagicFlag -> [MagicFlag] # enumFromThen :: MagicFlag -> MagicFlag -> [MagicFlag] # enumFromTo :: MagicFlag -> MagicFlag -> [MagicFlag] # enumFromThenTo :: MagicFlag -> MagicFlag -> MagicFlag -> [MagicFlag] #
Eq MagicFlag # |
Methods (==) :: MagicFlag -> MagicFlag -> Bool # (/=) :: MagicFlag -> MagicFlag -> Bool #
Ord MagicFlag # |
Methods compare :: MagicFlag -> MagicFlag -> Ordering # (<) :: MagicFlag -> MagicFlag -> Bool # (<=) :: MagicFlag -> MagicFlag -> Bool # (>) :: MagicFlag -> MagicFlag -> Bool # (>=) :: MagicFlag -> MagicFlag -> Bool # max :: MagicFlag -> MagicFlag -> MagicFlag # min :: MagicFlag -> MagicFlag -> MagicFlag #
Show MagicFlag # |
Methods showsPrec :: Int -> MagicFlag -> ShowS # show :: MagicFlag -> String # showList :: [MagicFlag] -> ShowS #