File: sets.std

package info (click to toggle)
icon 9.5.25a-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,624 kB
  • sloc: ansic: 28,692; cpp: 5,650; yacc: 926; makefile: 882; lisp: 873; sh: 319; sed: 13; php: 1
file content (43 lines) | stat: -rw-r--r-- 885 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
     empty : 0 :
set
    insert : 1 : &null
&null
&null
    insert : 1 : &null
    delete : 0 :
    delete : 0 :

         x : 3 : 1 2 4
         y : 3 : 1 2 5
    x ++ y : 4 : 1 2 4 5
    y ++ x : 4 : 1 2 4 5
    x -- y : 1 : 4
    y -- x : 1 : 5
    x ** y : 2 : 1 2
    y ** x : 2 : 1 2

     empty : 0 :
       + 1 : 1 : 1
       + 2 : 2 : 1 2
       + c : 3 : 1 2 "c"
       - 3 : 3 : 1 2 "c"
       - 1 : 2 : 2 "c"
       - 1 : 2 : 2 "c"
       + 2 : 2 : 2 "c"
       + 1 : 3 : 1 2 "c"
     + 7.0 : 4 : 1 2 7.0 "c"
     + 7.0 : 4 : 1 2 7.0 "c"
    + 'cs' : 5 : 1 2 7.0 "c" 'cs'
    + 'cs' : 5 : 1 2 7.0 "c" 'cs'
       x = : 5 : 1 2 7.0 "c" 'cs'

     3,a,4 : 3 : 3 4 "a"
    y ++ x : 8 : 1 2 3 4 7.0 "a" "c" 'cs'
    y ** x : 0 :
    y -- x : 3 : 3 4 "a"
    x -- y : 5 : 1 2 7.0 "c" 'cs'

 z from !y : 3 : 3 4 "a"

         x : 7 : 1 2 3 5 6 7 9
         y : 7 : 0 2 3 4 5 6 9