No description
Find a file
Emile Clark-Boman bc2a62e62b add flake module
2026-01-27 17:50:53 +10:00
examples move examples to root 2026-01-24 23:18:35 +10:00
flake add flake module 2026-01-27 17:50:53 +10:00
nt mix imports can be attrs or fns 2026-01-27 17:50:24 +10:00
scripts add ferror script to parse nix-unit stderr 2026-01-27 17:48:11 +10:00
tests add nix-unit tests 2026-01-27 17:48:26 +10:00
.gitignore migrate to nt 2026-01-24 19:01:29 +10:00
flake.lock remove remote mix input 2026-01-24 23:27:10 +10:00
flake.nix provide flake instead of self 2026-01-27 08:34:41 +10:00
LICENSE add LICENSE 2025-12-14 13:52:42 +10:00
README.md nt README.md 2026-01-25 09:36:15 +10:00

NixTypes (nt)

Conventions

  1. Avoid the with keyword like your life depends on it!! Every LSP I've tried has handled them terribly. Not to mention it absolutely pollutes the scoped namespace ;-; Just stick to writing out let ... in. And iff you absolutely need it to condense code in a meaningful way, then isolate its use to a very very small scope. Not your entire file!
  2. All names/identifiers should be written in camelCase, except "Types" (aka specifically structured attribute sets). Which should be written in PascalCase. Typeclasses should be written in PascalCaseWithApostrophe'.