ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
<GitHub138> [zig] andrewrk pushed 1 new commit to master: https://git.io/vbnO2
<GitHub138> zig/master 960914a Andrew Kelley: add implicit cast from enum to union...
<GitHub186> [zig] andrewrk pushed 1 new commit to master: https://git.io/vbn3o
<GitHub186> zig/master 2715f6f Andrew Kelley: allow implicit cast from union to its enum tag type...
redj has quit [Read error: Connection reset by peer]
redj has joined #zig
<GitHub12> [zig] andrewrk pushed 1 new commit to master: https://git.io/vbnsV
<GitHub12> zig/master c49ee9f Andrew Kelley: allow union and its tag type to peer resolve to the tag type
<GitHub149> [zig] andrewrk pushed 1 new commit to master: https://git.io/vbnZW
<GitHub149> zig/master bb6b4f8 Andrew Kelley: fix enum with 1 member causing segfault...
<GitHub45> [zig] andrewrk pushed 1 new commit to master: https://git.io/vbnZF
<GitHub45> zig/master f464fe1 Andrew Kelley: switch on enum which only has 1 field is comptime known...
<GitHub156> [zig] andrewrk pushed 1 new commit to master: https://git.io/vbnnu
<GitHub156> zig/master 249cb2a Andrew Kelley: fix regressions from previous commit...
Tobba has quit [Ping timeout: 240 seconds]
Tobba has joined #zig
cenomla has joined #zig
skyfex has quit [Ping timeout: 260 seconds]
jjido has joined #zig
jjido has quit [Remote host closed the connection]
Guest45571 has joined #zig
cenomla has quit [Quit: cenomla]
arBmind has joined #zig
PV_ has joined #zig
<PV_> I found that I can write template functions in Zig just like in C++. Here's code that works in 0.1.1: https://pastebin.com/5h4Ez5BX
<PV_> It means that I can create libraries which do not import the whole world but will still work. Much less dependencies, removing dependencies like A <-> B in favour of A->B.
<PV_> Like in C++, error messages will be probably non-intuitive when the library code gets complex enough. It would be useful to be able to specify requirements at the beginning of the template function. The error would then point to the most relevant place.
<PV_> Just today I proposed builtin @doesThisCompile(any code) -> bool, this would be useful in this situation.
<PV_> Here's what I would like to use, ideally: https://pastebin.com/kNgBUbFm
Guest45571 has quit [Remote host closed the connection]
jjido has joined #zig
jjido has quit [Ping timeout: 276 seconds]
arBmind has quit [Quit: Leaving.]
jfo has joined #zig
jfo has quit [Client Quit]
arBmind has joined #zig
arBmind1 has joined #zig
arBmind has quit [Ping timeout: 255 seconds]
arBmind1 has quit [Quit: Leaving.]
arBmind has joined #zig
jjido has joined #zig
clownpriest has joined #zig
PV_ has quit [Quit: Page closed]
arBmind has quit [Ping timeout: 240 seconds]
arBmind has joined #zig
jjido has quit [Ping timeout: 255 seconds]
clownpriest has quit [Remote host closed the connection]
jjido has joined #zig
<andrewrk> I'd be interested to see this strategy used for a project out in the wild
arBmind has quit [Ping timeout: 255 seconds]
arBmind has joined #zig
arBmind1 has joined #zig
arBmind has quit [Ping timeout: 260 seconds]
arBmind1 has quit [Quit: Leaving.]
cenomla has joined #zig
arBmind has joined #zig
andrewrk has quit [*.net *.split]
cgag has quit [*.net *.split]
andrewrk has joined #zig
cgag has joined #zig
jjido has quit [Ping timeout: 276 seconds]
jjido has joined #zig
meena has quit [Remote host closed the connection]
meena has joined #zig
cenomla has quit [*.net *.split]
Tobba has quit [*.net *.split]
Vinski has quit [*.net *.split]
aiwakura has quit [*.net *.split]
cenomla has joined #zig
Tobba has joined #zig
Vinski has joined #zig
aiwakura has joined #zig
Vinski has quit [Ping timeout: 260 seconds]
Vinski has joined #zig
jjido has quit [Remote host closed the connection]
jjido has joined #zig
<GitHub143> [zig] andrewrk pushed 1 new commit to master: https://git.io/vbCCx
<GitHub143> zig/master 62c25af Andrew Kelley: add higher level arg-parsing API + misc. changes...