Julian Schurhammer
Julian Schurhammer
I noticed the touched store gets reset to and empty object whenever you submit. Is there a way to prevent this? Especially I would like to maintain the old touched...
A Point2 is spread into a Point3, which should be an error. ```scala import gleam/io type Point { Point2(a: Int, b: Int) Point3(a: Int, b: Int, c: Int) } pub...
Issue gleam-lang/gleam#1262 Still WIP but creating PR for feedback. Reference Implementation https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/PersistentHashMap.java
### Describe want to want It would be nice if you could define indexes inline, similar to the primaryKey method. Example ``` export const users = pgTable('users', { id: serial('id').primaryKey(),...
The expression `[x, ..xs]` currently gets complied to the javascript `toList([x], xs);`. Creating a list and concatenating them seems rather wasteful. I think we should compile to a dedicated function...
```gleam type Test(a) { Test(a) } fn it(value: Test(a)) { it2(value) } fn it2(value: Test(a)) -> Test(a) { it(value) } ``` Gives this error on the test2 call ``` Type...
When writing a comparison function, a common pattern is to compare one thing, then if its equal compare another thing and so on. e.g. ```gleam fn compare_cat(a: Cat, b: Cat)...
Can we add "fmod" to the float module? The Int type has a modulo function, why not Float?
```gleam pub fn random(min: Int, max: Int) -> Int ``` 1. "min" and "max" can be used interchangeably, which is confusing to me. e.g. random(-1, 1) is the same as...
Has there been any thoughts about transaction support? Not only is it good for correctness, putting inserts in a transaction often improves performance too!