DaVinciTypes defines the types "DaVinciAnswer" and the constructor "Context".
(.hi file attached.)
So I would expect

import DaVinciTypes hiding (Context)
import qualified DaVinciTypes 

to make DaVinciAnswer in scope, but DaVinciTypes.Context only available when so 
qualified.
This doesn't appear to be the case with the following command line on Sparc/Solaris:

/usr/local/pub-bkb/ghc/ghc-latest/bin/ghc -c DaVinciBasicTest.hs -package concurrent 
-package data -package net -package posix -package text -package util -package lang 
-i.:/home/ger/uni/util:/home/ger/uni/events:/home/ger/uni/reactor:/home/ger/uni/server:/home/ger/uni/htk:/home/ger/uni/davinci:/home/ger/uni/graphs:/home/ger/uni/tools:/home/ger/uni/cvs:/home/ger/uni/types
 -fglasgow-exts -fallow-overlapping-instances -fallow-undecidable-instances -cpp 
-ddump-hi-diffs -H25M -recomp -fwarn-deprecations -Onot -DDEBUG -fasm

and attached file DaVinciBasicTest.hs, for I get the error

DaVinciBasicTest.hs:7:
    Type constructor or class not in scope: `DaVinciAnswer'

What's going on please?

DaVinciTypes.hi

DaVinciBasic.hs

Reply via email to