Python with a Lissp. https://hissp.rtfd.io Ask, don't ask to ask. Answers may take a day. https://github.com/gilch/hebigo
(defmacro apply* (f xs)
`(apply ,f ,xs))
(define apply
(lambda (callable : args () kwargs {})
(callable : :* args :** kwargs)))
HyExpression
type.
apply
can work the same way at least
(define apply
(lambda (f : :* args)
(f : :* (getitem args (slice -1))
:* (getitem args -1))))
'quote'
string in that process.
quote
forms.
%#(+ : :* %)
if the function is fixed.
;;;; COLLECTIONS
section.
[\"a\",\"b\"]
also works, but single quotes are easier.
(list '("a" "b"))
to also work, but that has to compile the quotes in to distinguish them from identifiers, resulting in ["('a')", "('b')"]
.
(list `(,"a" ,"b"))
.
enset
in a very similar way to enlist
.
(.upper (let (mystr "asdf")
(operator..add mystr "ghj")))
(.upper (let (mystr "asdf") (operator..add mystr "ghj")))