Peter Saxton

Results 143 comments of Peter Saxton

I think there is an option 4. ```rust process.spawn_link(fn(receive) { // continue ... }, [TrapExit(fn(pid, reason) { Exit(pid, reason) })]) ``` Then if you are not trapping exits you can...

I'm keen to wait for try before doing this. https://github.com/gleam-lang/gleam/pull/584

https://tools.ietf.org/html/rfc2616 defines general headers request/response headers and entity headers. extension headers are ones that are not specified in the spec. It could be possible to specify an enum of headers...

The pattern matching solution is nice, it's certainly the most simple. You hit the nail on the head about the integers though. The DSL suggested here gives you more type...

I will consider this done enough for milestone 0.2.0 the readme in gleam_jsone is enough information for now. However a general input parsing would be good, something that worked equally...

For building arbitrary JSON data, a functional interface is probably best. e.g. ```rust import jason.{object, string, boolean} let body = jason.encode( object( [ tuple("id_token", string(id_token)), tuple( "userinfo", object( [ tuple("sub",...

### PG Client https://github.com/erleans/pgo is a library with a very simple interface. Pretty easy to wrap up in Gleam, at least at a low level. ### Migrations Using a separate...

Turns out diesel is not easy to instal without cargo. But there is nothing in principle preventing using precompiled binaries https://github.com/diesel-rs/diesel/issues/2379 A fallback could be a multistage build where the...

@lpil Both would be great, if you find the time.

Opened up an issue on pgo for the suggestion of adding configuration by database_url https://github.com/erleans/pgo/issues/34