google / google/codeworld

Bare list as function argument leads to poor error message

Open
#1,260 2 comments 0 reactions 0 assignees View on GitHub
error-message
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

**Program:** https://code.world/#PiioI3lA09vCqnS6pbAEbJQ

**Comment:**

its right in my coding but its saying its wrong and idk how to fix

**Message:**

program.hs:6:24-40: error:
• Couldn't match expected type ([Point], Number)
with actual type [(Number, Number)]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.