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.
モナドの概念を理解することは、高度な関数型プログラミングにとって非常に重要である。