aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEstevan Castilho <tevo@riajuu.net>2026-05-23 00:23:12 +0000
committerEstevan Castilho <tevo@riajuu.net>2026-05-23 00:23:12 +0000
commit2190193397596663c4de4f51f8355300c1833997 (patch)
treee5271e59c66e0ebac325dff3ac798a1ad628dc87 /lib
parenteafeb4955059732f2e5febe4991777df8b00d52a (diff)
downloadSakura-2190193397596663c4de4f51f8355300c1833997.tar.gz
Sakura-2190193397596663c4de4f51f8355300c1833997.zip
Migrate `Server` over
Diffstat (limited to 'lib')
-rw-r--r--lib/condition.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/condition.ml b/lib/condition.ml
index c0e4a12..67915b6 100644
--- a/lib/condition.ml
+++ b/lib/condition.ml
@@ -33,3 +33,6 @@ let to_sexp { name; properties } =
|> BatSeq.map (fun (k, v) -> List [Atom k; v#as_sexp])
|> BatList.of_seq in
List (Atom name :: properties')
+
+let to_string e = (* FIXME *)
+ Sexplib.Sexp.to_string_hum (to_sexp e)