Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- type family ShowParen b p where ...
- type ShowParenIfGt n d p = ShowParen (OrderingGT (CmpNat d n)) p
- type family OrderingGT (a :: Ordering) :: Bool where ...
- type ShowChar ch = ConsSymbol ch ""
- type (++) l r = AppendSymbol l r
- type (>) l r = OrderingGT (CmpNat l r)
Documentation
type family ShowParen b p where ... Source #
ShowParen False p = p | |
ShowParen True p = ConsSymbol '(' p `AppendSymbol` ")" |
type ShowParenIfGt n d p = ShowParen (OrderingGT (CmpNat d n)) p Source #
type family OrderingGT (a :: Ordering) :: Bool where ... Source #
OrderingGT LT = False | |
OrderingGT EQ = False | |
OrderingGT GT = True |
type ShowChar ch = ConsSymbol ch "" Source #
type (++) l r = AppendSymbol l r Source #
type (>) l r = OrderingGT (CmpNat l r) Source #