We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seq
Vector
(coalton-toplevel (define (vec-example) (vec:make "wow" "ok" (into 3))) ;; doesn't compile (define (seq-breaks) (seq:make "wow" "ok" (into 3))) ;; also doesn't compile (define (seq-also-breaks) (the (seq:Seq String) (seq:make "wow" "better" (into 3)))) ;; compiles (define (seq-works) (seq:make "wow" "better" (the String (into 3)))))
This is the error from seq-break:
error: Ambiguous predicate --> <macroexpansion>:5:31 | 5 | (SEQ:MAKE "wow" "ok" (INTO 3)))) | ^ Ambiguous predicate NUM :A [Condition of type SB-INT:COMPILED-PROGRAM-ERROR]
And from seq-also-breaks:
seq-also-breaks
error: Ambiguous predicate --> <macroexpansion>:5:57 | 5 | (THE (SEQ:SEQ STRING) (SEQ:MAKE "wow" "better" (INTO 3)))) | ^ Ambiguous predicate NUM :A [Condition of type SB-INT:COMPILED-PROGRAM-ERROR]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is the error from seq-break:
And from
seq-also-breaks
:The text was updated successfully, but these errors were encountered: