rerefined-0.8.0: Refinement types, again
Safe HaskellNone
LanguageGHC2021

Rerefined.Predicate.Common.Binary

Description

Common utilities for binary combinator predicates.

Synopsis

Documentation

type PredicateNameBOp (op :: Symbol) (prec :: Natural) (d :: Natural) (l :: k) (r :: k1) = ShowParen (d > prec) ((PredicateName (prec + 1) l ++ op) ++ PredicateName (prec + 1) r) Source #

Render a binary combinator predicate with an infix operator.

The operator must include the left and right spaces.