singleraeh-0.4.0: raehik's singletons
Safe HaskellSafe-Inferred
LanguageGHC2021

Singleraeh.Symbol

Synopsis

Documentation

type family ReconsSymbol msym where ... Source #

Re-construct the output from UnconsSymbol.

Equations

ReconsSymbol (Just '(ch, sym)) = ConsSymbol ch sym 
ReconsSymbol Nothing = "" 

type family RevCharsToSymbol' sym chs where ... Source #

Equations

RevCharsToSymbol' sym (ch : chs) = RevCharsToSymbol' (ConsSymbol ch sym) chs 
RevCharsToSymbol' sym '[] = sym