Komari Spaghetti
Komari Spaghetti
Looking at `map`, it is currently documented as this: ```zig /// Constructs a parser that has its result converted with the /// `conv` function. The ´conv` functions signature is ///...
@bheads Parsing fn defs and fn photos uses the same grammatical rules already, so this proposal doesn't make a difference in how similar these constructs will be. @emekoi Given that...
@emekoi I know. We give syntatic sugar when it really affects the readability to not have it. Things like `try` is a good example. `((a orelse unreachable).b orelse unreachable).c` is...
Actually, my proposal starts with a use case this doesn't solve. `channel_message_table` is safe to index with all values of `u4`, but if I slice `channel_message_table`, the length is `math.maxInt(u4)...
If we can come up with something that is decently ergonomic, then I wouldn't mind the change. All my libs will not have a 1.0 release before zig 1.0 so...
> PS. I noticed that this may not be possible, I am not that versed in every zig implementation detail, and string not beeing a comptime function might make it...
> Maybe the original Ok/Err proposal would be still useful? At least if you don't want to modify your combinators to recover from errors using opt, you can at least...
Hmm. I'm not sure if this is quite the right approach. I guess that depends on the wanted behavior. Currently, the dropdown is allowed to go out of the window,...
> It not break if we set before call nk_combo_begin > As example nk_combo_set_direction(NK_DROP_AUTO_PREFER_UP) > But it will create more complexity... Hmm, yea that could work. I do think passing...
Very cool. I'll see if I can take a look at this code over the weekend. I'll assume this new API is good unless someone else complains :)