Peter Saxton

Results 121 issues of Peter Saxton

This is a very speculative issue and not something I am sure is even possible. **Is it possible to have the ergonomics of Gleam when writing embedded code?** The Beam...

https://gleam.run/book/tour/let-bindings.html I'm not sure if this should just be a link to the case section or if it's different enough to have it's own content. Given the hypothetical future of...

A key part of the ecosystem. There exists a wrapper around httpc, which is useful for many usecase but not all. For example the caller is left to handle compression....

area:libraries
area:erlang

There are several things that don't belong as public functions in the standard library because they are very erlang specific. - charlist - term to binary - runtime error formats....

area:libraries
area:erlang

Gleam makes re-factoring much easier, which is a win. But when rapidly changing how things are structure a quite reasonable about of time is spent updating the imports, particuparly `import...

area:tooling
area:compiler

# Distributed Gleam By distributed I mean running in multiple places, potentially wider than an erlang cluster e.g. browser and server. *Maybe we should call it Gleam Web Scale*. Here...

area:tooling
stage:design

This is probably easiest explained by an example. ```rust Response{ Response( status: Int default 200, headers: Headers default [], body: Option(String) default None) } new response = Response(status: 404) ```...

area:language
stage:design

A function that will turn a list to a map or return an error if a duplicate key is found. ``` from_unique_list: fn(List(tuple(key, value))) -> Result(Map(key, value), key) ``` Returned...

area:stdlib

Will need a wrapper around gen_tcp. Suggesting this with the intention(hope) that it will eventually become part of stdlib. I think it should be relatively low risk to add to...

area:libraries

A stupid example ```rust import gleam/list pub fn add(a, b, _message) { a + b } pub fn demo(){ list.fold([], 0, add(_, _, "counting")) } ``` Probably needs a way...

area:language
stage:design