on develop help sign in
Add deprecated to partitionMapBySetLT
commit09a6754f4ac228fe06d0e850f0e85120be9f5164 authorDivam <dfordivam@gmail.com> dateThu 24 Jan 2019, 04:41 (8 years ago) parent1b0a30c
1 file changed+1
reflex-dom-core/src/Reflex/Dom/Widget/Basic.hs+1
reflex-dom-core/src/Reflex/Dom/Widget/Basic.hs+1
@@ -92,6 +92,7 @@ import Prelude hiding (mapM, mapM_, sequence, sequence_)
9292-- No empty pieces will be included in the output.
9393
9494--TODO: This can probably be done more efficiently by dividing and conquering, re-using the structure of the Set instead of going through the Set linearally
95+{-# DEPRECATED partitionMapBySetLT "This will be removed in future releases." #-}
9596partitionMapBySetLT :: forall k v. Ord k => Set k -> Map k v -> Map (Either k ()) (Map k v)
9697partitionMapBySetLT s m0 = Map.fromDistinctAscList $ go (Set.toAscList s) m0
9798 where go :: [k] -> Map k v -> [(Either k (), Map k v)]