Skip to content
Discussion options

You must be logged in to vote

Hello!
a) I am not sure I understand what do you mean by "main predicates". It is a definition of PremiumPurchases predicate that assumes that predicate Purchases is already defined.
b) Yes, tickets is a list of structures. Dot notation is used to address fields of structures.
c) I am not aware of a language that would use [] suffix in the name of a list variable. Indeed C/C++ use [] suffix for denoting that variable is a type. But it's part of type definition syntax and at this moment Logica doesn't have explicit typing.

I've submitted a running CoLab example.

Let me know if you have further questions.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by jedi1992
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants