From 05c946fbccb24846a1008e073ea2fc76ed892f09 Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 4 Apr 2018 19:11:00 +0000 Subject: [PATCH] Clean up documentation --- src/TaskMachine/DateExpr.hs | 5 ++++- src/TaskMachine/Deadline.hs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/TaskMachine/DateExpr.hs b/src/TaskMachine/DateExpr.hs index a2e3926..ae9aed3 100644 --- a/src/TaskMachine/DateExpr.hs +++ b/src/TaskMachine/DateExpr.hs @@ -10,12 +10,15 @@ -- 'Nothing' into 'False'. module TaskMachine.DateExpr - ( BoolExpr + ( + -- * Boolean expressions + BoolExpr , parseBoolExpr , evalBoolExpr , evalBoolExpr' , findNext , findWithin + -- * Integer expressions , IntExpr , parseIntExpr , evalIntExpr diff --git a/src/TaskMachine/Deadline.hs b/src/TaskMachine/Deadline.hs index b6190e8..cbe31df 100644 --- a/src/TaskMachine/Deadline.hs +++ b/src/TaskMachine/Deadline.hs @@ -33,7 +33,7 @@ data Deadline | DExpression TM.BoolExpr Duration -- | Find the next date of the 'Deadline' that's important for a certain day. --- This returns a 'Just' when the day lies within the duration specified. +-- This returns a @Just@ when the day lies within the duration specified. -- -- If no duration is specified in a 'DFixed' deadline, all days before the deadline, -- including the deadline itself, are important (i. e. the duration is infinite).