This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
A demonstration of recursive implementation of the factorial function using anonymous | |
lambda expressions and a "Y combinator". | |
see: https://en.wikipedia.org/wiki/Fixed-point_combinator | |
*/ | |
import java.math.BigInteger; | |
public class YCombinator { |