
On Mon, Oct 12, 2009 at 02:26:28PM +0200, Edgar GOMES DE ARAUJO wrote:
Hi,
I have tried to compile an example of DPH (Data prallel Haskell) but I am not getting any success. The target is the concmop.hs (http://darcs.haskell.org/ghc-6.10/packages/dph/examples/concomp/) for calculate connected components in a graph. I am using GHC 6.10.4 compiled with extras libs (which also includes DPH 0.3.0). I've got this error. Seems that GHC can't find these functions/types.
--------------------------------------------------------------------------------------------------------------------- edgar@edgar-ubuntu:~/Desktop/dph$ ghc --make -fdph-par -XTypeOperators ./concomp.hs [1 of 4] Compiling Graph ( Graph.hs, Graph.o )
Graph.hs:11:45: Not in scope: type constructor or class `:*:'
Graph.hs:23:6: Not in scope: `hPutU'
Graph.hs:33:15: Not in scope: `hGetU' ---------------------------------------------------------------------------------------------------------------------
Perhaps that file is just missing an import? IIRC these things are from Data.Array.Vector, from the uvector package. -Brent