Initial Nix queries

This commit is contained in:
leo60228 2020-11-18 16:52:41 -05:00 committed by Thomas Vigouroux
parent e59a789289
commit ee0e8e8518
3 changed files with 136 additions and 0 deletions

11
queries/nix/folds.scm Normal file
View file

@ -0,0 +1,11 @@
; Nix doesn't really have blocks, so just guess what people might want folds for
[
(if)
(with)
(let)
(function)
(attrset)
(rec_attrset)
(list)
(indented_str)
] @fold