Advertisement
Guest User

Untitled

a guest
Oct 1st, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Fixpoint nonzeros (l:natlist) : natlist
  2. match l with
  3. | nil => nil
  4. | h :: t => match h with
  5. | 0 => nonzeros t
  6. | _ => h :: nonzeros t
  7. end
  8. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement