ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
jfo has quit [Quit: WeeChat 1.9.1]
arBmind has quit [Quit: Leaving.]
jfo has joined #zig
jfo has quit [Quit: WeeChat 1.9.1]
_whitelogger has joined #zig
_dev_zero has quit [*.net *.split]
_dev_zero has joined #zig
<GitHub141>
[zig] thejoshwolfe opened pull request #621: rework std.base64 api (master...base64) https://git.io/vF9rB
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
testuser042 has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
<testuser042>
Anyone here? I'm looking for Zig help
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
<testuser042>
ok, I'll try Google Groups
testuser042 has left #zig [#zig]
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
_whitelogger has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
arBmind has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
PV_ has joined #zig
<PV_>
andrewrk: I have question about generic functions. Builtins are magic, for example @divExact(T, T) -> T. It doesn't need any ceremony on form of explicit type parameter.
<PV_>
Is there some way to implement user functions in this style? For example sin(f32|f64|f128) -> f32|f64|f128 ? The type of a value which is passed into such function is always known by the compiler, so it seems natural to be able use this information.
<andrewrk>
PV_: yes, you can set the type to `var`
<andrewrk>
Then it can be any type
<PV_>
andrewrk: ooh, this allows so many things. Could you add an example? I got impression that a type parameter is mandatory.