[Uim] list vs ' in uim-scheme

Hiroyuki Komatsu komatsu at taiyaki.org
Mon Jun 14 09:21:25 EEST 2004


Hi,
What is a difference between list and ' in uim-scheme?


The following code with list works well in uim-scheme.

  (set! command-list (list function1 function2 function3))
  (let ((command (nth 0 command-list)))
    (command 1 2 3))

However, the next code with ' does not work.

  (set! command-list '(function1 function2 function3))
  (let ((command (nth 0 command-list)))
    (command 1 2 3))


Is it a feature?  If so, please let me know the difference.
Thank you,

--
Hiro





More information about the uim mailing list