DieracDelta / flake_generator

Generate Nix Flakes imperatively.
MIT License
20 stars 2 forks source link

improve random stuff, partial refactoring #5

Closed fogti closed 3 years ago

fogti commented 3 years ago

mostly get rid of unnecessary clones, repetition, etc.

DieracDelta commented 3 years ago

Wow this is much cleaner! A bunch of these functions are super slick and make the code much easier to read, I think.

There is an issue: both you and @yusdacra in #4 have done a refactor to reduce the code size. He is using the display_parse library and you wrote a macro.

yusdacra commented 3 years ago

Just removing the macro and rebasing after #4 is merged should be enough I think.

fogti commented 3 years ago

rebased