Skip to content
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

Chapter 1 & Homework 1 Exercise 2 all prompts Variable not in scope error #1435

Closed
AmagiDDmxh opened this issue Sep 7, 2020 · 5 comments
Closed

Comments

@AmagiDDmxh
Copy link

Shared Program: https://code.world/haskell#PdcNncD_4FsdW5wJ_6UD10Q (if applicable)

Description
Variable not in scope: path :: [(Integer, Integer)] -> Picture
Im using chrome Version 85.0.4183.83 (Official Build) (64-bit), macOS 10.15.5

(If you don't know what's causing the problem, please include the
browser and operating system you're using in the description.)

@AmagiDDmxh
Copy link
Author

AmagiDDmxh commented Sep 7, 2020

I fix this by change the name of path to curve, perhaps this happend to be documentation and template relative issues

@cdsmith
Copy link
Collaborator

cdsmith commented Sep 7, 2020

I think what you're looking for is polyline, actually. A long time ago, it used to be called path. It was renamed for pedagogical reasons, the old name was deprecated for several years, and finally removed.

Just to be clear, the exercises you're working from aren't part of CodeWorld, right? I don't think there are any CodeWorld exercises that refer to it by its old name, but I can't do anything about bitrot in external resources. I know a lot of @nomeata's CIS194 class, for example, no longer works. That's unfortunate, but the alternative would be to get forever stuck in the mistakes of the past.

@AmagiDDmxh
Copy link
Author

AmagiDDmxh commented Sep 7, 2020

So glad for helping, seeing this mistake is a quite good reason for nostalgia LOL:>. I wasn't think about CodeWorld and CIS194 were not integrated part together, and searching in the guide helps a lot. Thanks for the great job u made, It was great!
Since I'm typing from mobile, what inconvenience accidentally close the issue😯, anyway the problem was solved😄

@nomeata
Copy link
Contributor

nomeata commented Sep 8, 2020

Yes, unfortunately I can’t update the CIS194 pages anymore.

Maybe I should host them privately in maintenance mode…

@nomeata
Copy link
Contributor

nomeata commented Sep 27, 2020

Allright, updated the CodeWorld part of the course and am hosting it now on https://github.com/nomeata/haskell-via-sokoban

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants