{-# LANGUAGE OverloadedStrings #-} module Rerefined.Predicate.Succeed where import Rerefined.Predicate.Common -- | The unit predicate. Always succeeds. data Succeed instance Predicate Succeed where type PredicateName d Succeed = "⊤" instance Refine Succeed a where validate :: Proxy# Succeed -> a -> Maybe RefineFailure validate Proxy# Succeed _ a _ = Maybe RefineFailure forall a. Maybe a Nothing