Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  1> (defstruct node ()
       item
       next)
  #<struct-type node>
  2> (new node next (new node next (new node item 42)))
  #S(node item nil next #S(node item nil next #S(node item 42 next nil)))
  3> (call .next.next.item *2)
  42


I don't usually have a problem with you posting TXR comparisons in every lisp thread, but if you're not going to take the time to understand what the library does, this is just spam.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: