Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

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