[Haskell-beginners] Help!, was Re: Trouble with "import qualified"

Dudley Brooks dbrooks at runforyourlife.org
Thu May 24 18:34:22 CEST 2012


Hi.  I've had this up for over a week, and haven't received any 
response.  Any help would be greatly appreciated.

On 5/16/12 10:04 PM, Dudley Brooks wrote:

> Almost complete beginner.
>
> I just downloaded Haskell 32-bit for Mac from Haskell.org and am going
> through Learn You a Haskell. I tried to follow the instructions on
>
> 	http://learnyouahaskell.com/modules#loading-modules
>
> in particular
>
> 	import qualified Data.Map as Map
>
> which, following the instructions, I put in a .hs file which I attempted
> to load into GHCi with :l. I got
>
> 	parse error on input `import'
>
> I have no idea what the problem might be or what to do about it. Other
> imports have been successful, but after getting the above message I
> tried to "import qualified" other modules, always with the same error.



More information about the Beginners mailing list