A refinement type, which wraps a value of type x.
Instances13Lift, Foldable, Eq, Ord, Read, Show, …
Lift x => Lift (Refined p x)Defined in refined-0.8.2 · Refined.Unsafe.TypeFoldable (Refined p)Defined in refined-0.8.2 · Refined.Unsafe.TypeEq x => Eq (Refined p x)Defined in refined-0.8.2 · Refined.Unsafe.TypeOrd x => Ord (Refined p x)Defined in refined-0.8.2 · Refined.Unsafe.Type(Read x, Predicate p x) => Read (Refined p x)Defined in refined-0.8.2 · Refined · orphanThis instance makes sure to check the refinement.
Show x => Show (Refined p x)Defined in refined-0.8.2 · Refined.Unsafe.TypeNFData x => NFData (Refined p x)Defined in refined-0.8.2 · Refined.Unsafe.Type(Arbitrary a, Typeable a, Typeable p, Predicate p a) => Arbitrary (Refined p a)Defined in refined-0.8.2 · Refined · orphanHashable x => Hashable (Refined p x)Defined in refined-0.8.2 · Refined.Unsafe.Type(FromJSON a, Predicate p a) => FromJSON (Refined p a)Defined in refined-0.8.2 · Refined · orphan(FromJSONKey a, Predicate p a) => FromJSONKey (Refined p a)Defined in refined-0.8.2 · Refined · orphan(ToJSON a, Predicate p a) => ToJSON (Refined p a)Defined in refined-0.8.2 · Refined · orphan(ToJSONKey a, Predicate p a) => ToJSONKey (Refined p a)Defined in refined-0.8.2 · Refined · orphan