File: GetOpt.hi

package info (click to toggle)
nhc98 1.16-15
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 62,544 kB
  • ctags: 103,012
  • sloc: ansic: 831,077; haskell: 60,111; java: 4,116; makefile: 3,045; sh: 2,183; cpp: 212
file content (69 lines) | stat: -rw-r--r-- 1,812 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
interface System.Console.GetOpt where {

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Fractional (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.RealFrac (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Num (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Real (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Enum (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Read a,Prelude.Integral a) => Prelude.Read (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Ord (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Eq (Ratio.Ratio a);

{-# NEED #-}
instance Prelude.Functor NHC.Internal.IO;

{-# NEED #-}
instance Prelude.Monad NHC.Internal.IO;

{-# NEED #-}
instance (Prelude.Integral a) => Prelude.Show (Ratio.Ratio a);

{-# NEED #-}
instance (Prelude.Show a) => Prelude.Show (NHC.Internal.IO a);
interface Ratio
{-# NEED Ratio #-}
data Ratio a;
interface NHC.Internal
{-# NEED IO #-}
newtype {-#  #-} IO a;

{-# NEED World #-}
data World;
interface ! System.Console.GetOpt
{-# NEED getOpt #-}
getOpt{-# 3 #-}::((ArgOrder a) -> ([(OptDescr a)] -> ([Prelude.String] -> ([a],[Prelude.String],[Prelude.String]))));

{-# NEED usageInfo #-}
usageInfo{-# 2 #-}::(Prelude.String -> ([(OptDescr a)] -> Prelude.String));

{-# NEED {OptDescr Option} #-}
data OptDescr a
  = Option [Prelude.Char] [Prelude.String] (ArgDescr a) Prelude.String;

{-# NEED {ArgDescr NoArg ReqArg OptArg} #-}
data ArgDescr a
  = NoArg a
  | ReqArg (Prelude.String -> a) Prelude.String
  | OptArg ((Prelude.Maybe Prelude.String) -> a) Prelude.String;

{-# NEED {ArgOrder RequireOrder Permute ReturnInOrder} #-}
data ArgOrder a
  = RequireOrder 
  | Permute 
  | ReturnInOrder (Prelude.String -> a);
}