Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jcranch authored and wrengr committed Nov 15, 2023
1 parent ae80ad8 commit e124daa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Data/Trie.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
-- detailed enough for most users. For an extended interface with
-- many additional functions, see "Data.Trie.Convenience". For
-- functions that give more detailed (potentially abstraction-breaking)
-- access to the data strucuture, or for experimental functions
-- access to the data structure, or for experimental functions
-- which aren't quite ready for the public API, see "Data.Trie.Internal".
----------------------------------------------------------------

Expand Down Expand Up @@ -111,7 +111,7 @@ getMatch q (n,x) =
(p,q') -> (p, x, q')

-- | Given a query, find the longest prefix with an associated value
-- in the trie, and return that prefix, it's value, and the remainder
-- in the trie, and return that prefix, its value, and the remainder
-- of the query.
--
-- @since 0.2.4
Expand All @@ -120,7 +120,7 @@ match :: Trie a -> ByteString -> Maybe (ByteString, a, ByteString)
match t q = getMatch q <$> match_ t q

-- | Given a query, find the shortest prefix with an associated value
-- in the trie, and return that prefix, it's value, and the remainder
-- in the trie, and return that prefix, its value, and the remainder
-- of the query.
--
-- @since 0.2.6
Expand Down

0 comments on commit e124daa

Please sign in to comment.