Skip to content

Commit 26f5211

Browse files
committed
remainding (map -> fmap)
1 parent 8152874 commit 26f5211

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Nix/Expr/Strings.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ stripIndent xs =
6565
. fmap snd
6666
. dropWhileEnd cleanup
6767
. (\ys -> zip
68-
(map
68+
(fmap
6969
(\case
7070
[] -> Nothing
7171
x -> pure (last x)

src/Nix/XML.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ toXML = runWithStringContext . fmap pp . iterNValue (\_ _ -> cyc) phi
4444
NVSet' s _ -> sequence s >>= \kvs -> pure $ Element
4545
(unqual "attrs")
4646
mempty
47-
(map
47+
(fmap
4848
(\(k, v) -> Elem
4949
(Element (unqual "attr")
5050
[Attr (unqual "name") (Text.unpack k)]

0 commit comments

Comments
 (0)