Typing the technical interview, translated from Haskell to Rust
% cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Running `target/debug/ttti-rs`
Cons>>>>, S>, Cons>>>, S>>>, Cons>>, S>>>>>, Cons>, Z>, Cons, S>>, Cons>>>>, Nil>>>>>>