Safe Haskell | None |
---|---|
Language | Haskell2010 |
- Module: Reflex.Process.GHCi
- Description: Run GHCi processes in a reflex application
Synopsis
- ghci :: (Adjustable t m, MonadFix m, MonadHold t m, MonadIO (Performable m), MonadIO m, NotReady t m, PerformEvent t m, PostBuild t m, TriggerEvent t m) => CreateProcess -> Event t [Command] -> Event t () -> Event t () -> m (Repl t)
- ghciWatch :: (TriggerEvent t m, PerformEvent t m, MonadIO (Performable m), PostBuild t m, MonadIO m, MonadFix m, MonadHold t m, Adjustable t m, NotReady t m) => CreateProcess -> Maybe Command -> Event t () -> Event t () -> m (Repl t)
- module Reflex.Process.Repl
- hasErrors :: Cmd -> Bool
Documentation
:: (Adjustable t m, MonadFix m, MonadHold t m, MonadIO (Performable m), MonadIO m, NotReady t m, PerformEvent t m, PostBuild t m, TriggerEvent t m) | |
=> CreateProcess | How to run GHCi |
-> Event t [Command] | Send an expression to evaluate |
-> Event t () | Reload |
-> Event t () | Shutdown |
-> m (Repl t) |
Runs a GHCi process and reloads it whenever the provided event fires
ghciWatch :: (TriggerEvent t m, PerformEvent t m, MonadIO (Performable m), PostBuild t m, MonadIO m, MonadFix m, MonadHold t m, Adjustable t m, NotReady t m) => CreateProcess -> Maybe Command -> Event t () -> Event t () -> m (Repl t) Source #
Run a GHCi process that watches for changes to Haskell source files in the current directory and reloads if they are modified
module Reflex.Process.Repl