Arc Forumnew | comments | leaders | submitlogin
1 point by conanite 5676 days ago | link | parent

another example:

  arc> (assign foo '(a b c))
  (a b c)
  arc> (pop:cdr foo)
  b
  arc> foo
  (a c)
Without the compose/complement clauses in ac.scm:

  arc> (pop:cdr foo)
  Error: "Can't set reference  #<procedure:apply> #<procedure:cdr> (c . nil)"