Skip to content

Commit

Permalink
remainding (map -> fmap)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Latukha committed Feb 10, 2021
1 parent 8152874 commit 26f5211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Nix/Expr/Strings.hs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ stripIndent xs =
. fmap snd
. dropWhileEnd cleanup
. (\ys -> zip
(map
(fmap
(\case
[] -> Nothing
x -> pure (last x)
Expand Down
2 changes: 1 addition & 1 deletion src/Nix/XML.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ toXML = runWithStringContext . fmap pp . iterNValue (\_ _ -> cyc) phi
NVSet' s _ -> sequence s >>= \kvs -> pure $ Element
(unqual "attrs")
mempty
(map
(fmap
(\(k, v) -> Elem
(Element (unqual "attr")
[Attr (unqual "name") (Text.unpack k)]
Expand Down

0 comments on commit 26f5211

Please sign in to comment.