diff --git a/src/Data/Gram.hs b/src/Data/Gram.hs index 40ba19faf..e83c808e0 100644 --- a/src/Data/Gram.hs +++ b/src/Data/Gram.hs @@ -6,3 +6,5 @@ data Gram label = Gram { stem :: [label], base :: [label] } serialize :: Gram label -> [label] serialize gram = stem gram <> base gram + +newtype Bag a = Bag { unBag :: [a] -> [a] }