/PortletReviewer/Definitions.hs
http://hdbc.googlecode.com/ · Haskell · 13 lines · 8 code · 5 blank · 0 comment · 0 complexity · 039a6c620d2f65b9d5dc7c30394d9234 MD5 · raw file
- module Definitions where
-
- import Text.Regex
-
- type FileLines = [String]
-
- type LineNumber = Int
- type ErrorMessage = String
-
- type ValidationFn = FileLines -> Bool
- type ValidationDef = (ValidationFn, ErrorMessage)
- type ErrorDef = (Regex, Regex, ErrorMessage)