Coder Social home page Coder Social logo

Comments (5)

lpil avatar lpil commented on May 27, 2024

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.

codereport avatar codereport commented on May 27, 2024

@lpil

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.

lpil avatar lpil commented on May 27, 2024

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.

codereport avatar codereport commented on May 27, 2024

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/.

image

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.

lpil avatar lpil commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.