Comments (6)
https://github.com/brownplt/pyret-lang/blob/horizon/src/arr/trove/error.arr#L1004-L1019 and https://github.com/brownplt/pyret-lang/blob/horizon/src/arr/trove/error.arr#L2232-L2274 are the relevant messages.
Suggest an alternate wording, and it should be an easy issue for a student to address.
from code.pyret.org.
The wording is fine, I was more focused on the lack of highlighting.
from code.pyret.org.
I'm certain you don't mean that -- highlighting is applied to prose text, not to rendered values, so you need to choose what wording you want to surround those rendered values.
from code.pyret.org.
Why not just the same prose — "The left side … the right side …"?
from code.pyret.org.
Well...if you look at the second link, it handles general equality-failure
s, and there's clearly code in there that distinguishes between "The left side...the right side..." wording for certain kinds of values, and the anodyne unhighlighted wording for others. So at some point we had made a deliberate choice to word things this way. I do not remember the reasoning, and this code is ancient (7+ years), and predates @jswrenn's work on error phrasing. So it needs a real looking-over, not just a shrug. :)
from code.pyret.org.
Oh, this isn't on pyret-lang
, guess I referenced the wrong issue. brownplt/pyret-lang@4437c20
from code.pyret.org.
Related Issues (20)
- Add unicode ellipses (…, U+2026) to the auto-expand/replace list
- test block with no tests, and test counts HOT 1
- Chart package: residuals HOT 18
- `color` does not enforce refinements HOT 3
- Should give more nudging to save a copy on shared files
- “Cancel”/“close” distinction
- Hide the import code in the publish menu
- overlay adding unecessary pixels? HOT 2
- add pi, E and e to constants context
- Pyret Blocks (tracking issue) HOT 8
- modal-prompt.js changes don't get into build HOT 3
- essentials2021 context now exports e HOT 1
- Some chart functions run out of colors (likely array index issue) HOT 6
- Can HTML entities also be replaced? HOT 2
- modes should work for categorical data HOT 7
- Choose context button blindly grabs the text after the first 11 chars HOT 1
- Don't break use-context shared-gdrive if a file is renamed HOT 5
- More Stats Functions HOT 1
- Need to make some blocks/ tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code.pyret.org.