aboutsummaryrefslogtreecommitdiffstats
path: root/lib/attribute.ml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-03-09 21:48:51 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2026-03-09 21:48:51 -0300
commitc642042536362bba0d3ee0ebf6a6c33a888a0ff5 (patch)
treee2684a2758190ab67483156876e35824fc76e708 /lib/attribute.ml
parentcce3bfba31b32c13ea116a214306d96fe1eb27eb (diff)
downloadSakura-c642042536362bba0d3ee0ebf6a6c33a888a0ff5.tar.gz
Sakura-c642042536362bba0d3ee0ebf6a6c33a888a0ff5.zip
defenestrate json
Diffstat (limited to 'lib/attribute.ml')
-rw-r--r--lib/attribute.ml7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/attribute.ml b/lib/attribute.ml
index 27214b0..f3fc0b1 100644
--- a/lib/attribute.ml
+++ b/lib/attribute.ml
@@ -1,10 +1,11 @@
-type referenced = { value_hash : Conventions.Hash.t }
+type referenced = { value_hash : Conventions.Hash.t } [@@deriving sexp_of]
-type materialized = { value: Conventions.AbstractValue.t }
+type materialized = { value: Conventions.AbstractValue.t } [@@deriving sexp_of]
-type t =
+type t =
| Referenced of referenced
| Materialized of materialized
+[@@deriving sexp_of]
let make_referenced ~value =
let value_hash = Conventions.AbstractValue.hash value in