On this page:
𢎨
伄^
􏴛
􏾝
􏾘
􏾘^
􏺊
􏹃
彐?
􏹊
􏷍?
􏿳
􏿳?
􏴳?
􏴷?
􏴶?
􏴵?
􏴴?
􏴲?
􏺈
􏺇
9.3.0.2

4.2 􏿴🔗

 (require ming/list) package: Ming
Originates from 双 and 􏿴.

All the procedures in this page are implemented in Ming, therefore, the source code can be seen as a demonstation of it.

procedure

(𢎨 LST N)  􏿴?

  LST : 􏿴?
  N : 􏺡?
Almost same as except that it refs an element in the sense of human(from 1 instead of 0).

Example:
> (𢎨 '(a b c d e f g) 1)

'a

procedure

( LST N ...)  􏿴?

  LST : 􏿴?
  N : 􏺡?

procedure

(伄^ LST N-LST)  􏿴?

  LST : 􏿴?
  N-LST : (listof 􏺡?)
 
ideographs
伄^ 
ideographs

   : + + ^SFX

Examples:
> ( '(a b c d e f g) 0 2 3)

'(a c d)

> (伄^ '(a b c d e f g) '(0 2 3))

'(a c d)

procedure

(􏴛 LST N2 [N1])  􏿴?

  LST : 􏿴?
  N2 : 􏺡?
  N1 : 􏺡? = 0

procedure

(􏾝 LST N1 [N2])  􏿴?

  LST : 􏿴?
  N1 : 􏺡?
  N2 : 􏺡? = +inf.0
􏴛 
ideographs
􏾝 
ideographs

   : + / 􏴚

Examples:
> (􏴛 '(a b c d e f) 0)

'()

> (􏴛 '(a b c d e f) 0 0)

'()

> (􏴛 '(a b c d e f) 1 0)

'(a)

> (􏴛 '(a b c d e f) 2 1)

'(b)

> (􏴛 '(a b c d e f) 2 0)

'(a b)

> (􏴛 '(a b c d e f) 5 0)

'(a b c d e)

> (􏴛 '(a b c d e f) 5 2)

'(c d e)

> (􏾝 '(a b c d e f) 0)

'(a b c d e f)

> (􏾝 '(a b c d e f) 0 0)

'()

> (􏾝 '(a b c d e f) 0 1)

'(a)

> (􏾝 '(a b c d e f) 1 2)

'(b)

> (􏾝 '(a b c d e f) 0 2)

'(a b)

> (􏾝 '(a b c d e f) 0 5)

'(a b c d e)

> (􏾝 '(a b c d e f) 2 5)

'(c d e)

procedure

(􏾘 LST N)  􏿴?

  LST : 􏿴?
  N : 􏺡?

procedure

(􏾘^ LST N-LST)  􏿴?

  LST : 􏿴?
  N-LST : (listof? 􏺡?)
􏾘 
ideographs
􏾘^ 
ideographs

   : + + ^SFX

🐘 􏾺 𨚞

Examples:
> (􏾘 '(a b c d e f g) 1)

'(a c d e f g)

> (􏾘^ '(a b c d e f g) '(0 1 3))

'(c e f g)

procedure

(􏺊 LST N M)  􏿴?

  LST : 􏿴?
  N : 􏺡?
  M : 􏺡?
􏺊 : 􏷵 + 􏷴
ideograph
Shorts for (􏷴 (􏷵 LST N) M).

Example:
> (􏺊 '(a b c d e f g) 1 3)

'(b c d)

procedure

(􏹃 LST PROC)  􏺡?

  LST : 􏿴?
  PROC : 程?
􏹃 : +
ideograph

🐘 􏹈巨

Example:
> (􏹃 '(a b 12 c 33 d  58 f g) 米?)

3

procedure

( LST)  􏿴?

  LST : 􏿴?
: +
ideograph

Examples:
> ( '())

'()

> ( '(11))

'()

> ( '(11 22 33 22 44))

'(22)

> ( '(11 11 11 22 55 22 33 88 88 88 99 99))

'(11 22 88 99)

procedure

(彐? V LST)  boolean?

  V : any/c
  LST : 􏿴?
彐? : + ?SFX
ideograph

Example:
> (彐? 'c '(a b c d e c f))

#t

procedure

(􏹊 V LST [PROC])  􏿴?

  V : any/c
  LST : 􏿴?
  PROC : 程? = 同?
􏹊 : +
ideograph

🐘 􏹊~ 􏹊^

Example:
> (􏹊 'c '(a b c d e c f))

'(a b d e f)

procedure

(􏷍? LST1 LST2)  boolean?

  LST1 : 􏿴?
  LST2 : 􏿴?
LST1 is a subset of LST2 or not.
􏷍 : + 􏿴
ideograph
􏷍? : 􏷍 + ?SFX
ideograph

Examples:
> (􏷍? '(a b) '(a b c d e f g))

#t

> (􏷍? '(a e) '(a b c d e f g))

#t

> (􏷍? '(a z) '(a b c d e f g))

#f

procedure

(􏿳 V ...)  􏿳?

  V : any?
􏿳 : + 􏿴
ideograph

  connotation : association list

🐘 􏿰

Examples:
> (􏿳 1 2 3 4 1 5)

'((1 . 2) (3 . 4) (1 . 5))

> (􏿳)

'()

> (􏿳 1)

'()

> (􏿳 1 2 3)

'((1 . 2))

procedure

(􏿳? V)  boolean?

  V : any?
􏿳? : 􏿳 + ?SFX
ideograph
V is 􏿳 or not. V is a 􏿴? of 双? or not. Which dictates this form: '((any . any) ...).

Examples:
> (􏿳? '(1 2 3 4))

#f

> (􏿳? (􏿳 1 2 3 4))

#t

> (􏿳? '((1 . 2) (3 . 4)))

#t

> (􏿳? '((1 2) (3 4)))

#t

> (􏿳? '((1 (2)) (3 (4))))

#t

procedure

(􏴳? V)  boolean?

  V : any?
􏴳? : 􏴳 + ?SFX
ideograph
􏴳 : 􏿴 + 􏿴
ideograph
V is a 􏿴? of 􏿴?s or not. Which dictates this form: '((any ...) ...).

Examples:
> (􏴳? '(1 2 3 4))

#f

> (􏴳? (􏿳 1 2 3 4))

#f

> (􏴳? '((1 . 2) (3 . 4)))

#f

> (􏴳? '((1 2) (3 4)))

#t

> (􏴳? '((1 (2)) (3 (4))))

#t

procedure

(􏴷? V)  boolean?

  V : any?
􏴷? : 􏿴 + + ?SFX
ideograph
V is a 􏿴? of 句?s or not. Which dictates this form: '(str1 ...).

Examples:
> (􏴷? '(1 2 3 4))

#f

> (􏴷? '("a" "b" "c" "d"))

#t

procedure

(􏴶? V)  boolean?

  V : any?
􏴶? : 􏿴 + 􏷂 + ?SFX
ideograph
V is a 􏿴? of 句?s or not. Which dictates this form: '(sym1 ...).

Examples:
> (􏴶? '(1 2 3 4))

#f

> (􏴶? '(a b c d))

#t

procedure

(􏴵? V)  boolean?

  V : any?
􏴵? : 􏿴 + 􏶿 + ?SFX
ideograph
V is a 􏿴? of 􏶿?s or not. Which dictates this form: '(kw1 ...).

Examples:
> (􏴵? '(1 2 3 4))

#f

> (􏴵? '(#:a #:b #:c #:d))

#t

procedure

(􏴴? V)  boolean?

  V : any?
􏴴? : 􏿴 + 􏶃 + ?SFX
ideograph
V is a 􏿴? of 􏶃?s or not. Which dictates this form: '(char1 ...).

Examples:
> (􏴴? '(1 2 3 4))

#f

> (􏴴? '(#\a #\b #\c #\d))

#t

procedure

(􏴲? V)  boolean?

  V : any?
􏴲? : 􏿴 + 􏿰 + ?SFX
ideograph
V is a 􏿴? of 􏿰?s or not. Which dictates this form: '(hash1 ...).

Examples:
> (􏴲? '(1 2 3 4))

#f

> (􏴲? '(#hash((a . b)) #hash((c . d) (e . f))))

#t

procedure

(􏺈 ALST)  􏿴?

  ALST : 􏿳?

procedure

(􏺇 ALST)  􏿴?

  ALST : 􏿳?
􏺈 
ideographs
􏺇 
ideographs

   : / +
Same as:

Examples:
> (􏺈 '((1 . 2) (3 . 4)))

'(1 3)

> (􏺇 '((1 . 2) (3 . 4)))

'(2 4)