Zulip Chat Archive
Stream: new members
Topic: Std.range to List
Burkhardt Renz (Feb 17 2025 at 08:53):
Hi,
is there a function in the std lib that returns a List Nat from a Std.range?
Markus Himmel (Feb 17 2025 at 08:57):
Do you specifically need to go from Range
to List
or is docs#List.range' perhaps an option for you?
Burkhardt Renz (Feb 17 2025 at 09:02):
Actually List.range' is an option, but I asked myself if there is a simple way to get a list from any range.
Markus Himmel (Feb 17 2025 at 09:11):
I don't think this exists right now, but the FRO is planning to work on Std.Range
later this year, so hopefully this will improve.
Burkhardt Renz (Feb 17 2025 at 09:11):
Thanks
Last updated: May 02 2025 at 03:31 UTC