summaryrefslogtreecommitdiff
path: root/examples/05-inductive-data-types
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-08-01 09:47:15 +0100
committerMichael Williamson <mike@zwobble.org>2026-08-01 09:47:15 +0100
commitb1a386ca4aab5176566a5c30f747d669a562d8fb (patch)
tree793bb38bc2901e6adabaf4f2624496f9ff53e523 /examples/05-inductive-data-types
parent6b4d2a11537282947dc71a646c168ea1343d6a52 (diff)
Use Box type instead of box keyword
Diffstat (limited to 'examples/05-inductive-data-types')
-rw-r--r--examples/05-inductive-data-types/src/arithmetic.hob2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/05-inductive-data-types/src/arithmetic.hob b/examples/05-inductive-data-types/src/arithmetic.hob
index b1ef6e5..d3b2051 100644
--- a/examples/05-inductive-data-types/src/arithmetic.hob
+++ b/examples/05-inductive-data-types/src/arithmetic.hob
@@ -1,5 +1,5 @@
sum Expression {
- variant Add box;
+ variant Box[Add];
variant Const;
}