22:25:41pjbCL:EVAL evaluates in the global environment, not in a lexical scope.
22:26:25pjbBut you can keep susbtituting, because the lexical scope is known to you, at program editing time. SO you can write the code that will substitute, not with 'byte, but with the value of byte!
22:27:53pjbNow, if you prefer, you may generate a lambda-expression, and use eval coerce or compile to get a function.
22:29:03pjbBut it won't be a closure. you must substitute into the lambda-expression all the values you need.
22:29:53pjbNow, since your function is named generate-<something> I would let it return the lambda-expression, and call eval, coerce or compile outside of it.
8:10:30aethShinmera: Any chance of adding a NaN to float-features like you have infinities? There are many NaNs, of course, but I think any NaN would do when reading in a NaN from a file (or rather, a string representing the concept of "NaN"). It's just bits-single-float or bits-double-float with the right (wrong?) bits, I guess.
8:10:51aethThey also apparently have to be function calls, not constants, based on a conversation here a while back, maybe 4 years ago.