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
Hey everyone, I noticed a small typo in https://coalton-lang.github.io/reference/#fromiterator-class - if the class is defined as FromIterator :A :B, then collect! should have signature collect! :: (Iterator :B) → :A), not collect! :: (Iterator :A) → :B).
However, since I suspect that this page is autogenerated, this might be a symptom of a deeper problem of the generation mechanism.
The text was updated successfully, but these errors were encountered:
When a type is printed in Coalton, a fresh type-variable context is created and the variables are labelled alphabetically in the order they appear, i.e., the original labels are forgotten. A change to this would be nice, especially for debugging error messages.
COALTON-USER> (coalton-toplevel
(declare f (List:element -> Optional :element))
(define f head))
; No value
COALTON-USER> (type-of'head)
∀ :A. ((LIST:A) → (OPTIONAL :A))
Hey everyone, I noticed a small typo in https://coalton-lang.github.io/reference/#fromiterator-class - if the class is defined as
FromIterator :A :B
, thencollect!
should have signaturecollect! :: (Iterator :B) → :A)
, notcollect! :: (Iterator :A) → :B)
.However, since I suspect that this page is autogenerated, this might be a symptom of a deeper problem of the generation mechanism.
The text was updated successfully, but these errors were encountered: