-
Hi, a) what are the main predicates ? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello! I've submitted a running CoLab example. Let me know if you have further questions. |
Beta Was this translation helpful? Give feedback.
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.