-
New book
-
load:
loadernow also accepts a list of matchers for loading non-Nix files (#10)The following matchers and functions available under
matchers:alwaysalways matches the file regardless of its file nameextensionmatches the file by its extensionjsonloads all JSON filesnixis the default matcher if theloaderis a function and not a list of matchersregexmatches the file using the given regextomlloads all TOML files
loaders.scopedto utilizescopedImportinstead ofimportfor loading files
- Transformers now accept a ccursor as an argument.
The type signature of
transformerhave changed from{ ... } -> ato[ String ] -> { ... } -> a
transformers.hoistAttrsandtransformers.hoistListsbring a specific attribute name at all levels to the root.- load:
transformernow also accepts a list or a nested list of functions.
- load: add transformer option
- transformers: add liftDefault
First release