PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/PortletReviewer/Definitions.hs

http://hdbc.googlecode.com/
Haskell | 13 lines | 8 code | 5 blank | 0 comment | 0 complexity | 039a6c620d2f65b9d5dc7c30394d9234 MD5 | raw file
 1
 2module Definitions where
 3
 4import Text.Regex
 5
 6type FileLines = [String]
 7
 8type LineNumber = Int
 9type ErrorMessage = String
10
11type ValidationFn = FileLines -> Bool
12type ValidationDef = (ValidationFn, ErrorMessage)
13type ErrorDef = (Regex, Regex, ErrorMessage)