Open benswift opened 9 years ago
at the moment letz can't return void. anything else is fine, just not void :)
try (letz (( ... (println lst) 1)
On Thu, Oct 23, 2014 at 3:25 PM, Ben Swift notifications@github.com wrote:
(bind-func test_zone_list (lambda () (letz ((lst (list 1 2 3))) (println lst))))
Compiler fails with message Type Error unsupported conversion from -1 to 108 It works fine if the letz is replaced by a let. Have I got the letz syntax wrong?
— Reply to this email directly or view it on GitHub https://github.com/digego/extempore/issues/150.
leave as a bug though, needs to work for void case also.
On Fri, Oct 24, 2014 at 12:18 PM, Andrew Sorensen digegoo@gmail.com wrote:
at the moment letz can't return void. anything else is fine, just not void :)
try (letz (( ... (println lst) 1)
On Thu, Oct 23, 2014 at 3:25 PM, Ben Swift notifications@github.com wrote:
(bind-func test_zone_list (lambda () (letz ((lst (list 1 2 3))) (println lst))))
Compiler fails with message Type Error unsupported conversion from -1 to 108 It works fine if the letz is replaced by a let. Have I got the letz syntax wrong?
— Reply to this email directly or view it on GitHub https://github.com/digego/extempore/issues/150.
Compiler fails with message
Type Error unsupported conversion from -1 to 108
It works fine if theletz
is replaced by alet
. Have I got theletz
syntax wrong?