torch/ffi — pull request #1 by schaul (2013-10-23 17:12:39+00:00)
Title: The same kind of wrapping for map than for apply 

In particular, this now allows doing map operations on heterogeneously typed tensors (say, one ByteTensor and one DoubleTensor, iterated over simultaneously).