Monaden & Co. Funktionale Konzepte in Scala - Lars Hupel
Monaden & Co. Funktionale Konzepte in Scala - Lars Hupel
Monaden & Co. Funktionale Konzepte in Scala - Lars Hupel
Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.
YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.
<strong>Scala</strong>z – FunctorsnnnIntuition: "<strong>Co</strong>nta<strong>in</strong>er, der Elemente enthält"OperationennAbbildung der Elemente vom Typ A auf Typ BBed<strong>in</strong>gungennnIdentitäta == fmap(identity, a)Kompositionfmap(f compose g, a) == fmap(f, fmap(g, a))<strong>Monaden</strong> & <strong>Co</strong>. – <strong>Lars</strong> <strong>Hupel</strong> <strong>Co</strong>pyright © 2011 MATHEMA Software GmbH 23