Comments (4)
This problem is specific to top-level code in notebooks fyi @River707
Possibly related to #15
from mojo.
This is possibly the correct behaviour of let declarations in top-level code: in top-level code, redefinitions are allowed. For example, you can redeclare structs and methods. It doesn't seem correct that let x
in a notebook means x
can never be redeclared/defined, ever. LMKWYT
from mojo.
Yes, I too think that this let x declaration seem to mean that x can never be redeclared
from mojo.
This is a duplicate of #15, folding it into that just so we have one issue to track
from mojo.
Related Issues (20)
- [Docs] Typo in manual for Python integration
- [BUG] [Parser] Crash when unresolved variable matches identifier of a (unimported) package identifier HOT 4
- [BUG]: Crash on invalid snippet upon using the member access operator HOT 2
- [BUG]: Wrong compiler error when providing correct function as parameter HOT 1
- [BUG]: Trying to use autocomplete in Mojo Playground causes a crash HOT 4
- [BUG]: Accuracy loss in the `math.exp` function HOT 1
- [BUG]: Mojo failed to install correctly
- [Feature Request] Extend `polynomial_evaluate` to Support `StaticTuple` Coefficients
- [Docs] Decorator of `@export` is missing in the doc
- [BUG]: Parser crash `typeDecl && "expected a user type"'
- [BUG]: Cannot install modular on Apple Silicon - Getting error that Intel is not supported HOT 3
- The last version of Mojo released by Modular was Mojo 0.6.1 dated 12/18/2023. Since each release is a month apart from the one before it, the company is supposed to release another version of Mojo on 1/17/2024.
- [BUG]: Mojo fails to build program with simple `while` loop HOT 1
- [BUG]: `IntLiteral`'s `__iadd__` etc. methods doesn't work in (dynamic) loops, needs better error message HOT 4
- [BUG]: Error if the file is called math.🔥 / math.mojo HOT 3
- [Docs] The optional arguments link does not work
- Code provided by sushat to calculate the row mean of a tensor in the blog is not working HOT 5
- [BUG]: ERROR elf_dynamic_array_reader.h:64] tag not found HOT 1
- [BUG]: Interpreter crash with UInt8x32 in alias HOT 2
- [BUG]: Variable of trivial type not destroyed by transferring ownership HOT 4
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 mojo.