come up with DAML-LF 2, which is exactly like DAML-LF 1.x, but without recursive data type
See original GitHub issuewe need to get rid of the recursive data type in the DAML-LF proto. it causes endless trouble (see #437 for the latest in a long series of complaints). i propose to just have an array of exprs at the top level for each module, i.e.
message ExprTable {
repeated Expr exprs = 1;
}
and then have pointers into said array instead of recursive occurrences.
however, we might as well clean up other stuff since we can:
- remove recursive data type
- remove party literals,
getParty
and the flag indicating the absence of party literals - remove deprecated arrow type
- clean up identifier data type to be in line with what we have in Scala
- remove the variant of
exercise
which expects actors - remove
foldl
,foldr
andequal_list
@martin-drhu-da @remyhaemmerle-da please add items as you see fit.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Reading 16, Part 1: Recursive Data Types
We'll start with a classic recursive datatype, the immutable list. Immutability is powerful not just because of its safety, but also because of...
Read more >Recursive data type
In computer programming languages, a recursive data type is a data type for values that may contain other values of the same type....
Read more >CS 3110 Lecture 4 Variant types and polymorphism
This type has two constructors, Nil and Cons . It is a recursive type because it mentions itself in its own definition (in...
Read more >Recursion - CS 242
Just like in C, we use a recursive data type linked_list which is a sum type (variant) with two branches: Nil if the...
Read more >1.10.1 Recursive Data: Video - YouTube
... Computer Science, Spring 2015 View the complete course: http://ocw.mit.edu/6-042JS15 Instructor: Albert R. Meyer … Show more. Show more ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This has been way too long opened. cc @cocreature
The flag indicating whether an expression contains party literals will be useless when there are no more party literals. And
getParty
seems also useless given there isfrom_text_party
.