You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library seems to be easy to integrate with F#+ we just need to add the required static members, no need to add any dependency.
Repro steps
For example, looking at the required signature for map in order to be able to use a generic map over a Lazy List, we just need to add:
static member Map (x: LazyList<'T>, f:'T->'U) : LazyList<'U> = LazyList.map f x
then, we can add an attribute to "hide" it from the tooling.
We can also add <*> and >>= which are not yet implemented.
Doing this for most collections will provide a way to use generic operations over these collections, also a way to derive automatically computation expressions.
The text was updated successfully, but these errors were encountered:
Description
This library seems to be easy to integrate with F#+ we just need to add the required static members, no need to add any dependency.
Repro steps
For example, looking at the required signature for map in order to be able to use a generic
map
over a Lazy List, we just need to add:then, we can add an attribute to "hide" it from the tooling.
We can also add
<*>
and>>=
which are not yet implemented.Doing this for most collections will provide a way to use generic operations over these collections, also a way to derive automatically computation expressions.
The text was updated successfully, but these errors were encountered: