Commit aa6c57b
* add test that demonstrates the issue
* remove incorrect extra-source-files entries
* rewrite DFAMin
* add test for older versions of the code
* improve comments
* fix call of `restrictKeys` for older GHC versions
* Revert "remove incorrect extra-source-files entries"
This reverts commit e0126a8.
* rename tests
* add new tests to extra-source-files
* make use of `fold`
* revert formatter changes
* improve comments, fix typos
* fix typos in tests
* Optimize 'number' by removing already assigned start states
A start state cannot belong to several equivalence classes (they are
disjoint), so we can remove already assigned start states from the
list of start states we want to assign.
* Optimize the construction of new states from old states
Since all old states in an equivalence class are equivalent, we only
need the data from one of them to construct the new state.
* Cosmetics: use OldSNum / NewSNum instead of Int; etc.
* Suggestion: Use a plain filter instead of restrictKeys
* remove `restrictKeys` in favour of filter
* use folds to avoid concat
* add `-XDeriveFunctor` to emulated workflow
---------
Co-authored-by: Andreas Abel <andreas.abel@ifi.lmu.de>
1 parent bf6f8bb commit aa6c57b
File tree
7 files changed
+323
-203
lines changed- .github/workflows
- src
- tests
7 files changed
+323
-203
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments