purescript / documentation

Documentation for the PureScript language, compiler, and tools.
Other
1.03k stars 301 forks source link

Getting started guide: `import Data.List` fails #440

Closed sir4ur0n closed 2 years ago

sir4ur0n commented 2 years ago

Hi,

I followed the "Getting started" guide but while inside the REPL, import Data.List fails:

$ spago repl
> import Data.List
Error found:
in module $PSCI
at <internal>:0:0 - 0:0 (line 0, column 0 - line 0, column 0)

  Unknown module Data.List

See https://github.com/purescript/documentation/blob/master/errors/UnknownName.md for more information,
or to contribute content related to this error.
sir4ur0n commented 2 years ago

Ah, nevermind, actually one must run spago install lists foldable-traversable for the REPL section to work... I guess we can close this issue (though it might be worth explaining that in the REPL section :sweat_smile: )