Guest User

Untitled

a guest
Feb 23rd, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. First class
  2.  
  3. class virtual abox rc = object(self)
  4. inherit t rc as super
  5.  
  6. val mutable children = []
  7.  
  8. Second class
  9.  
  10. class vbox = object(self)
  11. inherit abox "vbox"
  12.  
  13.  
  14. Third class, my class
  15.  
  16. class polling_box =
  17. object
  18. inherit vbox
  19. method replace_children () =
  20. children <- (some logic)
Advertisement
Add Comment
Please, Sign In to add comment