Noogλe
search input
Function of the day
Turns a list of strings into a human-readable description of those strings represented as an attribute path. The result of this function is not intended to be machine-readable. Create a new attribute set with
value
set at the nested attribute location specified inattrPath
.Inputs
path
-
Attribute path to render to a string
Type
showAttrPath :: [String] -> String
Examples
lib.attrsets.showAttrPath
usage exampleshowAttrPath [ "foo" "10" "bar" ] => "foo.\"10\".bar" showAttrPath [] => "<root attribute path>"