Mercurial > hg > Members > kono > Proof > automaton
comparison automaton-in-agda/src/regex.agda @ 183:3fa72793620b
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 13 Jun 2021 20:45:17 +0900 |
parents | automaton-in-agda/src/agda/regex.agda@567754463810 |
children | a5c874396cc4 |
comparison
equal
deleted
inserted
replaced
182:567754463810 | 183:3fa72793620b |
---|---|
1 module regex where | |
2 | |
3 data Regex ( Σ : Set) : Set where | |
4 ε : Regex Σ -- empty | |
5 φ : Regex Σ -- fail | |
6 _* : Regex Σ → Regex Σ | |
7 _&_ : Regex Σ → Regex Σ → Regex Σ | |
8 _||_ : Regex Σ → Regex Σ → Regex Σ | |
9 <_> : Σ → Regex Σ | |
10 | |
11 infixr 40 _&_ _||_ | |
12 | |
13 | |
14 |