about summary refs log tree commit diff
path: root/nix/tag
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-09-09T20·20+0200
committersterni <sternenseemann@systemli.org>2021-09-10T11·08+0000
commit596344faf4c7f1cca8b1a7cd1da983270b81c530 (patch)
tree2be853a3ed1282366882590b54d6086340bf086a /nix/tag
parent318d10e60875ef69132651668a249de75730d2ba (diff)
docs(nix/tag): fix example for discrDef r/2834
Change-Id: I8b7accb399448f57ace502642bd91fcfae416f15
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3507
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'nix/tag')
-rw-r--r--nix/tag/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/tag/default.nix b/nix/tag/default.nix
index 832305368f95..766a45674933 100644
--- a/nix/tag/default.nix
+++ b/nix/tag/default.nix
@@ -43,8 +43,8 @@ let
   #   discrDef "smol" [
   #     { biggerFive = i: i > 5; }
   #     { negative = i: i < 0; }
-  #   ] -100
-  #   => { negative = 100; }
+  #   ] (-100)
+  #   => { negative = -100; }
   #   discrDef "smol" [
   #     { biggerFive = i: i > 5; }
   #     { negative = i: i < 0; }