Commit f6777c2e authored by Mike Ledger's avatar Mike Ledger

no fromFoldable0

parent 54307df7
Pipeline #43678228 failed with stage
in 51 seconds
......@@ -16,7 +16,6 @@ module Data.RadixTree
-- * Construction
, fromFoldable_
, fromFoldable
, fromFoldable0
, compressBy
-- * Parsing with radix trees
, RadixParsing (..)
......@@ -232,11 +231,6 @@ fromFoldable :: Foldable f => f (Text, a) -> RadixTree a
fromFoldable =
fromTrie . foldr' (\(t, a) -> insert t t a) (Trie (Skip M.empty))
-- | *Slow*
fromFoldable0 :: Foldable f => f Text -> RadixTree ()
fromFoldable0 =
fromTrie . foldr' (\t -> insert t t ()) (Trie (Skip M.empty))
makeStore ''RadixNode
makeStore ''RadixTree
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment