Skip to content

Commit 85ccb8e

Browse files
authored
Apply the MathJax changes from #830 to the new functions from #817 (#847)
1 parent 50175b7 commit 85ccb8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

containers/src/Data/Map/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3383,7 +3383,7 @@ fromSet :: (k -> a) -> Set.Set k -> Map k a
33833383
fromSet _ Set.Tip = Tip
33843384
fromSet f (Set.Bin sz x l r) = Bin sz x (f x) (fromSet f l) (fromSet f r)
33853385

3386-
-- | /O(n)/. Build a map from a set of elements contained inside 'Arg's.
3386+
-- | \(O(n)\). Build a map from a set of elements contained inside 'Arg's.
33873387
--
33883388
-- > fromArgSet (Data.Set.fromList [Arg 3 "aaa", Arg 5 "aaaaa"]) == fromList [(5,"aaaaa"), (3,"aaa")]
33893389
-- > fromArgSet Data.Set.empty == empty

containers/src/Data/Map/Strict/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ fromSet :: (k -> a) -> Set.Set k -> Map k a
14711471
fromSet _ Set.Tip = Tip
14721472
fromSet f (Set.Bin sz x l r) = case f x of v -> v `seq` Bin sz x v (fromSet f l) (fromSet f r)
14731473

1474-
-- | /O(n)/. Build a map from a set of elements contained inside 'Arg's.
1474+
-- | \(O(n)\). Build a map from a set of elements contained inside 'Arg's.
14751475
--
14761476
-- > fromArgSet (Data.Set.fromList [Arg 3 "aaa", Arg 5 "aaaaa"]) == fromList [(5,"aaaaa"), (3,"aaa")]
14771477
-- > fromArgSet Data.Set.empty == empty

0 commit comments

Comments
 (0)