question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

come up with DAML-LF 2, which is exactly like DAML-LF 1.x, but without recursive data type

See original GitHub issue

we 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 and equal_list

@martin-drhu-da @remyhaemmerle-da please add items as you see fit.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
remyhaemmerle-dacommented, Jan 21, 2022

This has been way too long opened. cc @cocreature

1reaction
martin-drhu-dacommented, Apr 1, 2019

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 is from_text_party.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found