Constant propagation is not a property of a language but its implementation. 
Few implementations document which transformations they currently implement. 

-- Matthias





On May 18, 2015, at 7:11 AM, Jos Koot wrote:

> Very nice constant propagation in Racket.
> For example the Racket compiler pre-evaluates:
> (let ((b 2)) (sqrt (+ 2 b))) to '2.
> That is what zo-parse and decompile tell me.
> May be I missed it, but looking for info on constant propagation I found no 
> info about this in the docs.
> If there is info, please tell me where.
> Thanks to the plt Racket team!
> Jos koot
>  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to