[project @ 2000-09-29 15:59:28 by sewardj]
[ghc-hetmet.git] / ghc / compiler / ghci / CmSummarise.lhs
1 %
2 % (c) The AQUA Project, Glasgow University, 1993-2000
3 %
4 \section[CmSummarise]{Module summariser for GHCI}
5
6 \begin{code}
7 module CmSummarise ( ModSummary(..), summarise )
8 where
9
10 #include "HsVersions.h"
11
12 import CmFind           ( ModName, ModLocation )
13
14 \end{code}
15
16 \begin{code}
17
18
19 data ModSummary
20    = ModSummary ModLocation                    -- location and kind
21                 (Maybe (String, Fingerprint))  -- source and sig if .hs
22                 [ModName]                      -- imports
23
24 type Fingerprint = Int
25
26 summarise :: ModLocation -> IO ModSummary
27 summarise loc = return (error "summarise:unimp")
28 \end{code}