Skip to content
Snippets Groups Projects
Commit 1aff86a5 authored by Philippe Suter's avatar Philippe Suter
Browse files

No commit message

No commit message
parent 61013a01
Branches
Tags
No related merge requests found
...@@ -11,7 +11,7 @@ object Specs { ...@@ -11,7 +11,7 @@ object Specs {
class generator extends StaticAnnotation class generator extends StaticAnnotation
implicit def extendedBoolean(b: Boolean) = new { implicit def extendedBoolean(b: Boolean) = new {
def ==>(p: Boolean) = Specs ==> (b,p) def ==>(p: Boolean) = (!b || p) // Specs ==> (b,p)
} }
def forAll[A](f: A => Boolean): Boolean = { def forAll[A](f: A => Boolean): Boolean = {
...@@ -22,9 +22,9 @@ object Specs { ...@@ -22,9 +22,9 @@ object Specs {
/** Implication */ /** Implication */
def ==>(ifz: => Boolean, then: Boolean): Boolean = { /* def ==>(ifz: => Boolean, then: Boolean): Boolean = {
Console.err.println("Warning: ignored implication. Are you using the funcheck plugin?") Console.err.println("Warning: ignored implication. Are you using the funcheck plugin?")
true true
//error("\"==>\" (implication) combinator is currently unsupported by plugin.") //error("\"==>\" (implication) combinator is currently unsupported by plugin.")
} }*/
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment