From: Michael Orlitzky Date: Sun, 1 Jun 2014 04:13:08 +0000 (-0400) Subject: Add a .ghci file useful for debugging. X-Git-Tag: 0.0.6~251 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=544048a56449348167a5a0c2c339de03c1e2abc2;p=dead%2Fhtsn-import.git Add a .ghci file useful for debugging. --- diff --git a/.ghci b/.ghci new file mode 100644 index 0000000..6e01777 --- /dev/null +++ b/.ghci @@ -0,0 +1,61 @@ +-- Set the include path. +:set -isrc -idist/build/autogen + +-- Load stuff. +:{ +:load src/Backend.hs + src/CommandLine.hs + src/Configuration.hs + src/ConnectionString.hs + src/ExitCodes.hs + src/OptionalConfiguration.hs + src/TSN/Codegen.hs + src/TSN/Database.hs + src/TSN/DbImport.hs + src/TSN/Parse.hs + src/TSN/Picklers.hs + src/TSN/XmlImport.hs + src/TSN/XML/AutoRacingSchedule.hs + src/TSN/XML/GameInfo.hs + src/TSN/XML/Heartbeat.hs + src/TSN/XML/Injuries.hs + src/TSN/XML/InjuriesDetail.hs + src/TSN/XML/News.hs + src/TSN/XML/Odds.hs + src/TSN/XML/Scores.hs + src/TSN/XML/SportInfo.hs + src/TSN/XML/Weather.hs + src/Xml.hs +:} + +import Backend +import CommandLine +import Configuration +import ConnectionString +import ExitCodes +import OptionalConfiguration +import TSN.Codegen +import TSN.Database +import TSN.DbImport +import TSN.Parse +import TSN.Picklers +import TSN.XmlImport +import TSN.XML.AutoRacingSchedule +import TSN.XML.GameInfo +import TSN.XML.Heartbeat +import TSN.XML.Injuries +import TSN.XML.InjuriesDetail +import TSN.XML.News +import TSN.XML.Odds +import TSN.XML.Scores +import TSN.XML.SportInfo +import TSN.XML.Weather +import Xml + +-- And import the stuff from HXT we need for debugging. +import Text.XML.HXT.Arrow.Pickle +import Text.XML.HXT.Arrow.ReadDocument +import Text.XML.HXT.Core + +-- Use a calmer prompt. +:set prompt "htsn-import> "