summaryrefslogtreecommitdiff
path: root/2024/OCaml/lib/grid/grid.mli
diff options
context:
space:
mode:
Diffstat (limited to '2024/OCaml/lib/grid/grid.mli')
-rw-r--r--2024/OCaml/lib/grid/grid.mli6
1 files changed, 6 insertions, 0 deletions
diff --git a/2024/OCaml/lib/grid/grid.mli b/2024/OCaml/lib/grid/grid.mli
new file mode 100644
index 0000000..31c4329
--- /dev/null
+++ b/2024/OCaml/lib/grid/grid.mli
@@ -0,0 +1,6 @@
+val to_grid : string list -> int -> Cell.t option
+(** The cell in the top left corner of the grid is returned where each element
+ of [tokens] is converted into rows with [width]. An empty list of [tokens]
+ returns None. Requires: [width] is greater than 0 **)
+
+val print : Cell.t -> ()