On Mon, May 13, 2013 at 02:33:00PM +0400, Ala'a Mohammad wrote: > ;; foo.lisp > (defpackage "DEMO" > (:use :cl) > (:export "SUM-ARRAY")) > > ;; using the following > ;;;(declaim (si::c-export-fname sum-arary)) ^^^^^^^^^ > ;; gave me > ;;Unknown declaration specifier SI::C-EXPORT-FNAME > ;; so instead I tried 'proclaim', but it seem to have > ;; no effect as the generated symbol name is L1sum_array rather than > demo_sum_array > (proclaim '(si::c-export-fname sum-arary)) ^^^^^^^^^ > > (defun sum-array (array) > (loop for i from 0 below (length array) > summing (aref array i)))
I'm not sure how to do the operation you want to do without cheking further, but the indicated symbols are a typo. If you fix it, does the problem go away? -pete ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list