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

Re: [tlaplus] Generating sequences of functions



Thanks so much Isaac and Markus!

On Monday, October 4, 2021 at 8:33:52 PM UTC-3 Markus Alexander Kuppe wrote:
On 10/4/21 4:04 PM, Markus Kuppe wrote:
>
> { <<e>> : e \in [user: 1..3, amount: 1..6]} \cup {<<>>}

Apologies, I didn't read your example carefully.

Use Isaac's solution or

SeqOf([user: 1..3, amount: 0..6], 3)

with SeqOf from the CommunityModules [1].

Markus

[1]
https://github.com/tlaplus/CommunityModules/blob/913ba86e3e5a40d5b37b8adb1b1f4883cbe62ef4/modules/SequencesExt.tla#L34-L39

--
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/cb89a004-b8f7-4e35-9e6d-7b5522aecd7dn%40googlegroups.com.