[Haskell-beginners] FW: Initial startup of GHCi (Windows) v. 7.10.3
Stephen Tetley
stephen.tetley at gmail.com
Fri Dec 25 19:51:11 UTC 2015
You need to use :m (or :module) to load (preinstalled) modules rather
than files, e.g:
Prelude> :m Data.Text
Prelude Data.Text>
Best wishes
On 25 December 2015 at 19:13, <pmcilroy at gmail.com> wrote:
>
>
> Running on windows 10, GHC interactive fails to load any standard packages.
> The startup message does not include the prompt about initializing packages
> do, as shown commonly on Haskell getting started tutorials. Instead I see:
>
>
>
> GHCi, version 7.10.3: http://www.haskell.org/ghc/ :? for help
>
> Prelude> :l Data.Text
>
>
>
> <no location info>: module ‘Data.Text’ is a package module
>
> Failed, modules loaded: none.
>
> Prelude>
>
>
>
> Any pointers on what to do next?
>
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
More information about the Beginners
mailing list