RFC FS-1031 - Mixing ranges and values to construct sequences #803
Replies: 3 comments 5 replies
-
Question 1 from out of band discussion: should [if p then 1 else 1..10] Right now, an explicit [if p then yield 1 else yield! [1..10]] [if p then 1 else yield! [1..10]] |
Beta Was this translation helpful? Give feedback.
-
Question 2 from out of band discussion: should explicit [yield! 1..10] We currently require an explicit specification of a collection/computation expression builder [yield! [1..10]] seq { yield! seq { 1..10 } } |
Beta Was this translation helpful? Give feedback.
-
An example of why you would want to do this would be useful. So far it seems speculative: someone might want to create disjoint sets of intervals and points. Is this about typing in sequences representing things that stop and restart and therefore consist of disjoint intervals? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions