Skip to content

Commit

Permalink
Add convenience module Text.OTL
Browse files Browse the repository at this point in the history
  • Loading branch information
samstokes committed May 2, 2011
1 parent 00e1c6e commit bf83724
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OTL/OTL.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ includes:
install-includes:
include-dirs:
hs-source-dirs: src
other-modules: Text.OTL.Parser Text.OTL.Types
other-modules: Text.OTL Text.OTL.Parser Text.OTL.Types
ghc-prof-options:
ghc-shared-options:
ghc-options:
Expand Down
3 changes: 1 addition & 2 deletions OTL/src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ module Main (
main
) where

import Text.OTL.Parser
import Text.OTL.Types
import Text.OTL

import Text.Blaze.Html5 (docTypeHtml, (!))
import qualified Text.Blaze.Html5 as H
Expand Down
27 changes: 27 additions & 0 deletions OTL/src/Text/OTL.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----------------------------------------------------------------------------
--
-- Module : Text.OTL
-- Copyright :
-- License : AllRightsReserved
--
-- Maintainer :
-- Stability :
-- Portability :
--
-- |
--
-----------------------------------------------------------------------------

module Text.OTL (
parser
, parse
, Outline(..)
, Item(..)
, ItemContent(..)
, TableRow(..)
) where



import Text.OTL.Parser
import Text.OTL.Types

0 comments on commit bf83724

Please sign in to comment.