mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revisions
This commit is contained in:
parent
fa9e81d9db
commit
033d0a073e
2 changed files with 2 additions and 3 deletions
|
|
@ -102,8 +102,7 @@ QVariant Lisp::apply(const QJSValue& caller_or_function,
|
|||
caller = caller_or_function.toQObject();
|
||||
function = function_or_arguments.toString();
|
||||
arguments = arguments_or_undefined.toVariant().value<QVariantList>();
|
||||
}
|
||||
else if (caller_or_function.isString()) {
|
||||
} else if (caller_or_function.isString()) {
|
||||
function = caller_or_function.toString();
|
||||
arguments = function_or_arguments.toVariant().value<QVariantList>();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
*caller*
|
||||
(qt-object caller))))
|
||||
(if (fboundp fun)
|
||||
(apply fun (loop :with len = (length arguments)
|
||||
(apply fun (loop :with len := (length arguments)
|
||||
:for arg :in arguments
|
||||
:for n :from 1 :to len
|
||||
:collect (if (and (stringp arg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue