Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

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