hjsonschema-0.10.0.2: JSON Schema library

Safe HaskellNone
LanguageHaskell2010

Data.Validator.Utils

Contents

Synopsis

QuickCheck

newtype NonEmpty' a Source

Constructors

NonEmpty' 

Fields

_unNonEmpty' :: NonEmpty a
 

allUniqueValues

allUnique :: Ord a => [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

_unOrdValue :: Value