HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduletypst-0.5.0.3Haskell2010

Typst.Types

  • 24 types
  • 5 classes
  • 12 values
  • Packagetypst-0.5.0.3
  • Exports41
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceRegex.hs
datadata RE
#

A regular expression. Note that typst-hs does not use the same Regex engine as Typst. See issue #28.

Instances4Eq, Ord, Show, FromVal
  • Eq REDefined in typst-0.5.0.3 · Typst.Regex
  • Ord REDefined in typst-0.5.0.3 · Typst.Regex
  • Show REDefined in typst-0.5.0.3 · Typst.Regex
  • FromVal REDefined in typst-0.5.0.3 · Typst.Types
datadata Val
#

A Typst value. More documentation can be found in the Foundations chapter of the Typst reference manual. A more concise (but somewhat outdated) summary can also be found in L. Mädje "Typst: a programmable markup language for typesetting", page 32-33.

Constructors

Instances10Eq, Ord, Show, FromJSON, FromValue, Compare, …
  • Eq ValDefined in typst-0.5.0.3 · Typst.Types
  • Ord ValDefined in typst-0.5.0.3 · Typst.Types
  • Show ValDefined in typst-0.5.0.3 · Typst.Types
  • FromJSON ValDefined in typst-0.5.0.3 · Typst.Types
  • FromValue ValDefined in typst-0.5.0.3 · Typst.Types
  • Compare ValDefined in typst-0.5.0.3 · Typst.Types
  • FromVal ValDefined in typst-0.5.0.3 · Typst.Types
  • Multipliable ValDefined in typst-0.5.0.3 · Typst.Types
  • Negatable ValDefined in typst-0.5.0.3 · Typst.Types
  • Summable ValDefined in typst-0.5.0.3 · Typst.Types
classclass FromVal a where
#

Methods

Instances17FromVal, …
datadata XdgDirectory
#

Special directories for storing user-specific application data, configuration, and cache files, as specified by the XDG Base Directory Specification.

Note: On Windows, XdgData and XdgConfig usually map to the same directory.

Constructors

  • XdgData

    For data files (e.g. images). It uses the XDG_DATA_HOME environment variable. On non-Windows systems, the default is ~/.local/share. On Windows, the default is %APPDATA% (e.g. C:/Users/<user>/AppData/Roaming). Can be considered as the user-specific equivalent of /usr/share.

  • XdgConfig

    For configuration files. It uses the XDG_CONFIG_HOME environment variable. On non-Windows systems, the default is ~/.config. On Windows, the default is %APPDATA% (e.g. C:/Users/<user>/AppData/Roaming). Can be considered as the user-specific equivalent of /etc.

  • XdgCache

    For non-essential files (e.g. cache). It uses the XDG_CACHE_HOME environment variable. On non-Windows systems, the default is ~/.cache. On Windows, the default is %LOCALAPPDATA% (e.g. C:/Users/<user>/AppData/Local). Can be considered as the user-specific equivalent of /var/cache.

  • XdgState

    For data that should persist between (application) restarts, but that is not important or portable enough to the user that it should be stored in XdgData. It uses the XDG_STATE_HOME environment variable. On non-Windows sytems, the default is ~/.local/state. On Windows, the default is %LOCALAPPDATA% (e.g. C:/Users/<user>/AppData/Local).

Instances6Bounded, Enum, Eq, Ord, Read, Show
  • Bounded XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.Common
  • Enum XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.Common
  • Eq XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.Common
  • Ord XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.Common
  • Read XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.Common
  • Show XdgDirectoryDefined in directory-1.3.8.5 · System.Directory.Internal.Common
newtypenewtype Identifier
#

Constructors

Instances7Eq, Data, Ord, Show, IsString, Semigroup, …
datadata Attempt a
#

Constructors

Instances7Monad, Functor, MonadFail, Applicative, Eq, Ord, …