|
Scala example source code file (LazyTupleTest.scala)
The LazyTupleTest.scala Scala example source codepackage scalaz import std.AllInstances._ import scalaz.scalacheck.ScalazProperties._ import scalaz.scalacheck.ScalazArbitrary._ object LazyTupleTest extends SpecLite { type A = Int type B = Int type C = Int type D = Int checkAll("LazyTuple2", bitraverse.laws[LazyTuple2]) checkAll("LazyTuple2", order.laws[LazyTuple2[A, B]]) checkAll("LazyTuple3", order.laws[LazyTuple3[A, B, C]]) checkAll("LazyTuple4", order.laws[LazyTuple4[A, B, C, D]]) checkAll("LazyTuple2", monoid.laws[LazyTuple2[A, B]]) checkAll("LazyTuple3", monoid.laws[LazyTuple3[A, B, C]]) checkAll("LazyTuple4", monoid.laws[LazyTuple4[A, B, C, D]]) checkAll("LazyTuple2", monad.laws[LazyTuple2[B, ?]]) checkAll("LazyTuple3", monad.laws[LazyTuple3[B, C, ?]]) checkAll("LazyTuple4", monad.laws[LazyTuple4[B, C, D, ?]]) checkAll("LazyTuple2", associative.laws[LazyTuple2]) } Other Scala examples (source code examples)Here is a short list of links related to this Scala LazyTupleTest.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.