ArthurTeisseire/joinable-dict/1.0.1

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

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

Equivalent to SQL FROM

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