Keywords
Reserved words and their spelling in each language.
| English | 中文 | 日本語 | 한국어 | ไทย | Description |
|---|---|---|---|---|---|
bind | 令 | 束縛 | 바인드 | ผูก | Bind a value or function to a name. |
do | 执 | 実行 | 실행 | ทำ | Block expression do { … }. |
fn | 函 | 関数 | 함수 | ฟังก์ชัน | Function type / lambda. |
mod | 核 | モジュール | 모듈 | โมดูล | Declare a module. |
type | 符 | 型 | 타입 | ชนิด | Declare a type. |
if | 若 | もし | 만약 | ถ้า | Conditional branch. |
else | 否 | 他 | 아니면 | มิฉะนั้น | Alternative branch. |
while | 循 | 間 | 동안 | ขณะที่ | Loop while a condition holds. |
for | 历 | 繰 | 반복 | สำหรับ | Iterate over a range or collection. |
in | 于 | の中 | 안에 | ใน | Iteration source: for x in 0..10. |
match | 配 | 一致 | 매치 | ตรงกับ | Pattern match. |
return | 归 | 戻る | 반환 | คืนค่า | Return a value from a function. |
own | 独 | 所有 | 소유 | เป็นเจ้าของ | Ownership: take ownership. |
lend | 借 | 貸す | 빌려 | ให้ยืม | Ownership: borrow immutably. |
share | 共 | 共有 | 공유 | แบ่งปัน | Ownership: shared reference. |
move | 移 | 移動 | 이동 | ย้าย | Ownership: move value. |
copy | 复 | 複製 | 복사 | คัดลอก | Ownership: copy value. |
async | 异 | 非同期 | 비동기 | อะซิงค์ | Mark a function/block asynchronous. |
wait | 待 | 待つ | 기다려 | รอ | Await an async value. |
as | 为 | として | 로서 | เป็น | Type cast / alias. |
where | where | where | where | where | Constraint clause. |
post | 出 | 投稿 | 게시 | ส่ง | Return a value (idiomatic return). |
give | 予 | 渡す | 전달 | ให้ | Yield / return a value. |
fit | fit | fit | fit | จับคู่ | Pattern / refinement. |
form | 形 | 形 | 형태 | รูปแบบ | Construct a form / struct. |
choose | 选 | 選ぶ | 선택 | เลือก | Enum / selection construct. |
can | 能 | できる | 가능 | สามารถ | Capability / permission. |
change | 变 | 変える | 변경 | เปลี่ยนแปลง | Mutate a binding. |
stop | 止 | 停止 | 멈춤 | หยุด | Break out of the loop. |
again | 继 | 続ける | 계속 | ทำอีก | Continue the loop. |
try | 试 | 試す | 시도 | ลอง | Fallible expression. |
sure | 确 | 確か | 확실 | แน่นอน | Assert success. |
maybe | 或 | 多分 | 아마도 | อาจจะ | Optional value. |
pure | 纯 | 純粋 | 순수 | บริสุทธิ์ | Mark as pure (no side effects). |
spawn | 启 | 起動 | 생성 | สร้าง | Spawn a concurrent task. |
ok | 可 | 良い | 좋아 | ตกลง | Success result. |
bad | 误 | 悪い | 나쁨 | ผิดพลาด | Error result. |
none | 无 | なし | 없음 | ไม่มี | Absent value. |
start | 始 | 開始 | 시작 | เริ่ม | Program entry point: bind start = do { … }. |
result | 果 | 結果 | 결과 | ผลลัพธ์ | Result value. |