summaryrefslogtreecommitdiff
path: root/Biz/Log.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-08-02 10:38:22 -0400
committerBen Sima <ben@bsima.me>2023-08-02 10:42:54 -0400
commitb154d6b3be99a4a9f5907c84645ca569183bb40e (patch)
treee23c313e1e83495a36159647a20c4c2ec4976707 /Biz/Log.hs
parent4cb9f2fbfbb124b38f19c72059620f25b71f92b7 (diff)
Factor out nix builder into Haskell.nix
This also fixed a bug where every dependency would get pulled into the Haskell target while searching for transitive dependencies.
Diffstat (limited to 'Biz/Log.hs')
-rw-r--r--Biz/Log.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/Log.hs b/Biz/Log.hs
index d398f4b..86db272 100644
--- a/Biz/Log.hs
+++ b/Biz/Log.hs
@@ -102,7 +102,7 @@ mark label val =
-- mark label val = val ~& label
-- @
(~&) :: Show a => a -> Text -> a
-(~&) val label = mark label val
+val ~& label = mark label val
-- | Conditional mark.
(~?) :: Show a => a -> (a -> Bool) -> Text -> a