bug#46014: (define (thunk) (lambda (x) x)) should be a compile error?

2021-01-23 Thread Ricardo Wurmus
Joshua Branson writes: > Feel free to close this bug report. I don't believe I was able to > demonstrate any examples of the compiler misbehaving. Okay, closing! -- Ricardo

bug#46014: (define (thunk) (lambda (x) x)) should be a compile error?

2021-01-23 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
Hey Ricardo! Thanks for taking the time to explain that thunk is a procedure with no arguments, and that the first x is not used in some of those procedures. Feel free to close this bug report. I don't believe I was able to demonstrate any examples of the compiler misbehaving. Thanks! --

bug#46014: closing the bug report...hopefully

2021-01-23 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
close 46014

bug#46014: (define (thunk) (lambda (x) x)) should be a compile error?

2021-01-23 Thread Ricardo Wurmus
Hi Joshua, > Interestingly, I had wrongly assumed that > > #+BEGIN_SRC scheme > (thunk "test\n") ;; I assumed program execution would stop here > (display "Hello World\n") > #+END_SRC > > program execution would stop at (thunk "test\n"). But it actually > caries on with execution of the