|
Scala example source code file (Split.scala)
The Split.scala Scala example source codepackage scalaz //// /** * A [[scalaz.Compose]] (semigroupoid) permitting products. */ //// trait Split[=>:[_, _]] extends Compose[=>:] { self => //// def split[A, B, C, D](f: A =>: B, g: C =>: D): (A, C) =>: (B, D) // derived functions //// val splitSyntax = new scalaz.syntax.SplitSyntax[=>:] { def F = Split.this } } object Split { @inline def apply[F[_, _]](implicit F: Split[F]): Split[F] = F //// //// } Other Scala examples (source code examples)Here is a short list of links related to this Scala Split.scala source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.