[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*From*: Stephan Merz <stephan.merz@xxxxxxxxx>*Date*: Thu, 2 May 2019 10:57:48 +0200*References*: <372df3a8-685a-4668-b97a-47ce153ca812@googlegroups.com>

Hello, if my understanding is correct, you would like to update the function state for all elements of the set. There is no specific syntax for this, write state' = [ x \in DOMAIN state |-> IF x \in A THEN "newState" ELSE state[x] ] (Presumably you can replace "DOMAIN state" by a simpler set.) Hope this helps, Stephan
You received this message because you are subscribed to the Google Groups "tlaplus" group. To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx. To post to this group, send email to tlaplus@xxxxxxxxxxxxxxxx. Visit this group at https://groups.google.com/group/tlaplus. For more options, visit https://groups.google.com/d/optout. |

**Follow-Ups**:**Re: [tlaplus] Beginner question: EXCEPT construct***From:*Kestutis Siaulys

**References**:**[tlaplus] Beginner question: EXCEPT construct***From:*kestutis

- Prev by Date:
**[tlaplus] Beginner question: EXCEPT construct** - Next by Date:
**Re: [tlaplus] Beginner question: EXCEPT construct** - Previous by thread:
**[tlaplus] Beginner question: EXCEPT construct** - Next by thread:
**Re: [tlaplus] Beginner question: EXCEPT construct** - Index(es):