Commit 70a01c91 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[DOC] better name for type.é

parent 2abc5056
......@@ -239,10 +239,10 @@ querySelectTableNgrams = [sql|
type ListIdUser = Int
type ListIdMaster = Int
type MapChildren = Map Text (Set Text)
type MapParent = Map Text (Set Text)
type MapToChildren = Map Text (Set Text)
type MapToParent = Map Text (Set Text)
getNgramsGroup :: DPS.Connection -> ListIdUser -> ListIdMaster -> IO (MapParent, MapChildren)
getNgramsGroup :: DPS.Connection -> ListIdUser -> ListIdMaster -> IO (MapToParent, MapToChildren)
getNgramsGroup conn lu lm = do
groups <- getNgramsGroup' conn lu lm
let mapChildren = fromListWith (<>) $ map (\(a,b) -> (a, DS.singleton b)) groups
......
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