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
program.hs:16:67-129: error:
• Couldn't match expected type ‘Picture’
with actual type ‘Picture -> Picture’
• Probable cause: ‘translated’ is applied to too few arguments
In the second argument of ‘rotated’, namely
‘(translated (innerRadius, 0) (drawSpike innerRadius outerRadius))’
In the expression:
rotated
(2 * pi * fromIntegral i / fromIntegral n)
(translated (innerRadius, 0) (drawSpike innerRadius outerRadius))
In the expression:
[rotated
(2 * pi * fromIntegral i / fromIntegral n)
(translated (innerRadius, 0) (drawSpike innerRadius outerRadius)) |
i <- [0 .. n - 1]]
The text was updated successfully, but these errors were encountered:
Program: https://code.world/haskell#Py5mSiJdCag_UwCAt_o5pYg
Message:
The text was updated successfully, but these errors were encountered: