fix thinko for the second time
It's almost like this part of haskell syntax is not very good..
This commit is contained in:
parent
197b1510fa
commit
de552bd469
1 changed files with 5 additions and 5 deletions
|
@ -33,11 +33,11 @@ dayMetaField :: MetaField
|
|||
dayMetaField = mkMetaFieldUnchecked "day"
|
||||
|
||||
isDateMetaField :: MetaField -> Bool
|
||||
isDateMetaField f = case f of
|
||||
yearMetaField -> True
|
||||
monthMetaField -> True
|
||||
dayMetaField -> True
|
||||
_ -> False
|
||||
isDateMetaField f
|
||||
| f == yearMetaField = True
|
||||
| f == monthMetaField = True
|
||||
| f == dayMetaField = True
|
||||
| otherwise = False
|
||||
|
||||
lastChangedField :: MetaField
|
||||
lastChangedField = mkMetaFieldUnchecked lastchanged
|
||||
|
|
Loading…
Reference in a new issue