program.hs:21:18-82: error:
• Couldn't match expected type ‘Picture -> t’
with actual type ‘Picture’
• The function ‘rotated’ is applied to three arguments,
but its type ‘Double -> Picture -> Picture’ has only two
In the expression:
rotated 2 0 (translated 4 4 (colored brown (solidRectangle 1 4)))
In an equation for ‘rightBranch’:
rightBranch
= rotated 2 0 (translated 4 4 (colored brown (solidRectangle 1 4)))
• Relevant bindings include
rightBranch :: t (bound at program.hs:21:4)
Program: https://code.world/haskell#PeAVAOONmDECh9wYiaNCqTA
Message: