[cl-cookbook-contrib] [ cl-cookbook-Patches-603047 ] References
Brought to you by:
jthing
From: <no...@so...> - 2002-09-01 04:48:48
|
Patches item #603047, was opened at 2002-09-01 00:48 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447474&aid=603047&group_id=46815 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Matthew Danish (emu) Assigned to: Nobody/Anonymous (nobody) Summary: References Initial Comment: For those that insist on call-by-reference: (defstruct (reference (:constructor make-reference (&optional value))) (value nil)) ;; usage: ;; (make-reference &optional value) ;; Create a reference object ;; (reference-value reference) ;; Dereference reference and obtain contained value ;; (setf (reference-value reference) value) ;; Set value contained by reference ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447474&aid=603047&group_id=46815 |