Open leonschoorl opened 4 years ago
Compiling with -fclash-compile-ultra
also works.
Because it makes clash to unroll the map.
The core of the issue is that RenderVoid
only works on one layer at the moment. We should go over all HO primitives and make them check whether their function argument is a blackbox with RenderVoid
(if that's possible at all in the current architecture). We'd probably need to change the RenderVoid
datastructure to:
data RenderVoid
= AlwaysRenderVoid
| NeverRenderVoid
| ConstantRenderVoid
with the last constructor indicating that a blackbox will render voids if one of their arguments does.
If I manually unroll the
map (writeToBiSignal bisigIn)
it works fine.