3 ms·
If you want another I did it purely with Lambdas in C# [1]. [1] https://github.com/tonyedgecombe/functionalfizzbuzz/blob/master/FunctionalFizzBuzz/FunctionalFi
by tonyedgecombe 9y ago
If you want another I did it purely with Lambdas in C# [1].
[1] https://github.com/tonyedgecombe/functionalfizzbuzz/blob/master/FunctionalFizzBuzz/FunctionalFizzBuzz.cs https://github.com/tonyedgecombe/functionalfizzbuzz/blob/mas...
- sterlind 9y agowow, you weren't kidding. you bootstrapped all your constructs from pure lambda-calculus! I award you Best Use of Dynamic.
- s3m4j 9y agoMy python teacher asked us an implementation of the factorial function. I did almost the same as you, bootstrapping almost every constructs in python lambdas, and then, before handing it to him, I put it all on one line. But I'm a good person, in a comment above that line, I copy pasted the same line with 'lambda' replaced by 'λ'. (I did not use church numerals and there were no strings involved)