Improve code style
This commit is contained in:
parent
c96cc544e4
commit
ab6300eede
@ -33,12 +33,12 @@ parse text
|
|||||||
isValid = checkFields fields
|
isValid = checkFields fields
|
||||||
createPattern xs =
|
createPattern xs =
|
||||||
Pattern
|
Pattern
|
||||||
{ cminute = head xs
|
{ cminute = head xs
|
||||||
, chour = xs !! 1
|
, chour = xs !! 1
|
||||||
, cday = xs !! 2
|
, cday = xs !! 2
|
||||||
, cmonth = xs !! 3
|
, cmonth = xs !! 3
|
||||||
, cweek = xs !! 4
|
, cweek = xs !! 4
|
||||||
}
|
}
|
||||||
|
|
||||||
checkFields :: [Maybe Field] -> Bool
|
checkFields :: [Maybe Field] -> Bool
|
||||||
checkFields xs
|
checkFields xs
|
||||||
|
Loading…
Reference in New Issue
Block a user