Skip to content

feat(machine): add TimeIndex and replace Mutation.CalledStates - #238

Merged
pancsta merged 1 commit into
mainfrom
feat/machine/add-TimeIndex-and-replace-Mutation.CalledStates
Jun 21, 2025
Merged

pancsta merged 1 commit into
mainfrom
feat/machine/add-TimeIndex-and-replace-Mutation.CalledStates

Conversation

@pancsta

@pancsta pancsta commented Jun 21, 2025

Copy link
Copy Markdown
Owner
  • feat(machine): add TimeIndex
  • fix(machine): fix TimeAfter set too late
  • feat(machine): add nice Transition.String()
  • feat(machine): refac Mutation.Called to indexes

am.TimeIndex is a struct wrapping []uint64 and a state index. It exposes basic state checking methods, eg ti.Is1("Foo"). It can also be used to represent binary lists of states, eg Mutation.CalledIndex(S).

- feat(machine): add TimeIndex
- fix(machine): fix TimeAfter set too late
- feat(machine): add nice Transition.String()
- feat(machine): refac Mutation.Called to indexes
@pancsta
pancsta merged commit 5481a70 into main Jun 21, 2025
@pancsta
pancsta deleted the feat/machine/add-TimeIndex-and-replace-Mutation.CalledStates branch June 21, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant