Comments (5)
I'm a bit confused as there is no gleam/os
that I'm aware of. Where did you learn about that module?
from gleam.
I'm a bit confused as there is no
gleam/os
that I'm aware of. Where did you learn about that module?
https://hexdocs.pm/gleam_stdlib/0.12.0/gleam/os/
from gleam.
gleam_stdlib v0.12.0 hasn't been supported in about 4 years 😁
Here's the documentation for the current version: https://hexdocs.pm/gleam_stdlib/0.37.0/
from gleam.
Thanks for the reply @lpil.
In case your curious, I asked GPT4 to convert some python code and is did it incorrectly using gleam/os
. Than when I got the error, I googled it and google returned that as one of the top results.
This was my first time playing with Gleam and I had no clue what the latest version of the library was, and it seemed reasonable that there would be an os
module.
A small recommendation would be to do what the C++ Boost libraries do with their documentation. They add a NOT THE LATEST VERSION
banner at the top of the site with a link to the latest one. See here: https://www.boost.org/doc/libs/1_39_0/libs/range/.
PS - Your language seems great. I listed to your interview on The ChangeLog and got interested when you said "Function Go (as opposed to Rust on the Beam)." If it is really in the performance neighborhood of those languages that is really exciting.
from gleam.
Please do not use ChatGPT for Gleam code. It is unsuited for programming help and you will have a bad time. A very large portion of the people reporting problems with Gleam are those who are using ChatGPT instead of using the Discord and official documentation.
There is a ticket for showing a warning for older versions but we don't have a designer to do that part of the work currently.
from gleam.
Related Issues (20)
- Apply tail call optimsation on JS when piping into self with a function capture HOT 5
- Formatter indenting mulit-line comments at the end of blocks incorrectly
- Language server does not update module information if the code matches the last successful compile HOT 1
- Helpful error message for trying to pattern match on the end of a list
- Hover not working for types inside tuples
- `gleam build` generates `gleam.mjs` and `gleam.d.mts` even if there are no changes HOT 1
- `@` is an illegal character in external javascript module name HOT 1
- Wrong formatting for multiline wrapped function in a pipe as function argument HOT 2
- LSP: autocomplete does not take into account prefix HOT 6
- LSP Action: Move all imports to the head for the module HOT 1
- add `gleam/math` to standard library HOT 3
- Formatter moves trailing comments out of bit array. HOT 1
- Not all errors being printed HOT 3
- Language server manual
- Jot tests fail on JavaScript HOT 1
- Add the --target flag to gleam docs build
- [WEBSITE] 'Getting Started' link isn't present on gleam.run HOT 2
- On the website, the description of language features are lacking
- Fatal compiler bug when using `gleam add` HOT 2
- Incorrect formatting of leading comment in v1.2.0-rc1 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 gleam.