Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-28-2008, 12:02 PM   #1
Registered: Mar 2008
Posts: 51

Rep: Reputation: 15
Make a function a constant part of LISP?

i am trying to learn lisp.

if i write a function i want to be a part of lisp, i mean i dont want to load this file/function every time i want to use it but i want to just be able to write (awesomefunction 'alist) in a new program.

how do i do this? should it be saved in some special library?

i am using cormanlisp if that helps.
Old 03-28-2008, 04:23 PM   #2
Registered: Mar 2008
Posts: 183

Rep: Reputation: 31
Are you talking about common lisp? with CL, you can save an image; there's no standardized way to do this... for sbcl it's sb:save-lisp-and-die, for clisp it's ext:saveinitmem. But you can just as well load a library from source/compiled binary, just like any other interactive language.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs Lisp - buffer name as part of compile-command jantman Programming 4 10-02-2006 09:32 PM
Emacs LISP - function and keymap? jantman Programming 5 09-28-2006 12:59 PM
LISP or COMON LISP Compiler for Debian carspidey Programming 3 04-19-2006 08:46 AM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 07:25 PM
Lisp, emacs-lisp aizkorri Programming 1 09-04-2002 07:16 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration