Last active
July 28, 2016 13:32
-
-
Save dimitarg/b5ab88437ae1e3cbfcba59452c8f6209 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package foo | |
import org.junit.Test | |
import scalaz._ | |
import Scalaz._ | |
import org.junit.Assert._ | |
import org.hamcrest.CoreMatchers.is | |
class FoldTest { | |
@Test | |
def testStd() : Unit = { | |
// import scalaz.syntax.foldable._ | |
// import scalaz.std.AllInstances._ | |
val list = List(1,2,3) | |
val res: Int = list.fold() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
does not compile, looks for fold in std TraversableOnce