8.16
5.11 Conditionals
5.11.1 丫,、
🐘
imagine a data flow that is importing in, and there are two paths it can be exported out.
for the data flow case of 丫, imagine 一 as a barrier which has blocked one direction of the export paths, thus the other export path is extended.
( a b1 ...) is short for ( (非 a) b1 ...).
Examples:
5.11.2 并、戈
simplified from 𠀤 in ancient chinese, means merge two or more than two objects as one, stands for and in Ming.
simplified from 或, which means or in modern chinese.
5.11.3 当、肖,夬
夬
connotation : else
originates from : 缺
originally means : broken, unfilled position, absent
simplified from 缺/决 in ancient chinese, means absent/burst, stands for when no conditions or cases take effect in Ming. .
Imagine that the data flow is importing in, lots of conditions and cases are implemented as export paths, 夬 is a breaking point for data to export when no valid conditions and cases are effective.
ideograph
connotation : else
originates from : 缺
originally means : broken, unfilled position, absent
Examples:
> (当 [(? 0) (displayln "positive number")] [(? 0) (displayln "negative number")] [夬 (displayln "neither positive or negative number")]) neither positive or negative number
> (肖 (+ 1 1) [(1) (displayln "result is 1")] [(2) (displayln "result is 2")] [夬 (displayln "result is neither 1 or 2")]) result is 2
5.11.4 非
🐘 𥟍
5.11.5 References
(require ming/racket/base) | package: ming |