ArthurTeisseire / joinable-dict / Dict.ManyToOne

Joinable implementation of SQL many-to-one relation

fromList : List ( comparable, a ) -> ManyToOne comparable a

The way to init the container from a list of pair

from : ManyToOne comparable a -> (List a -> result) -> Dict comparable result

Equivalent to SQL FROM

innerJoin : ManyToOne comparable a -> Dict comparable (List a -> result) -> Dict comparable result

Equivalent to SQL INNER JOIN

select : a -> a

Used for clarity only and match SQL queries