Racket Libraries
5.1 
5.2 双 and 􏿴
5.3 􏻿
5.4 􏿰
5.5 
5.6 􏷂
5.7 􏶿
5.8 􏷁
5.9 
5.10 􏺃
5.11 Conditionals
5.12 
5.13 
5.14 未分类
On this page:
5.3.1 Naming Rules
5.3.2 􏻿 􏻽 􏻼, 􏻿? 􏻽? 􏻼?, 􏻸?
5.3.3 􏻺 􏻻 􏻹
5.3.4 􏻿巨, 􏻿弔, 􏻿𠆯 􏻿􏽒
5.3.5 􏻼化, 􏻿化􏿴 􏿴化􏻿 􏻿􏾝化並
5.3.6 􏻿􏾺 􏻿􏷵 􏻿􏸄 􏻿􏾝
5.3.7 􏻿弓, 􏻿􏷑 􏻿􏷉, 􏻿􏹈 􏻿􏹇
5.3.8 􏻿􏾩 􏻿𢪛, 􏻺𰅡, 􏻿𢪛/  以􏾝
5.3.9 ming/  racket/  base
􏻿
􏻿?
􏻺
􏻼
􏻿巨
􏻿弔
􏻿􏾩
􏻿化􏿴
􏿴化􏻿
􏻼化
􏻺𰅡
􏻿𢪛/  以􏾝
􏻿􏾝化並
􏻻
5.3.10 ming/  racket/  vector
􏻸?
􏻿𢪛
􏻿􏷑
􏻿􏷉
􏻹
􏻿􏾺
􏻿𨚞
􏻿􏷵
􏻿􏷴
􏻿􏸄
􏻿􏸃
􏻿􏾝
􏻿􏹈
􏻿􏹇
􏻿􏹈巨
􏻿􏷑􏺗
􏻿􏷑􏺘
􏻿弓
􏻿弓/  􏾗
􏻿弓/  􏾃
􏻿𠆯
􏻿􏽒
8.15

5.3 􏻿🔗

Originates from Vectors and Extends to 􏻿.

5.3.1 Naming Rules🔗

To extend Naming Rules, specifically there are:

Character

Connotation

Elucidation

Example

 as component

direct modification

directly modify the orignal data and return void

􏻿􏾩 􏻿􏽒 􏻿􏷉

Phrase

prefixed with 􏻿

􏻿 as input

implies the type of input data is 􏻿

􏻿巨 􏻿弔 􏻿𠆯

suffixed with 

minor type convertion

implies slightly convert the type of input data, i.e. from mutable to immutable.

􏻼化

inserted with 

type convertion

implies convert the type of input data, i.e. from 􏻿 to 􏿴.

􏻿化􏿴 􏿴化􏻿

5.3.2 􏻿 􏻽 􏻼, 􏻿? 􏻽? 􏻼?, 􏻸?🔗


􏻿: : originally means arrow, stands for vector in Ming. , originally means ten, stands for fixed length in Ming. .
ideograph
􏻽: 𭕄: is the horizontal way to write , which is simplified from , originally means water, stands for mutable(水?) in Ming.
ideograph
􏻼: : originally means mountain, stands for immutable(山?) in Ming.
ideograph
􏻸: .
ideograph

Examples:
> (􏻽 1 2 3 4)

'#(1 2 3 4)

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

#t

> (􏻼 1 2 3 4)

'#(1 2 3 4)

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

#t

> (􏻽? (􏻿 1 2 3 4))

#t

> (􏻼? '#(1 2 3 4))

#t

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

#t

> (􏻿? (􏻽 1 2 3 4))

#t

> (􏻿? (􏻼 1 2 3 4))

#t

> (􏻸? (􏻿))

#t

> (􏻸? #())

#t

5.3.3 􏻺 􏻻 􏻹🔗

🐘 􏼓 􏼎 􏿝

Examples:
> (􏻺 5 'foo)

'#(foo foo foo foo foo)

> (􏻻 5 􏽊)

'#(1 2 3 4 5)

> (􏻹 '#(1) '#(2) '#(3) '#(4))

'#(1 2 3 4)

5.3.4 􏻿巨, 􏻿弔, 􏻿𠆯 􏻿􏽒🔗

🐘  𠆯

Examples:
> (􏻿巨 '#(1 2 3 4))

4

> (􏻿弔 '#(a b c d) 2)

'c

> (􏻿𠆯 '#(1 222 35 4) <)

'#(1 4 35 222)

> (􏻿􏽒 (􏻿 1 222 35 4) <)

5.3.5 􏻼化, 􏻿化􏿴 􏿴化􏻿 􏻿􏾝化並🔗

🐘 􏻼 􏻿􏾝

Examples:
> (􏻼化 '#(a b c d))

'#(a b c d)

> (􏿴化􏻿 '(a b c d))

'#(a b c d)

> (􏻿化􏿴 '#(a b c d))

'(a b c d)

> (􏻿􏾝化並 '#(a b c d) 0 2)

'a

'b

5.3.6 􏻿􏾺 􏻿􏷵 􏻿􏸄 􏻿􏾝🔗

🐘 􏾺 􏸄 􏾝

Examples:
> (􏻿􏾺 '#(a b c d e f) 2)

'#(a b)

> (􏻿􏷵 '#(a b c d e f) 2)

'#(c d e f)

> (􏻿􏸄 '#(a b c d e f) 2)

'#(a b)

'#(c d e f)

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

'#(a b)

5.3.7 􏻿弓, 􏻿􏷑 􏻿􏷉, 􏻿􏹈 􏻿􏹇🔗

🐘  􏷑 􏹇

Examples:
> (􏻿弓 'c '#(a b 1 c 2 d 3 e))

3

> (􏻿􏷑 􏽊 '#(1 2 3 4))

'#(2 3 4 5)

> (􏻿􏹈 􏻛? '#(1 2 -3 4))

'#(1 2 4)

> (􏻿􏹇 􏻛? '#(1 2 -3 4))

'#(-3)

> ( vec (􏻿 1 2 3 4))
> (􏻿􏷉 􏽊 vec)

'#(2 3 4 5)

> vec

'#(2 3 4 5)

5.3.8 􏻿􏾩 􏻿𢪛, 􏻺𰅡, 􏻿𢪛/以􏾝🔗

🐘 􏾝

🐘 􏻿􏾝

Examples:
> ( vec (􏻿 'a 'b 'c 'd))
> vec

'#(a b c d)

> (􏻿􏾩 vec 1 'x)
> vec

'#(a x c d)

> (􏻿𢪛 vec 1 'h 2 'i 3 'j)
> vec

'#(a h i j)

> (􏻺𰅡 vec 'z)
> vec

'#(z z z z)

> (􏻿𢪛/以􏾝 vec 0 '#(aa bb cc dd) 1 3)
> vec

'#(bb cc z z)

5.3.9 ming/racket/base🔗

word

􏻿 :  +  = vector

word

􏻿? : 􏻿 + ? = vector?

word

􏻺 :  + 􏻿 = make-vector

word

􏻼 :  + 􏻿 = vector-immutable

word

􏻿巨 : 􏻿 +  = vector-length

word

􏻿弔 : 􏻿 +  = vector-ref

word

􏻿􏾩 : 􏻿 + 􏾩 = vector-set!

word

􏻿化􏿴 : 􏻿 + + 􏿴 = vector->list

word

􏿴化􏻿 : 􏿴 + + 􏻿 = list->vector

word

􏻼化 : 􏻼 +  = vector->immutable-vector

word

􏻺𰅡 : 􏻺 + 𰅡 = vector-fill!

word

􏻿𢪛/以􏾝 : 􏻿𢪛 + / + 以􏾝 = vector-copy!

word

􏻿􏾝化並 : 􏻿􏾝 + +  = vector->values

word

􏻻 :  + 􏻿 = build-vector

5.3.10 ming/racket/vector🔗