Movatterモバイル変換


[0]ホーム

URL:


hjsonschema-1.8.0: JSON Schema library

Safe HaskellNone
LanguageHaskell2010

JSONSchema.Validator.Utils

Contents

Synopsis

QuickCheck

arbitraryText ::GenTextSource#

arbitraryScientific ::GenScientificSource#

arbitraryPositiveScientific ::GenScientificSource#

newtypeArbitraryValueSource#

Constructors

ArbitraryValue 

Instances

EqArbitraryValueSource# 
ShowArbitraryValueSource# 
ArbitraryArbitraryValueSource# 

arbitraryHashMap ::Arbitrary a =>Gen (HashMapText a)Source#

arbitrarySetOfText ::Gen (SetText)Source#

newtypeNonEmpty' aSource#

Constructors

NonEmpty' 

Instances

Arbitrary a =>Arbitrary (NonEmpty' a)Source# 
ToJSON a =>ToJSON (NonEmpty' a)Source# 
FromJSON a =>FromJSON (NonEmpty' a)Source# 

allUniqueValues

allUniqueValues :: (Foldable f,Functor f) => fValue ->BoolSource#

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

newtypeOrdValueSource#

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

Constructors

OrdValue 

Fields

Instances

EqOrdValueSource# 
OrdOrdValueSource# 

Produced byHaddock version 2.18.1


[8]ページ先頭

©2009-2025 Movatter.jp