Polymorphic literals lead to strange error messages #1

Closed
opened 2026-06-15 12:08:57 +02:00 by st · 0 comments
Owner
error: cannot unify string with ?
 --> <input>:1:1
  |
1 | greet(67)
  | ^
> greet
: fn(string) -> string
(No instance Show for fn(string) -> string)
>
``` error: cannot unify string with ? --> <input>:1:1 | 1 | greet(67) | ^ > greet : fn(string) -> string (No instance Show for fn(string) -> string) > ```
st closed this issue 2026-06-28 18:53:09 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
st/amelie#1
No description provided.