actually, maybe that was fine
infix all the Applys
formatting
okay i figured out what was missing: the recursive case. duh.