Documentation about interacting with a Gleam program #2868
tkivela
started this conversation in
Ideas & suggestions
Replies: 1 comment
-
Hello there! Yes, I do agree. The plan is to have a "cookbook" or such, with lots of guides on how to perform various tasks in Gleam. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm learning the language and I think Gleam Language Tour is just great. Normally when I'm learning a new language I like to start with "Hello world" kind of program (which is beatifully created with your documentation by running "gleam new && gleam run"). However from that point onwards I think the documentation could give some pointers how to make the program interactive, mainly how to get input from the user. I first thought that the standard library's io -package would have some stdio reading functions but it didn't (previous languages that I've worked with had that).
I know that there's some Erlang modules interacting with stdio and for example reading files and I think it would benefit new developers greatly if the official site gave some pointers where to look things (even if they're not part of the actual language core or officially maintained by the Gleam team).
Some pointers for these things would be great:
These would get people a long way! If there is already documentation and examples of these on the site, I'm sorry for not finding them. If there isn't, I think it would be a great addition to the site.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions