| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Howl.Builtins
Description
The standard builtin definitions and initialization helpers.
This module embeds the standard Wolfram-language prelude, installs
the standard builtin rules into a context, and provides convenience
functions for running Eval computations with those builtins
loaded.
Synopsis
- preludeWL :: Text
- addBuiltins :: Eval ()
- newContextWithBuiltins :: IO Context
- runEval :: Eval a -> IO a
Documentation
addBuiltins :: Eval () #
Add the standard builtins and prelude definitions to the current context.
newContextWithBuiltins :: IO Context #
Create a new context initialized with the standard builtins.