Importing strategies
Hans-Wolfgang Loidl
hwloidl at informatik.uni-muenchen.de
Mon Dec 15 19:26:42 EST 2003
Hi,
IIRC, the strategies module is available in the Concurrent
package but not in the hierarchical libraries. Using
ghc-6.0.1 the following works for me
# ghc -package concurrent hiS.hs
# ./a.out
hi there
with the program
> import Strategies
> main = putStrLn "hi there"
Cheers,
--
HW
On Mon, 15 Dec 2003 00:02:14 +0100
Henk-Jan van Tuyl <Henk-Jan.van.Tuyl at hotpop.com> wrote:
>
> L.S.,
>
> I am trying to compile the following program:
>
> > import Concurrent.Strategies
> > main = putStrLn ""
>
> Using the following command:
> ghc -v -package concurrent -package data -o "TryStrategies" "TryStrategies.lhs" -iC:/Programs/ghc-6.0.1/hslibs-imports > compile.log
>
> I receive the error message:
> TryStrategies.o(.text+0x22):fake: undefined reference to `__stginit_Concurrentzi
> Strategies_'
>
> What am I doing wrong here?
>
> --
> Best regards,
> Henk-Jan van Tuyl
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://haskell.org/pipermail/haskell-cafe/attachments/20031215/d42dd7b1/attachment.bin
More information about the Haskell-Cafe
mailing list