-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Chapter 2 - Testing Code Using the Interactive Mode #81
Comments
This is strange - an explicit |
So, funnily enough, if one just runs However, if one runs |
Interesting, good find! Perhaps |
It should only if a |
There's already an issue for this, but it doesn't quite address this particular problem: purescript/spago#550 |
I opened purescript/spago#611 |
This is apparently a bug in spago which should be fixed as of the next release. |
This bug no longer appears if one uses Spago v0.15.2. To close this, we should update the repo to use that version of Spago in its instructions. However, the Spago release is a breaking change, so I don't know whether that would be problematic in other areas. |
The only breaking change is the removal of an obscure CLI flag which I doubt this repo was using, so I think updating will be fine. |
Do we need to specify specific tool versions?
will get the latest version (0.15.2 currently). |
Yeah, I'd be tempted to just leave this. I think asking people to try updating their tools if things go wrong is the correct approach in general. |
At one point, I didn't specify the version of tools in my learning repo. Then, breaking releases were made that messed up a number of the commands I listed. So, I think it's better to list a specific tool version. That way, one can ensure that entire repo is updated before upgrading. However, some tools (e.g. Spago) are more mature now than when I made that decision. So, I don't know whether that's really desirable at this point either. Regardless, I don't think we should specify tool versions until it becomes an issue. |
After following the step up to the secion Testing Code Using the Interactive Mode, executing
$ spago repl
will throw:Please add current instructions to load the psci-support package, like so:
spago install psci-support
This code was written on MacOSX Mojave 10.14.6 using:
The text was updated successfully, but these errors were encountered: