monad
US /ˈmɑːn.æd/
UK /ˈmɑːn.æd/

名詞
1.
單子
an ultimate indivisible unit, as a simple substance or a living being
範例:
•
Leibniz's philosophy posits the universe as composed of countless monads.
萊布尼茨的哲學認為宇宙由無數的單子組成。
•
Each individual soul can be considered a unique monad.
每個獨立的靈魂都可以被視為一個獨特的單子。
2.
單子 (編程)
a structure that allows structuring computations by sequencing actions and composing functions, often used in functional programming
範例:
•
In Haskell, the IO monad is used to handle side effects.
在Haskell中,IO單子用於處理副作用。
•
Understanding the concept of a monad is crucial for advanced functional programming.
理解單子的概念對於高級函數式編程至關重要。
在 Lingoland 學習這個單詞