|
Scala example source code file (TheseTTest.scala)
The TheseTTest.scala Scala example source codepackage scalaz import scalaz.scalacheck.ScalazProperties._ import scalaz.scalacheck.ScalazArbitrary._ import std.AllInstances._ object TheseTTest extends SpecLite { type TheseTList[A, B] = TheseT[List, A, B] type TheseTListInt[A] = TheseT[List, Int, A] type TheseTOptionInt[A] = TheseT[Option, Int, A] checkAll(equal.laws[TheseTListInt[Int]]) checkAll(semigroup.laws[TheseTListInt[Int]]) checkAll(monad.laws[TheseTListInt]) checkAll(traverse.laws[TheseTListInt]) checkAll(bitraverse.laws[TheseTList]) } Other Scala examples (source code examples)Here is a short list of links related to this Scala TheseTTest.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.