Comments (3)
Well, it's a TypeError
, not a SyntaxError
βit works for variables, but only variables that point to objects of the right type. Documentation could potentially be improved here, though.
from coconut.
it works for variables, but only variables that point to objects of the right type.
Except that's just not true, as my examples show, unless the message refers to the coefficient type (which is then still unclear).
from coconut.
Ah, yes, I see the confusion. It is referring to the first object in the expression (the coefficient in your examples).
from coconut.
Related Issues (20)
- Conda-Forge package is marked x86 only HOT 1
- Assignment functions with compound statement HOT 1
- Shorthand for match assignment functions HOT 14
- Empty `zip` objects error on `__len__` HOT 2
- Destructuring first and last item HOT 1
- Add `CoconutWarning` for all Coconut runtime warnings
- `--strict` should disallow implicit string concatenation
- Allow custom numpy integration
- Some f-strings don't parse correctly HOT 1
- Wrong f-string parsing and compile warning HOT 1
- Improve implicit partial application HOT 2
- Warn on variables that are only ever referenced
- Add Built-Ins `fgroupsof` and `fwindowsof` HOT 2
- Statement lambdas don't support "full statements"? HOT 1
- `reduce` and other similar built-ins should support keyword arguments HOT 1
- Add better pattern-matching for anonymous named tuples HOT 1
- Add support for keyword argument name elision in pattern-matching
- Installation sous Windows HOT 3
- Comments in middle of parethesed code raising errors (jupyterlab - coconut kernel). HOT 1
- Coconut kernel when used in Jupyter lab/notebook has trouble parsing comments 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 coconut.