Symbol package:constraints

Utilities for working with KnownSymbol constraints.
Concatenation of type-level symbols.
Unsafely create an SSymbol value directly from a String. Use this function with care:
  • The String value must match the Symbol s encoded in the return type SSymbol s.
  • Be wary of using this function to create multiple values of type SSymbol T, where T is a type family that does not reduce (e.g., Any from GHC.Exts). If you do, GHC is liable to optimize away one of the values and replace it with the other during a common subexpression elimination pass. If the two values have different underlying String values, this could be disastrous.