aboutsummaryrefslogtreecommitdiff
path: root/aoc2023/build/packages/gap/src/gap@comparison.erl
blob: 36bd1c35df6ef2e8041f6597e81aa45e7a409b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-module(gap@comparison).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function]).

-export_type([comparison/1, match/1]).

-type comparison(FQT) :: {list_comparison,
        list(match(list(FQT))),
        list(match(list(FQT)))} |
    {string_comparison,
        list(match(list(binary()))),
        list(match(list(binary())))}.

-type match(FQU) :: {match, FQU} | {no_match, FQU}.