Module talk:fun

This is fun and func(k)y! Thank you. Isomorphyc (talk) 18:32, 1 December 2017 (UTC)

flatmap
This is a great idea and it's also a good idea to keep it small. I have been writing Lua code without the benefit of a functional module, but seeing how this module exists and is small, I will probably use it more. However, it's missing flatMap. flatMap is like map but takes a function that must return an iterable, and flattens the result. If you are familiar with Scala or Spark, you know how important this operation is. (See also the backquote syntax in Lisp, which has two operators it works with:  and , which are parallel to map and flatMap respectively.) Interested in implementing this? If not, I will see about doing it. Benwing2 (talk) 01:13, 22 August 2022 (UTC)