An alternative way of accessing the past #601
ivanperez-keera
started this conversation in
Ideas
Replies: 1 comment
-
Positive numbers would be equivalent to a drop, of course, if we change the implementation of It would provide a uniform, and I'd argue more natural, way of accessing streams: example #! (-1) -- look back into the past
example #! 1 -- look into the future, only valid if example knows enough about its own future |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Did we ever explore the possibility of looking into the past of a stream with a function with a signature like the following?
It could use used as follows:
I wonder if there would be any benefit to making
at
take aKnownNat
(wrapped in something). I just would not want users to have to writeProxy
in their expressions, or type expressions explicitly.We could also provide:
and users could write:
or:
or define an operator (for example,
(#!)
, and I'm picking a random name) as a synonym forat'
so that users can write:Beta Was this translation helpful? Give feedback.
All reactions