Skip to content

Instantly share code, notes, and snippets.

Zachery Jensen ztj

Block or report user

Report or block ztj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ThatThing.java
import java.util.*;
import java.util.stream.*;
public class ThatThing {
static class OneThing {
public OneThing(Object v, Object f) {this.value = v; this.f = f;}
public Object value;
public Object f;
}
View fs-tree-func.fs
let rec drawTreeOther layer height =
if layer = height then
printfn "%41s\n%41s" "xx" "xx"
else
let w = (layer + 1) * 2
printfn "%s%s" (String.replicate ((80 - w) / 2) " ") (String.replicate w "x")
drawTreeOther (layer + 1) height
You can’t perform that action at this time.