Closed trygveaa closed 7 years ago
Thanks so much for doing this! I only just found time to test it out. When I do:
toFizzBuzz(FIZZBUZZFUNC_EXP(RANGE(ONE)(FIFTEEN)))
the output I get is:
[1, 2, "FFzz", 4, "Buzz", "FFzz", 7, 8, "FFzz", "Buzz", 11, "FFzz", 13, 14, "FFzzBuzz"]
So something is going on with the 'i' in FizzBuzz. I will try to look at it today.
OK, I fixed it manually. Also added a Python example with a clever regex of my own!
I enjoyed your talk at LambdaConf and wanted to try to get the expanded function to work :)
I generated it from the FIZZBUZZFUNC function. It was done mostly using these vim macros (plus a few manual edits): q = ggnkk*Nf=ll"zy$120G w = cgn()"zP@w e = @q0@w