Can you clarify this no peeking stuff?
oh, that's not quite right. Let's fix this with the correct application of the Pythagorean formula by changing the function to:
```hs
{{#include ../exercises/chapter2/test/no-peeking/Solutions.purs:diagonal}}
```
so you want me to paste that into MySolutions.purs because that does not work
```
(base) nyck33@lenovo-15ACH6:~/ps/purescript-book/exercises/chapter2$ spago test
Error found:
at test/MySolutions.purs:9:1 - 9:2 (line 9, column 1 - line 9, column 2)
Unable to parse module:
Unexpected token '{'
See https://github.com/purescript/documentation/blob/master/errors/ErrorParsingModule.md for more information,
or to contribute content related to this error.
```
Copilot is saying that's not valid purescript so it'll throw the error.
Can you edit documentation to go a bit more step by step maybe show the entire file with that pasted in, etc because it's a bit opaque at the moment.
[error] Failed to build.
(base) nyck33@lenovo-15ACH6:~/ps/purescript-book/exercis
关闭于 2024-05-14 3 条评论