Closed kiselgra closed 5 years ago
Hi,
I have a class in a namespace that shares its name with a global funcion:
(function foo () -> void ...) (namespace N (class foo () (public (function fun () -> void (foo)))))
As this requires explicit qualification I write
... (funcall #:nil:foo)
which works, but feel weird. @lispbub What do you think about defaulting to :: when only one atom is found during namespace destructuring? E.g.:
::
... (funcall #::foo)
Currently we default to foo(), but my guess is nobody will use this when (foo) and (funcall foo) are actually much simpler.
foo()
(foo)
(funcall foo)
Hi,
I have a class in a namespace that shares its name with a global funcion:
As this requires explicit qualification I write
which works, but feel weird. @lispbub What do you think about defaulting to
::
when only one atom is found during namespace destructuring? E.g.:Currently we default to
foo()
, but my guess is nobody will use this when(foo)
and(funcall foo)
are actually much simpler.