Pure functions for extracting values. They are pure (OptionT Id) rather than monadic (MetaM).
This is possible because Sym assumes terms are in canonical form, no whnf or
reduction is needed to recognize literals.
Pure functions for extracting values. They are pure (OptionT Id) rather than monadic (MetaM).
This is possible because Sym assumes terms are in canonical form, no whnf or
reduction is needed to recognize literals.