On Tue, Jan 29, 2013 at 3:07 PM, Peter Enerccio <enerc...@gmail.com> wrote:

>
> I wanted to ask if it is possible to overwrite functions in common-lisp
> package.
> I know I can do it in c level, but I would rather do it in lisp level, if
> it is possible.


You can unlock the package, redefine the function and go. However, note
that the compiler will still generate code that calls the original C
function. It is a better practice normally to use a package with shadowing
symbols: it does not have this problem and its consequences, unlike symbol
redefinitions, are not undefined as per the ANSI Standard.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to