codegen: smarter handling of adding now binding to the environment
codegen: smarter handling of adding now binding to the environment

AccelerateHS/accelerate-cuda,flowbox-public/accelerate-cuda,tmcdonell/accelerate-cuda,mikusp/accelerate-cuda,mwu-tow/accelerate-cuda,tmcdonell/accelerate-cuda,mwu-tow/accelerate-cuda,mikusp/accelerate-cuda,tmcdonell/accelerate-cuda,flowbox-public/accelerate-cuda,mwu-tow/accelerate-cuda,AccelerateHS/accelerate-cuda,mikusp/accelerate-cuda,AccelerateHS/accelerate-cuda,flowbox-public/accelerate-cuda