hjsonschema-1.9.0: JSON Schema library

Safe HaskellNone
LanguageHaskell2010

JSONSchema.Validator.Utils

Contents

Synopsis

QuickCheck

newtype NonEmpty' a Source #

Constructors

NonEmpty' 

Fields

allUniqueValues

allUnique :: (Foldable f, Ord a) => f a -> Bool Source #

newtype OrdValue Source #

OrdValue's Ord instance needs benchmarking, but it allows us to use our allUnique function instead of O(n^2) nub, so it's probably worth it.

Constructors

OrdValue 

Fields