HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduletexmath-0.12.8.9Haskell2010

Text.TeXMath.Unicode.ToUnicode

Function for replacing strings of characters with their respective mathvariant and vice versa.

  • 4 values
  • Packagetexmath-0.12.8.9
  • Exports4
  • LanguageHaskell2010
  • LicenceGPL-2.0-only
  • SourceToUnicode.hs
valuetoUnicode :: TextType -> Text -> Text
#

Replace characters with their corresponding mathvariant unicode character. MathML has a mathvariant attribute which is unimplemented in Firefox (see here) Therefore, we may want to translate mathscr, etc to unicode symbols directly.