return empty seq/list
stack overflow error
tail recursive version of myMap by changing signature
tail recursive version of myMap without changing signature
myMap using reverse which does not have the cost of append - prepend behaves like cons
def vs val; call by val vs call by ref
force eval only once in call by ref
placeholder notation that doesnt work
partial application
dsl for while loop
while dsl complexities without currying or pass by name
using/with block for handling file or file contents
tailrec annotation to prevent tail recursive functions to become non-tail recursive during refactoring
object constructors
varargs and splat
breaking down maps and tuples
range and collection functions
lambda with 2 args - reduceLeft
reduceLeft vs foldLeft - fix for reducing empty list with seed
underscores not useful if order of lamba args matters