package org.metaborg.util.unit;

import java.io.Serializable;

public final class Unit implements Serializable {

    private static final long serialVersionUID = 1L;

    public static final Unit unit = new Unit();

    private Unit() {
    }

    @Override public String toString() {
        return "unit";
    }

}
@@ -56,16 +56,116 @@
 zable;%0A%0A
+import org.metaborg.util.functions.CheckedFunction0;%0Aimport org.metaborg.util.functions.Function0;%0A%0A
 public f
@@ -338,16 +338,227 @@
 %0A    %7D%0A%0A
+    public %3CT%3E T andThen(Function0%3CT%3E next) %7B%0A        return next.apply();%0A    %7D%0A%0A    public %3CT, E extends Throwable%3E T andThenOrThrow(CheckedFunction0%3CT, E%3E next) throws E %7B%0A        return next.apply();%0A    %7D%0A%0A
     @Ove

Add sequencing utility function.