mirror of
https://github.com/github/semantic.git
synced 2024-12-20 13:21:59 +03:00
Stub in Bags.
This commit is contained in:
parent
53b53a7c8f
commit
e6036c0d76
@ -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] }
|
||||
|
Loading…
Reference in New Issue
Block a user