delete   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/adt.xtm

Implementation

(bind-func delete:[!a,List{!a}*,i64]*
  (lambda (lst idx)
    (let ((pre_cell (nth_tail lst (- idx 1)))
          (cell (cdr pre_cell))
          (post_cell (cdr cell)))
      (tset! pre_cell 1 post_cell)
      (car cell))))


Back to Index

Similar Entries

  • Texture_delete    xtlang
  • VAO_delete    xtlang
  • VBO_delete    xtlang
  • cl:delete    scheme
  • cl:delete-if    scheme
  • cl:delete-if-not    scheme
  • delete-at-index    scheme
  • fleet_delete_unit    xtlang
  • ghttp_perform_DELETE    xtlang
  • sys_env_delete    xtlang