Challenges in Implementing `Schema.suspend` with Generic Types for Recursive Node Structures
Did anyone manage to make
https://effect.website/play#64b707598e31
There is a Node that has a
The challenge arises from defining the Node schema in
I am not so sure anymore if my approach is actually workable. Maybe I am thinking about this the wrong way round.
Schema.suspend work with a generic type? I have been trying to get this example to work:https://effect.website/play#64b707598e31
There is a Node that has a
children property that are Nodes themselves:The challenge arises from defining the Node schema in
S.suspend:I am not so sure anymore if my approach is actually workable. Maybe I am thinking about this the wrong way round.
