package anthill

  1. Overview
  2. Docs
type group = Group.t
type tile =
  1. | Letter of int
  2. | Group of group
  3. | Dot
  4. | Star
type tiles = tile list
type input_group =
  1. | Fit of char list
type input_tile =
  1. | Final of tile
  2. | Expand of input_group
type args = string list
val char_of_tile : tile -> char
val tile_of_char : char -> tile
exception Unsupported_feature
type fn =
  1. | Anagram
  2. | Build
  3. | Pattern
  4. | Multi
  5. | Length
  6. | Above
  7. | Below
  8. | One_off
  9. | Fn of string
type bop =
  1. | Union
  2. | Inter
  3. | Diff
  4. | Op of string
type expr =
  1. | Words of Wordset.t
  2. | Var of string
  3. | Fun of fn * args
  4. | Bop of bop * expr * expr
type line =
  1. | Tiles of string
  2. | Expr of expr
  3. | Assign of string * expr
  4. | Command of fn
OCaml

Innovation. Community. Security.