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
{{ message }}
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
If we had something like Typeable and a type-safe cast, we could have branch on a subtree given not by just a function Unit -> GenericSpine but also paired with Unit -> Any where for that a : Any and that g : GenericSpine we would have the property that fromSpine g === cast a.
So this way if you want to descend a bit, then do a special case on the data from which some subtree was generated, we could capture that in a single recursion pattern without the overhead of a full to/from roundtrip.