Skip to content

Instantly share code, notes, and snippets.

View mstewartgallus's full-sized avatar
🏳️‍⚧️
Trans

Ms. Molly Stewart-Gallus mstewartgallus

🏳️‍⚧️
Trans
View GitHub Profile
@mstewartgallus
mstewartgallus / Main.java
Created September 5, 2020 00:31
Tagless final style in pure Java using curiously recurring template types.
package com.sstewartgallus;
import java.util.function.Function;
public class Main {
public static void main(String[] args) {
var result = program(new EvalLambdaFactory());
var source = program(new PrettifyLambdaFactory());
System.out.println("Source " + source);
System.out.println("Result " + result);