Hi,

I've taken it from here:
http://comments.gmane.org/gmane.lisp.ecl.general/2995

and from here:
http://comments.gmane.org/gmane.lisp.ecl.general/2341

and assumed from the messages context that they worked for their posters.

I've also check the following github mirror of ecl (it is a little bit outdated - January was the last time)
https://github.com/ageneau/ecl-mirror/blob/8ac2ec408cda4334baba1f0f03e8d1fa288ae504/src/cmp/cmpenv-proclaim.lsp#L78

What is the correct one? any documentation link?

Ala'a


On Mon, May 13, 2013 at 8:08 PM, Peter Keller <psilord@cs.wisc.edu> wrote:
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