No description
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
MyNib
MyNib (My Nix Library) is a mini lil library of utilities I find myself frequently rewriting.
Conventions
- "Private" attribute set values: start and end with underscores, ie
MyType._value_ - Modules: use the
useModandmkModnib provides - Avoid the
withkeyword like your life depends on it!! Most LSPs I've tried have handled them terribly. Not to mention it absolutely pollutes the scoped namespace ;-; Just stick to writing outlet ... 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! - All names/identifiers should be written in camelCase, except "Types" (aka specifically structured attribute sets). Which should be written in PascalCase.