diff options
Diffstat (limited to 'ocaml/tmp/get_jam_vectors.ml')
-rw-r--r-- | ocaml/tmp/get_jam_vectors.ml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ocaml/tmp/get_jam_vectors.ml b/ocaml/tmp/get_jam_vectors.ml new file mode 100644 index 0000000..1266f21 --- /dev/null +++ b/ocaml/tmp/get_jam_vectors.ml @@ -0,0 +1,10 @@ +(* Quick test to see what our jam produces for small numbers *) +open Nock_lib.Noun +open Nock_lib.Serial + +let () = + for i = 0 to 10 do + let n = atom i in + let jammed = jam n in + Printf.printf "%d: %s\n" i (bytes_to_hex jammed) + done |