mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
6 lines
190 B
Nix
6 lines
190 B
Nix
|
# Tests that the result of applying op is forced even if the value is never used
|
||
|
builtins.foldl'
|
||
|
(_: f: f null)
|
||
|
null
|
||
|
[ (_: throw "Not the final value, but is still forced!") (_: 23) ]
|