[Haskell-beginners] Problem to compile an example of Data Parallel Haskell

Edgar GOMES DE ARAUJO falecomedgar at gmail.com
Mon Oct 12 08:26:28 EDT 2009


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 at 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'
---------------------------------------------------------------------------------------------------------------------

Using the example from Ben Jao Ming 
(http://overtag.dk/wordpress/2009/04/data-parallel-haskell/), I can 
successfully compile and run.

Could anyone help me?
-- 


Kind regards,

___________________________________________

*Ir. Edgar Gomes
*

Metallurgical Engineer


/Ghent University/

Department Metallurgy and Materials Science

B-9052 Zwijnaarde-Gent

Belgium

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20091012/a9bbc791/attachment.html


More information about the Beginners mailing list