Nyan cat

Recursion makes quick

Reasoning, but be careful

Dragon eats its tail

struct Cons<T> {
car: T,
cdr: Option<Box<Cons<T>>>,
impl<T> Cons<T> {
fn append(mut self, v: T) -> Self {
match self.cdr {
Some(l) => l.append(v),
None => {
self.cdr = Some(Box::new(Cons{car: v, cdr: None}));
fn main() {
let mut l = Cons { car: 0, cdr: None };
l = l.append(1);
This is Black Desert Online. We won’t be making this.

Obligatory photo to capture attention in thumbnail

I should note that free transactions are not actually stealing money

Jay Butera

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store