Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Cmd.Repl.Fast

Description

The full haskell interpretation loads a whole bunch of modules and can be slow. Shortcut a few common commands so they happen quickly.

Synopsis

Documentation

fast_interpret :: String -> Maybe (Cmd.CmdT IO ReplProtocol.CmdResult) Source #

interpret loads a whole bunch of modules and can be slow. Shortcut a few common commands so they happen quickly.

val :: Read a => String -> Maybe a Source #

lex_fancy :: String -> [(String, String)] Source #

A version of lex that understands qualified names.

It also lexes parenthesized text as a single token, but it doesn't count open parens so it doesn't work for nested ones. TODO count parens, or come up with a better way to parse haskell