Comments (3)
Ah yes, good point. We should document the limitation of the JS target where these values do exist.
from language-tour.
Ah! So it does depend on runtime! I thought I tested it on the BEAM when I tested it in the language-tour repo, but didn't know to look for the target = "javascript"
line. Cool, that explains it - I was expecting the BEAM to crash. :)
from language-tour.
<off-topic>
I am also a bit surprised from a language design point of view that float overflow crashes. (It's expected from the BEAM though, so no blame on Gleam here.) Gleam seems to want to avoid the "let it crash" philosophy of the BEAM and have a more safe language. Might be too off-topic, so continuing this line of thought in the Discord. :)
from language-tour.
Related Issues (20)
- Difficulties navigating the tour on mobile HOT 2
- Opaque types are not covered
- What would it take to make the tour a library. HOT 3
- Add line number in code editor HOT 7
- Bug: un-clickable "table of contents" footer at the bottom of the everything page HOT 1
- Fix deviations from Gleam branding HOT 4
- Add print styles HOT 1
- Missing info about prelude / built-in types and Nil
- Small typo HOT 1
- Lesson on internal items
- Add a Search Bar HOT 5
- Relative paths for css HOT 1
- CSS bug: border overlaps content when the output box has a scrollbar HOT 2
- Code editor not visible on some pages for small viewports HOT 2
- No output at all when destructuring a bit array HOT 1
- Translation of the Language Tour: French HOT 1
- How to translate tour.gleam and code comments HOT 1
- Interactive coding editor formatting issues HOT 1
- `let` destructuring of records HOT 5
- Label shorthand syntax 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 language-tour.