constraints-0.13.4: Constraint manipulation
Safe Haskell None
Language Haskell2010

Data.Constraint.Symbol

Description

Utilities for working with KnownSymbol constraints.

This module is only available on GHC 8.0 or later.

Synopsis

Documentation

type family AppendSymbol (a :: Symbol ) (b :: Symbol ) :: Symbol where ... Source #

Concatenation of type-level symbols.

Since: base-4.10.0.0

type (++) (m :: Symbol ) (n :: Symbol ) = AppendSymbol m n infixr 5 Source #

An infix synonym for AppendSymbol .

type family Take :: Nat -> Symbol -> Symbol where ... Source #

type family Drop :: Nat -> Symbol -> Symbol where ... Source #

type family Length :: Symbol -> Nat where ... Source #

take0 :: forall a. Dict ( Take 0 a ~ "") Source #

drop0 :: forall a. Dict ( Drop 0 a ~ a) Source #

dropDrop :: forall n m a. Dict ( Drop n ( Drop m a) ~ Drop (n + m) a) Source #