[Haskell-beginners] A question about import
Andreas Baldeau
andreas at baldeau.net
Sun Feb 19 22:31:43 CET 2012
Hi,
it's hard to see without context, but I'd expect you have misplaced the
imports. The imports go between the module header and your first top level
definition.
Hope this helps,
Andreas
On 19:50 Sun 19 Feb , bahadýr altan wrote:
> Hi, when I try to use import like these:
> import System.Random
> import Control.Monad
>
> I get this error: "Syntax error in input (unexpected keyword "import")". Can you tell me why this happens and how I can fix it?
> Thanks..
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
More information about the Beginners
mailing list