Skip to content

Comment on Nickel Modules

Comments

Coming from Rust, there's still something about those Nickel error messages that don't read as well for me. They're much better than Nix for me, but weirdly they still read a bit busy. Maybe it's just my brain heh.. i can't explain it.

Nonetheless I still am just dying to switch to Nickel from Nix though. I am so tired of not having types in my config language, crappy documentation available to my LSP, etc. The wait for Nickel has been long for me

Nix improved error reporting around version 2.20[1]. Specifically the dreaded infinite recursion can now be traced back to the code that caused it without poring over the whole stack trace.

Contracts in nickel are much better IMHO.

1: https://nix.dev/manual/nix/2.22/release-notes/rl-2.20

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.