Pattern matching - Factor Documentation
Handbook
Glossary
Pattern matching
The
match
vocabulary implements ML-style pattern matching.
Variables used for pattern matching must be explicitly defined first:
MATCH-VARS:
A basic pattern match:
match
( value1 value2 -- bindings )
A conditional form analogous to
cond
:
match-cond
( assoc -- quot )
Pattern replacement:
match-replace
( object pattern1 pattern2 -- result )
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル