Safe Haskell | None |
---|---|
Language | Haskell2010 |
Utilities for working with KnownSymbol
constraints.
This module is only available on GHC 8.0 or later.
Documentation
appendSymbol :: (KnownSymbol a, KnownSymbol b) :- KnownSymbol (a ++ b) Source #
appendUnit1 :: forall a. Dict (("" ++ a) ~ a) Source #
appendUnit2 :: forall a. Dict ((a ++ "") ~ a) Source #
takeSymbol :: forall n a. (KnownNat n, KnownSymbol a) :- KnownSymbol (Take n a) Source #
dropSymbol :: forall n a. (KnownNat n, KnownSymbol a) :- KnownSymbol (Drop n a) Source #
lengthSymbol :: forall a. KnownSymbol a :- KnownNat (Length a) Source #