packages feed

JsContracts 0.5 → 0.5.1

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

JsContracts.cabal view
@@ -1,5 +1,5 @@ Name:           JsContracts-Version:        0.5+Version:        0.5.1 Cabal-Version:	>= 1.2.3 Copyright:      Copyright (c) 2008-2009 Arjun Guha and Spiridon Eliopoulos License:        BSD3
data/contracts.js view
@@ -262,7 +262,7 @@ contracts.guard = function(ctc,val,pos,neg,loc) {   if (ctc.isHigherOrder) {     if (typeof(val) != "function") {-      contracts.blame(pos, "a function", proc, "not a function","guard"); +      contracts.blame(pos, "a function", ctc, "not a function","guard");      }     else {       var deferredNeg = { value: "not called" };