Skip to content

join type and body don't match #65

Description

@Ambrevar

See

cl-str/str.lisp

Line 176 in 507ec6c

(defun join (separator strings)

I was recently bit this (see atlas-engineer/nyxt#1217 if you want to get confused :p): join used to accept a list of anything and leverage format to turn the list elements to strings using print-object.

But since 51feb40#diff-8793bcbd16d1dc95956881ad175e7b1ad86aabfbdbf037975049fd71200af390 the function type only allows list of strings, while the body has remained the same.

So I suggest

  • either changing the type to accept alist arg
  • or changing the body to (apply #'concatenate 'string ARG) to match the new signature.
    Thoughts?

(Edit: Typos.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions