Skip to content

aztecs-hs/sparse-set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sparse-set

An efficient sparse-set data structure for Haskell

import qualified Data.SparseSet as S

main :: IO ()
main = print $ S.intersection as bs
  where
    as = S.insert (10 :: Int) "B" $ S.insert 0 "A" S.empty
    bs = S.insert (10 :: Int) "B" S.empty

About

An efficient sparse-set data structure for Haskell

Resources

License

Stars

Watchers

Forks

Packages

No packages published