A
anddrd
Guest
Hi,
Started to use sklint on my skill files and it is complaining on my
use of
mapcar and lambda function
I want to create a list of equal length as another list but with the
same value
in each element. To do this I use mapcar:
(mapcar (lambda (x) (sprintf nil inputAlign)) headingListInput).
Sklint complains that I am not referencing x with in the lambda
expression, which is true.
Could I do this in some other way with out creating variabels
(symbols) and have a happy sklint?
Best Regards,
Andreas
Started to use sklint on my skill files and it is complaining on my
use of
mapcar and lambda function
I want to create a list of equal length as another list but with the
same value
in each element. To do this I use mapcar:
(mapcar (lambda (x) (sprintf nil inputAlign)) headingListInput).
Sklint complains that I am not referencing x with in the lambda
expression, which is true.
Could I do this in some other way with out creating variabels
(symbols) and have a happy sklint?
Best Regards,
Andreas