Open pippijn opened 3 years ago
The graphics pipeline codegen is too rigid. It expects one or zero mapPrimitives
operator.
Ok, so any function composition should be done within that operator's argument. Thanks! I'll leave the issue open because I think the compiler should either tell the user about this or transform the input to function composition.
Reproducing test case (paste in editor.html to see the error):
The relevant part is
mapPrimitives (\(x) -> x)
. I'm sure this code is wrong, but the error message isn't helping me understand why.