| Copyright | (c) Leon Vatthauer 2026 |
|---|---|
| License | GPL-3 |
| Maintainer | Leon Vatthauer <leon.vatthauer@fau.de> |
| Stability | experimental |
| Portability | non-portable (ghc-wasm-meta) |
| Safe Haskell | None |
| Language | GHC2024 |
App.Entry
Contents
Description
Running the App
startAppWrapper :: DOMRef -> Model -> IO () Source #
Starts the Miso application for the given window DOMRef and
initial Model.
Registers the browser event listeners (drag, keyboard, mouse,
touch and default events), mounts the application with the Setup action,
and adds the PopState URI subscription together with the keyboard
subscription onKeyDownSub.
Application entry point.
- Reads the current
URI. - Inspects the
?logic=query parameter:
prop— initializes propositional logic viainitialModelProp.fol— initializes first-order logic viainitialModelFOL.- defaults to
fol. 3. If a?proof=query parameter is present, decodes it withdecodeFromUrland uses it as the initialProof; otherwise the default example proof for the selected logic is shown. 4. Then starts the Miso application usingstartAppWrapper.