package bracetax

  1. Overview
  2. Docs

Utilities for printing tables without too much headache.

val nb_rows : table -> int
val make_riddle : table -> (int * int) array array
val fill_riddle : loc:Bracetax_error.location -> error:Bracetax_error.error_fun -> (int * int) array array -> int -> int -> int -> int -> unit
val next_coordinates : (int * int) array array -> table -> int -> int -> int * int

Find next false in riddle

type in_table = [
  1. | `none
  2. | `cell of cell
  3. | `filed of int * int
]
val matrix_next_coordinates : [> `none ] array array -> table -> int -> int -> int * int
val cells_to_matrix : loc:Bracetax_error.location -> error:Bracetax_error.error_fun -> table -> int * int * [> `cell of cell | `filled of int * int | `none ] array array
OCaml

Innovation. Community. Security.