From 32bbe6e16ce77814f04bfaecea3d46a433c5b421 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sat, 28 Jan 2023 20:05:26 -0500 Subject: [PATCH] ENH always show counter --- lib/Internal/Utils.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Internal/Utils.hs b/lib/Internal/Utils.hs index 6e37dd1..3873a3f 100644 --- a/lib/Internal/Utils.hs +++ b/lib/Internal/Utils.hs @@ -343,8 +343,7 @@ showMatch Match {mDate = d, mVal = v, mDesc = e, mOther = o, mTimes = n, mPriori , ("val", showMatchVal v) , ("desc", e) , ("other", others) - , -- TODO it might be best to always show this - ("counter", showT <$> n) + , ("counter", Just $ maybe "Inf" showT n) , ("priority", Just $ showT p) ] others = case o of