-
New book
-
load:
loader
now also accepts a list of matchers for loading non-Nix files (#10)The following matchers and functions available under
matchers
:always
always matches the file regardless of its file nameextension
matches the file by its extensionjson
loads all JSON filesnix
is the default matcher if theloader
is a function and not a list of matchersregex
matches the file using the given regextoml
loads all TOML files
loaders.scoped
to utilizescopedImport
instead ofimport
for loading files
- Transformers now accept a ccursor as an argument.
The type signature of
transformer
have changed from{ ... } -> a
to[ String ] -> { ... } -> a
transformers.hoistAttrs
andtransformers.hoistLists
bring a specific attribute name at all levels to the root.- load:
transformer
now also accepts a list or a nested list of functions.
- load: add transformer option
- transformers: add liftDefault
First release