Some functional programming tools for Lua and Torch.