Skip to content

Commit

Permalink
Moredocs
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin committed Aug 21, 2023
1 parent affbb30 commit d09998a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Data/Map/Strict/Expiring.hs
Expand Up @@ -28,6 +28,7 @@ data Entry g a = Entry {
gen :: !g
} deriving (Functor, Show)

-- | A map of values that expire after a given generation.
data Map g k a = Map {
map :: !(Map.Map k (Entry g a)),
generation :: !g,
Expand Down
2 changes: 1 addition & 1 deletion test/Spec.hs
Expand Up @@ -168,7 +168,7 @@ data MapOp = MapInsert Int Int
| MapUpdateNothing Int
deriving Show

-- Small number of keys so we be likely to actually encounter things.
-- Small number of keys so we will likely actually encounter key reuse, but still have a handful of different ones.
arbitraryKey :: Gen Int
arbitraryKey = choose (0, 5)

Expand Down

0 comments on commit d09998a

Please sign in to comment.