[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlaplus] How to obtain the value in a function
Statement1==/\effect'="allow"
/\action'="close"
/\resource'="db1"
Statement2==/\effect'="deny"
/\action'="close"
/\resource'="db1"
Hello:
In the above statements, i need to compare the values of effect in statement1 and effect in statement2. I am learning TLA+ and would like to know the equivalent of Statement1[effect] in TLA+ (I need to return the value allow so that i can compare with effect in Statement2)
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/ae636808-dcf5-447b-a50a-7b86d09d4c9cn%40googlegroups.com.