mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
implement Set inclusion functions
This commit is contained in:
parent
1256327caa
commit
57e8d5b4c3
8 changed files with 360 additions and 9 deletions
|
@ -1053,7 +1053,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
// diff : Attr * (Set * a)
|
||||
// , Attr * (Set * a)
|
||||
// -> Attr * (Set * a)
|
||||
add_type(Symbol::SET_DIFF, set_combine);
|
||||
add_type(Symbol::SET_DIFFERENCE, set_combine);
|
||||
|
||||
// foldl : Attr (* | u) (Set (Attr u a))
|
||||
// , Attr Shared (Attr u a -> b -> b)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue