fix a warning
This commit is contained in:
		
							parent
							
								
									a761ae5b86
								
							
						
					
					
						commit
						746f22458f
					
				| @ -179,7 +179,7 @@ postingsDateSpan ps = DateSpan (Just $ postingDate $ head ps') (Just $ addDays 1 | |||||||
| 
 | 
 | ||||||
| -- --date2-sensitive version, as above. | -- --date2-sensitive version, as above. | ||||||
| postingsDateSpan' :: WhichDate -> [Posting] -> DateSpan | postingsDateSpan' :: WhichDate -> [Posting] -> DateSpan | ||||||
| postingsDateSpan' wd [] = DateSpan Nothing Nothing | postingsDateSpan' _  [] = DateSpan Nothing Nothing | ||||||
| postingsDateSpan' wd ps = DateSpan (Just $ postingdate $ head ps') (Just $ addDays 1 $ postingdate $ last ps') | postingsDateSpan' wd ps = DateSpan (Just $ postingdate $ head ps') (Just $ addDays 1 $ postingdate $ last ps') | ||||||
|     where |     where | ||||||
|       ps' = sortBy (comparing postingdate) ps |       ps' = sortBy (comparing postingdate) ps | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user