Module Anthill.Types

type group = Group.t
type tile =
| Letter of int
| Group of group
| Dot
| Star
type tiles = tile list
type input_group =
| Fit of char list
type input_tile =
| Final of tile
| 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 =
| Anagram
| Build
| Pattern
| Multi
| Length
| Above
| Below
| One_off
| Fn of string
type bop =
| Union
| Inter
| Diff
| Op of string
type expr =
| Words of Wordset.t
| Var of string
| Fun of fn * args
| Bop of bop * expr * expr
type line =
| Tiles of string
| Expr of expr
| Assign of string * expr
| Command of fn