REBOL Programming/intersect

USAGE:Edit

INTERSECT ser1 ser2 /case /skip size 

DESCRIPTION:Edit

Create a new value that is the intersection of the two arguments.

INTERSECT is a native value.

ARGUMENTS:Edit

  • ser1 -- first set (Type: series bitset)
  • ser2 -- second set (Type: series bitset)

REFINEMENTS:Edit

  • /case -- Uses case-sensitive comparison.
  • /skip -- Treat the series as records of fixed size
    • size -- (Type: integer)

SOURCE CODEEdit

intersect: native[
    {Create a new value that is the intersection of the two arguments.} 
    ser1 [series! bitset!] "first set" 
    ser2 [series! bitset!] "second set" 
    /case "Uses case-sensitive comparison." 
    /skip "Treat the series as records of fixed size" 
    size [integer!]
]
Last modified on 31 October 2012, at 11:58