diff --git a/src/GenericParser/DomainParser/Common.purs b/src/GenericParser/DomainParser/Common.purs index 4bac593..8f008f5 100644 --- a/src/GenericParser/DomainParser/Common.purs +++ b/src/GenericParser/DomainParser/Common.purs @@ -1,18 +1,13 @@ -- | `GenericParser.DomainParser.Common` regroups all functions and types that are common between the different domain parsers. module GenericParser.DomainParser.Common where -import Prelude import Control.Alt ((<|>)) -import Control.Lazy (defer) -import Data.Array as A -import Data.Either (Either(..)) -import Data.Maybe (Maybe(..), maybe) +import Data.Maybe (Maybe(..)) import Data.String as S -import Data.String.CodeUnits as CU import GenericParser.Parser (Parser(..) , success, failureError - , alphanum, char, many1, string ) + , alphanum, char, many1) type Size = Int -- | `DomainError` expresses all possible errors that can occur while parsing a domain.