Make generate
and lhs-indexing work for infinite sequences indexed by Integer
.
#1063
Labels
language
Changes or extensions to the language
Currently
generate
, which is used for lhs-indexing syntactic sugar, can only be used for finite lists of length at least 1:It would be nice if we could use it for lists of any length, specifically for infinite sequences which could be indexed by an
Integer
. Being able to define zero-length sequences would be useful too, e.g. for defining sequences that are polymorphic in the length.Implementing this will probably require adding a new type predicate as a constraint.
The text was updated successfully, but these errors were encountered: