hjsonschema-1.8.0: JSON Schema library

Safe HaskellNone
LanguageHaskell2010

JSONSchema.Validator.Utils

Contents

Synopsis

QuickCheck

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