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/
Synthetica has quit [Quit: Connection closed for inactivity]
pie__ has joined #nix-lang
pie__ has quit [Remote host closed the connection]
pie__ has joined #nix-lang
<pie__> i find recursion in the nix language hard to understand, and im not sure why
<pie__> it bothers me that you cant expect everyone to accept working with this kind of stuff
<pie__> the question is why it doesnt recurse infinitely, the answer is probably "uhhh...lazinesss...?"
<pie__> though to be fair maybe im just slow, and most people dont need to do this
<pie__> my underlying question is does it _need_ to be hard to understand
<pie__> and why is it hard, if it doesnt need to be
ddellacosta has quit [Ping timeout: 248 seconds]
kyren has joined #nix-lang
pie__ has quit [Ping timeout: 258 seconds]
pie__ has joined #nix-lang
Synthetica has joined #nix-lang
__monty__ has joined #nix-lang
Synthetica has quit []
Synthetica has joined #nix-lang
<infinisil> pie__: recursion in nix isn't any different from recursion in other lazy functional languages
<pie__> infinisil, not in principle no
<pie__> but i find nix hard to think about- though now that i think about it im not sure ive read much ehavily recursive haskell code
<infinisil> How is it different?
<infinisil> pie__: ^
pie__ has quit [Ping timeout: 258 seconds]
pie__ has joined #nix-lang
Synthetica has quit [Quit: Connection closed for inactivity]
ddellacosta has joined #nix-lang
ddellacosta has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nix-lang
ddellacosta has quit [Ping timeout: 248 seconds]
__monty__ has quit [Quit: leaving]