uben

Results 17 comments of uben

I have a similar bug trying to use GTK 4 (zig 0.10.1) `unable to translate C expr: unexpected token ')'` At `/usr/include/glib-2.0/gobject/gtype.h` line 2504 This is the macro failing :...

I am proposing this, because in my understanding (which could be limited), it removes complexity from the language, it doesn't add anything (the best part is no part). Am I...

Oh I see! You just introduced me to the `arguments` type. I didn't know it existed. Which seems to be basically what I proposed here. ## Array, Dictionary and Arguments...

Once again, it was a skill issue from my part, I didn't knew `with` existed. Knowing that, you are right: > Probably doesn't justify the added complexity, though. Nonetheless, support...

# Interfaces If merging the `array` and the `dictionary` types in a single `arguments` type could cause annoying ambiguity, the use of interfaces could solve that: Let's say: - `arguments`...

> little too alien to most users, as well as a huge breaking change. Yes, I know, definitely alien, definitely breaking. That's why I knew it would not be taken...

If types are a thing in future Typst versions, having interfaces could simplify things. For instance, `content` should not be a type but an interface. When giving an integer as...

Just as a precision, you don't need to write `#[$ ... $]`, you can directly write `#$ ... $` ```typst $ cases(#$ u(x,t) = (3,2); 0

Maybe, all decoding functions should offer an optional argument `fallback` which is a function receiving the string that cannot be parsed. Example: ```typst #json("hello.json", fallback: (kind, input) => panic("not handling...

I am writing a TreeSitter grammar that took me several months to come by, yet, it is not finished. Nonetheless, it seems more advanced than the two evoked earlier, as...