You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
split :: Ord k => k -> Map k a -> (Map k a, Map k a)
O(log n). The expression (split k map) is a pair (map1,map2) where the keys in map1 are smaller than k and the keys in map2 larger than k. Any key equal to k is found in neither map1 nor map2.
Could be faster than takeWhile(), skipWhile(), etc.
The text was updated successfully, but these errors were encountered:
Similar to Data.Map.Lazy.split:
split :: Ord k => k -> Map k a -> (Map k a, Map k a)
O(log n). The expression (split k map) is a pair (map1,map2) where the keys in map1 are smaller than k and the keys in map2 larger than k. Any key equal to k is found in neither map1 nor map2.
Could be faster than takeWhile(), skipWhile(), etc.
The text was updated successfully, but these errors were encountered: