infinisil changed the topic of #nix-lang to: Channel for discussing Nix as a language - https://nixos.org/nix/manual/#chap-writing-nix-expressions - Logs: https://logs.nix.samueldr.com/nix-lang/
rajivr has joined #nix-lang
evanjs has joined #nix-lang
__monty__ has joined #nix-lang
chisui has joined #nix-lang
<chisui> Hey, is there some way to get something like haskells `zipWithIndex` in nix? Or another way to associate elements of a list with their indices?
<ekleog> `lib.imap0`? (imap0 :: (int -> a -> b) -> [a] -> [b])
rajivr has quit [Quit: Connection closed for inactivity]
<chisui> ekleog thanks
<ekleog> you're welcome :)
<chisui> I remember there being some sort of searchable API docs for lib functions. Does anyone know where these are or am I remembering this wrong?
<chisui> thanks
chisui has quit [Quit: Connection closed]
chisui has joined #nix-lang
mvnetbiz_ has quit [Changing host]
mvnetbiz_ has joined #nix-lang
__monty__ has quit [Quit: leaving]