WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

Personally, I slightly prefer TransitionGuard being kept separate from GuardExpression, for the following reasons:

  • it naturally captures a guard (defined by TransitionGuard) containing an expression (GuardExpression)
  • we have, at least in the past, compared transition guards based on their identities, such comparison becomes problematic if we were to replace TransitionGuard by GuardExpressions (for which identity-comparison feels unintuitive)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mtf90
Comment options

mtf90 Mar 13, 2024
Maintainer Author

Answer selected by mtf90
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants