julian
01/13/2020, 7:35 PMIn aIs this use of the wordtheMonad
function takes a pure value, and wraps it in anunit
structureF
F[A]
pure
related to its use in the term pure function
? If so, how?Jannis
01/13/2020, 7:44 PMFunctor
afaik) is just map { Unit }
.Jannis
01/13/2020, 7:45 PMval IO.unit = IO { Unit }
but I don't think whatever you read refers to either of those ^^julian
01/13/2020, 7:51 PMJannis
01/13/2020, 7:52 PMunit
== return/pure
(haskell) == just
(arrow).julian
01/13/2020, 7:53 PMpure value
a number of times and I want to know if this use of the term pure
is related to the (also common) phrase pure function
.Jannis
01/13/2020, 7:54 PMjulian
01/13/2020, 7:54 PMJannis
01/13/2020, 7:55 PMjulian
01/13/2020, 7:56 PM