Advertisement
juaniisuar

TP ML 2

Apr 22nd, 2015
2,544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1)
  2.  
  3. a) IsEmpty( nil ) = true
  4. isEmpty (cons x L) = false
  5. head ( cons x xs ) = x
  6. tail ( cons x xs ) = xs
  7.  
  8. b) eraseRep : int → Lista int → Lista int
  9.  
  10. 2)
  11.  
  12. a) x
  13. b) p
  14. c) true
  15. d) false
  16.  
  17. ** IMPLEMENTAR **
  18.  
  19. 3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement