ruricolist / serapeum

Utilities beyond Alexandria
MIT License
420 stars 41 forks source link

unparse-ordinary-lambda-list does not unnormalize keywords #91

Closed Ambrevar closed 3 years ago

Ambrevar commented 3 years ago

See:

> (multiple-value-call #'sera:unparse-ordinary-lambda-list (alex:parse-ordinary-lambda-list '(&key foo)))
(&KEY ((:FOO FOO) NIL))

I would expect

(&KEY (FOO NIL))

instead. Is this expected?

Ambrevar commented 3 years ago

My bad, I forgot a pair of parentheses in my code, this works as expected :)