lambdabot-4.1: Main.hs
--
-- | Let's go lambdabot!
--
module Main where
import LMain
import Modules (modulesInfo)
import Lambdabot
import Data.Maybe
-- do argument handling
main :: IO ()
main = main' Nothing modulesInfo
-- special online target for ghci use
online :: [String] -> IO ()
online strs = runIrc strs (fst modulesInfo) ld pl
where
ld = fromMaybe (error "no dynamic loading") Nothing
pl = []