Monaden & Co. Funktionale Konzepte in Scala - Lars Hupel
Monaden & Co. Funktionale Konzepte in Scala - Lars Hupel
Monaden & Co. Funktionale Konzepte in Scala - Lars Hupel
Erfolgreiche ePaper selbst erstellen
Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.
Typsichere Formatierung> const("foo") :~: subs(3) :~: const("bar")res0: HLists.Formatter[HLists.H<strong>Co</strong>ns[Unit,HLists.H<strong>Co</strong>ns[Str<strong>in</strong>g,HLists.H<strong>Co</strong>ns[Unit,HLists.HNil.type]]]] = > res0(() :: "abab" :: () :: HNil)res1: Str<strong>in</strong>g = foobbar> res0(() :: 3 :: () :: HNil)error: type mismatch; …<strong>Monaden</strong> & <strong>Co</strong>. – <strong>Lars</strong> <strong>Hupel</strong> <strong>Co</strong>pyright © 2011 MATHEMA Software GmbH 56