We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8152874 commit 26f5211Copy full SHA for 26f5211
src/Nix/Expr/Strings.hs
@@ -65,7 +65,7 @@ stripIndent xs =
65
. fmap snd
66
. dropWhileEnd cleanup
67
. (\ys -> zip
68
- (map
+ (fmap
69
(\case
70
[] -> Nothing
71
x -> pure (last x)
src/Nix/XML.hs
@@ -44,7 +44,7 @@ toXML = runWithStringContext . fmap pp . iterNValue (\_ _ -> cyc) phi
44
NVSet' s _ -> sequence s >>= \kvs -> pure $ Element
45
(unqual "attrs")
46
mempty
47
48
(\(k, v) -> Elem
49
(Element (unqual "attr")
50
[Attr (unqual "name") (Text.unpack k)]
0 commit comments