sets.e
The file builtins/sets.e (not an autoinclude) contains routines for simple handling of sets.
Aside: For no particularly good reason I launched a full-on rewrite, which has ended up in builtins/sets2.e - and was not in the end proved any better or worse, however I realised set-ids just make debugging harder, I think...
Internally these routines use a private set_type, but that is documented as sequence here since that is what an application should use.
These routines all work just fine under pwa/p2js, aka "with js", although deep_copy() may be required when result!=s1.
Aside: For no particularly good reason I launched a full-on rewrite, which has ended up in builtins/sets2.e - and was not in the end proved any better or worse, however I realised set-ids just make debugging harder, I think...
Internally these routines use a private set_type, but that is documented as sequence here since that is what an application should use.
These routines all work just fine under pwa/p2js, aka "with js", although deep_copy() may be required when result!=s1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|