Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

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