-
To illustrate my use case and the meaning of "recursive record contracts", here's the example: I'm building a contract for GitLab CI/CD, i.e. the
It's obvious that an infinite loop will occur without the "optional" metadata. On the other hand, with the "optional" metadata, the contract very much resembles a typical recursive linked list definition in OCaml and I'm tempted to think that my contract definition should work, but currently it does not: Nickel reports that the Searching through the repo, "recursive" is more often mentioned in the context of "recursive records" where the "fields" within the record are the subject of recursion, in contrast to this case where the whole contract is the subject of recursion. I wonder if my example is somewhat expressible in Nickel? Or is there plan for Nickel to support this use case? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Nickel has a recursive
|
Beta Was this translation helpful? Give feedback.
Nickel has a recursive
let
binding: