Pierre Curto

Results 77 comments of Pierre Curto

are you referring to xxh3 and xxh1228? I dont have any bandwidth for this but happy to review pull requests.

what about: ``` union Foo : int @tagged { int a; int b; char* c; } Foo f = ... switch (f) { case Foo.a: ... case Foo.b: ... }...

Coming from languages where this is common nowadays, this would be nice :). Maybe starting small with: - identation - curly braces positioning

I am more interested in being able to decorate errors with contextual information (either source code position and/or runtime information based on the failed operation (e.g. file name that could...

All valid points, thanks for giving the rationale!

And another one using io.MultiWriter: ``` /Users/***/zig/zig-macos-x86_64-0.11.0-dev.116+41b7e40d7/lib/std/io/multi_writer.zig:10:38: error: type '*xxh.xxh32' has no members ErrSet = ErrSet || StreamType.Error; ~~~~~~~~~~^~~~~~ /Users/***/zig/zig-macos-x86_64-0.11.0-dev.116+41b7e40d7/lib/std/io/multi_writer.zig:39:49: note: called from here pub fn multiWriter(streams: anytype) MultiWriter(@TypeOf(streams)) {...

This works as of `V 0.4.4 d912268`. ``` import vweb struct App { vweb.Context } pub fn (mut app App) index() vweb.Result { x := 'a+b' return $vweb.html() } fn...

Hello, it makes sense to have it. I currently dont have time to work on this but am open to PRs :).

Happy to add it, open to PR.