On 01/29/2011 06:35 PM, Neil Jerram wrote:
> Andy Wingo writes:
>
>> I would also mention the approach from the skeleton package, which you
>> can fetch from http://wingolog.org/git/skeleton.git. `autoreconf -vif',
>> `./configure', and `make'. It has a toplevel `env' script, similar to
>> othe
If this is added, I'd very much recommend including a way to turn it off
(or more likely to turn it on), as extra noise in error messages
generally comes at the price of quick understanding. Most of the time,
timestamps aren't needed, so, except when they are, they are noise.
Sebastian Tennan
Hi Neil,
Neil Jerram wrote:
2008/11/11 Jon Wilson <[EMAIL PROTECTED]>:
Hi Neil,
Thanks for working on this. I'd favor the steady new features model, but I
would recommend periodically marking a release as one that will be supported
past the next release, similar to Ubuntu
Andy Wingo wrote:
Yes and no; R5RS has this to say:
If the value of an expression is said to be "unspecified," then the
expression must evaluate to some object without signalling an error,
but the value depends on the implementation; this report explicitly
does not say what value
Sebastian Tennant wrote:
Quoth [EMAIL PROTECTED] (Ludovic Courtès):
Dynamic binding definition is compilation-unfriendly. Kjetil's
proposed `define-lotsof' macro is more appropriate, as it can be fully
evaluated at compile-time (should a compiler be used, that is),
whereas the `module-define!'
Hi Linas,
Linas Vepstas wrote:
Does anyone actually use threads with guile?
Or am I the first to do so?
I once wrote an irc chat bot in guile 1.8 (a pretty crappy one, though)
that used threads. I never had any trouble with it, but I didn't do any
really advanced stuff (nothing that needed
Hi Neil,
Thanks for working on this. I'd favor the steady new features model,
but I would recommend periodically marking a release as one that will be
supported past the next release, similar to Ubuntu's LTS releases.
Regards,
Jon
Neil Jerram wrote:
Andy recently wondered - in connection wit
Hi again,
For an example of an OO system that is even more wildly different, but
still quite interestingly useful, look up the Prometheus object system
for Scheme. I don't know if there is a version that would happily run
on Guile, but there are versions for at least Scheme48 and PLT, IIRC.
I
Hi,
You might be interested to read Jonathan Rees' take on OO. It certainly
broadens the mind regarding the various implementations and terminology
of OO, but is still quite brief. I certainly don't think the Java/C++
model is the last word in OO (but I didn't think that before reeding
Rees,
Hi Ishan,
* There are guile bindings for gtk and for gnome; I don't know of any
other X11 bindings.
* Try (system "ls -l"). Look it up in the POSIX section in the manual.
Regards,
Jon
Ishan Arora wrote:
Hi,
Is there a procedure to get mouse position. And is there a procedure to
synchrono
Time to trot out the tired old koan [1] ...
Maciek Godek wrote:
which is sad because closures are a very powerful
yet simple mechanism (definitely simpler than what GOOPS or
CLOS have to offer if it comes to OOP -- both in concepts and
implementation)
" The venerable master Qc Na was walking
Maciek Godek wrote:
as for eval, it will always be there (in RnRS)
EVAL has not been in every report. R4RS did not specify EVAL, nor did
R3RS, RRRS, RRS.
> besides I don't imagine not messing with lexical
> environments :) The bad thing is that scopes aren't
> explicitly definable and the
...anyone missed the announcement, Debian is going to freeze packages
for Lenny quite soon. So, I humbly request that those responsible for
such things get the latest and greatest of everything packaged up for
Lenny before that happens. It is much easier to use various things, and
to get othe
Hi Ludovic,
Ludovic Courtès wrote:
I'm no expert in that area but I would suggest emailing the SRFI-19
mailing list [0] for advice.
[0] http://srfi.schemers.org/srfi-19/
This is not recommended, because srfi-19 is "currently unsupported, and
will likely remain so." [1] The recommendation I
Hi Scott,
Can you for some reason not use use-modules?
Regards,
Jon
Scott N. Walck wrote:
Dear Guilers,
Dan Gildea has ported a large fraction of Gerry Sussman's scmutils
code from MIT-scheme to guile. In doing so, he uses guile modules
instead of MIT-scheme environments. Much of the code cre
Congratulations, Neil and Ludovic!
Neil Jerram wrote:
A slightly belated announcement, but ...
Ludovic Courtès and I have been appointed as additional Guile
maintainers by the GNU project. This means that the full set (of
Guile maintainers) is now Marius, Ludovic and me.
Very broadly, the mai
Hi,
I was thinking that, in order to conform to much of the rest of the scm_
api, scm_error ought to be named scm_c_error, and scm_error_scm ought to
be named scm_error. Perhaps a change for the 1.9 branch.
Regards,
Jon
___
Guile-user mailing list
Ludovic Courtès wrote:
Mike Gran <[EMAIL PROTECTED]> writes:
This brings up another question. Should %load-path should generally
include /usr/local/share/guile/site by default?
Arguments in favor: it would keep symmetry with the emacs $(lispdir)
directory as described in the GNU coding standar
Hi Tom,
Make sure that gcc gets the flag -O2. This looks like the error I got
when I lacked that flag.
Regards,
Jon
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
Hi Bing,
Well, follow the directions. You can either set it to "no" and ignore
the problem (which might result in the code ceasing to work at some
point in the future when the deprecated feature is removed), or provide
more information so that a workaround or a replacement for the
deprecated
Marco Maggi wrote:
Thanks to all. Am I correct in saying that with a form like:
(a . body)
if the symbol 'a' appears in 'body' the graph is cyclic,
while if the symbol does not appear in its own body the
graph is Acyclic?
Well, it is immediately obvious that any graph (or digraph) which has
Jon Wilson wrote:
Hi Marco,
I cobbled something together for you real quick. Attached. The
function you want to call is make-graph. node-count is obvious*.
edge-density is the probability that any given node has an edge to any
other given node. Symbol names are read from /usr/share/dict
Hi Marco,
I cobbled something together for you real quick. Attached. The
function you want to call is make-graph. node-count is obvious*.
edge-density is the probability that any given node has an edge to any
other given node. Symbol names are read from /usr/share/dict/words.
* if you se
think of a better way
to do it, or if you just think I look funny, let me know.
Regards,
Jon Wilson
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
Hi Ludovic,
Thanks for committing my patch.
Ludovic Courtès wrote:
Note that most of the other undocumented symbols you listed are either
from RnRS or some SRFI.
It has been just long enough now that I don't remember exactly what I
did. I do recall that I took all r5rs symbols (that were li
Hi Ludovic,
Thanks for the suggestion. I likely never would have found
save-module-excursion on my own.
Ludovic Courtès wrote:
And no, it's not documented (patch welcome! ;-)).
Here we are: (attached)
Regards,
Jon
Index: api-modules.texi
=
rsion of load-with-env will not work. Furthermore,
(although I expected this to work even less...)
guile> (fluid? current-module))
#f
Regards,
Jon
Ludovic Courtès wrote:
Hi,
Jon Wilson <[EMAIL PROTECTED]> writes:
I was poking around the source (guile-core/libguile/modules.c)
Hi,
I was poking around the source (guile-core/libguile/modules.c), and
noticed that the current toplevel module is stored in a fluid named (in
C, anyway) "the_module". Is this fluid accessible from scheme? (it does
not appear to be) Is there a good reason why it should not be made
accessible?
w LOAD,
so that the ASL declarations could be split out into multiple files if
the user wanted.
Regards,
Jon
Marco Maggi wrote:
"Jon Wilson" wrote:
I'm writing a function to load up some data from a file and
stick it in a hash table.
Lemmesee if I get it:
1. data represe
Stephen Compall wrote:
The closure isn't "inside" any module; you merely gave it a binding in
your temporary module.
A. You seem to have effectively defuzzied my thinking. Again, thanks!
Jon
___
Guile-user mailing list
Guile-user@gnu.org
http:
Stephen Compall wrote:
What other Guile state might you want to modify in the dynamic context
of a load, though?
Dynamic-wind looks like a quite good idea here. I'll probably use
that. Thanks.
Well, I'm writing a function to load up some data from a file and stick
it in a hash table.
Hi,
I was wondering if there is a built-in way to eval the contents of a
file inside of an environment other than (current-module)? We have eval
and primitive-eval, and it seems that load is currently (conceptually) a
read, primitive-eval loop until eof is reached. Why not allow an
environme
Stephen Compall wrote:
Not exactly true:
Right. My bad. Thank you for clarifying.
Regards,
Jon
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
Hi,
The procedure hash-get-handle seems to be a less useful version of hash-ref.
guile> (help hash-get-handle )
`hash-get-handle' is a primitive procedure in the (guile) module.
-- Scheme Procedure: hash-get-handle table key
This procedure returns the `(key . value)' pair from the hash
t
put
from cvs diff.
Regards,
Jon
Jon Wilson wrote:
Hi,
Take a gander:
guile> (date->string (current-date))
"Wed Jun 27 16:39:42-0400 2007"
guile> (date->string (julian-day->date (date->julian-day
(current-date
"Wed Jun 27 12:39:43-0400 2007"
Offset b
Hi,
Take a gander:
guile> (date->string (current-date))
"Wed Jun 27 16:39:42-0400 2007"
guile> (date->string (julian-day->date (date->julian-day (current-date
"Wed Jun 27 12:39:43-0400 2007"
Offset by four hours from one another. Of course, the four hours comes
from the -0400 time zone. B
Hi again,
In the interest of getting things started, I took care of one of the
easy ones. I checked out the latest from CVS HEAD, and added both "1+"
and "1-" to the manual there. Here is the output from cvs diff
(attached). I have checked to make sure the docs still build properly.
They d
Hi all,
Every now and then, I get slightly annoyed at the number of things in
guile which seem to be completely undocumented. So, I decided to make a
list of them. Attached are the following flat text files, one symbol
per line:
bound: a list of symbols which are bound at startup, plus (use
to
know what it says. If you don't care whether or not anyone on this list
knows what your message says, then why are you posting it here in the
first place?
Jon Wilson
Thien-Thi Nguyen wrote:
release notes:
farfala.png fatto con inkscape. fresco!
thi
LEGGIMI ex
Hi Luca,
Ok, I think I've helped you. Now in return I'd like you to listen,
while I tell you a little story.
--snip all content--
Best wishes for your life,
Hear hear! I love a good impassioned speech, and particularly when it
is advocating the Right Thing.
You aren't by any chance
Teaching/MTP/Common/Strandh-Tutorial/indentation.html";
apply more or less to scheme as well. As that page says, indentation
rules are /not/ a matter of personal taste, but a matter of /shared
culture/.
Best of luck with your homework,
Jon Wilson
oriana paro wrote:
Hi. I'm learning scheme
Hi Andy,
I (clearly) don't think it is silly, but I don't think that the guile
developers should think it is silly either, as one of guile's original
goals was to be able to emulate other languages. Bash is a quite common
and useful language, so why shouldn't we try to emulate it? My idea
wo
Hi Per,
Per Bothner wrote:
You really don't want to do non-trivial programming in bash ...
Also, remember it's a different niche. If you try to combine bash
and scheme, you might get something that sort-of-works but has
terrible performance, debugability, etc.
But this is precisely what I'm ai
Hi Robby,
Just in case you haven't already heard about it, you might check out
scsh.
I've looked at scsh. The whole (run (ls)) thing is just too much noise
for me. It is slightly better than (system "ls"), but I still don't
quite like it well enough.
Regards,
Jon
__
Hi,
Jon Wilson wrote:
Perhaps the best way to implement this would be as an error handler
for the Unbound variable error.
Except the more I think about it, the more I suspect that this would in
fact require restarts a la common lisp. Why doesn't scheme (except MIT
scheme) have res
Hi Per,
Per Bothner wrote:
You really have to treat ls as a macro, which is resolved at
compile-time. Otherwise, it becomes near-impossible to
compile name-lookup efficiently. And if you can't compile
it, it's a toy.
Bash script is not compiled, but it is quite useful. Not a toy at all.
>
Hi,
I've been toying with an odd little idea for a bit. It would add a
whole slew of symbols to guile's toplevel, but might well make it much
more useful as a shell or as a system administration scripting
language. Suppose that we could run executable files found in the $PATH
as if we were j
Hi,
On the page
"http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/define_002a-Reference.html";,
in the first paragraph describing define* and define*-public, we have
the following:
They also support arbitrary-depth currying, just like Guile's define.
I found this very interesting, a
Hi Kevin,
Kevin Ryde wrote:
Jon Wilson <[EMAIL PROTECTED]> writes:
I need some help understanding what you've said.
AC_FUNC_ALLOCA in configure normally uses an alloca.c
(libguile/alloca.c) to provide alloca() if the compiler or C library
doesn't otherwise have
Hi Neil,
Neil Jerram wrote:
One thing to be aware of is that the so-called "portable"
implementation of alloca() in alloca.c just doesn't work with Guile,
because it doesn't really allocate memory on the stack.
alloca.c from where? From libc? If so, which libc? Or do you mean
some file al
Hi Neil,
In another email (perhaps in another thread), Gopi said that the usual
unpack, configure, make, make install was what he did. The problem with
alloca seems to be a real bug, but if so, as Kevin has said it would
properly be a matter for the autoconf people, not us. I'm waiting on
ge
Hi,
I'm still trying to get a shell account on my friend's FreeBSD machine.
Once I've got that, it shouldn't take very long to file a bug report.
Regards,
Jon
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile
Whoops I sent this email just to Kevin instead of the list... sorry folks.
Hi Kevin,
Assuming we're using the blob correctly then it's an autoconf problem.
Is the blob supposed to come before including ? Though that
sounds too easy to mess up, you'd hope the blob could be made to cope
with be
And here was Kevin's reply:
What I'm thinking is that perhaps there is a needed blob for using
stdlib?
Perhaps, though the previous version from autoconf didn't. What it
did used to have though was a wrapping #ifndef,
#ifndef alloca
# ifdef __GNUC__
# define alloca __builtin_alloca
# else
#
guile developer. There are much more thoroughly knowledgeable
people than myself who do that sort of thing. I am just a regular old
guile user.
Thanks for letting me help you!
Regards,
Jon Wilson
Gopi kumaran wrote:
Hi
You are welcome.Everything under guile is working fine now.I have to
go th
Hi,
So it looks like the blob in libguile/eval.c (lines 40-56) from the
autoconf manual to define alloca doesn't work on BSD systems. This is
in guile 1.8.1.
In the subdirectory libguile:
eval.c includes __scm.h
__scm.h includes scmconfig.h
scmconfig.h seems to only be created while make all
libgraph' words in my mail.
You are welcome to ask anything further
regards
Gopi
*/Jon Wilson <[EMAIL PROTECTED]>/* wrote:
Hi Gopi,
Also, we would like the solutions to your problems with:
- crt1.o undefined reference to main
- alloca
- libltdl not found
These
in the first 3 lines you may be having some other path mentioned.
Because of this it is asking the question "Is guile installed".
Change it to the path /usr/local/bin and save it
I hope this gave the solution
regards
Gopi
*/Jon Wilson <[EMAIL PROTECTED]>/* wrote:
Hi
lines you may be having some other path mentioned.
Because of this it is asking the question "Is guile installed".
Change it to the path /usr/local/bin and save it
I hope this gave the solution
regards
Gopi
*/Jon Wilson <[EMAIL PROTECTED]>/* wrote:
Hi Gopi,
I'm now
Hi Gopi,
I'm now rather confused. Are you still working on getting guile
installed? Everything below seems to be part of libgraph, which is a
completely separate animal from guile. On the guile-user mailing list,
we might be able to help you install guile (no guarantees, of course),
but any
Hi Gopi,
What output did make give before and after the error (just several
lines, at LEAST including the call to the compiler or the linker which
caused this error)? What are the values of some of your shell
variables, such as LD_LIBRARY_PATH, and the contents of the
/etc/ld.so.conf file? H
Hi Gopi,
Do you think you could find out what your colleague did? It is likely
quite important for us to know that, so that we can fix things so that
guile-1.8 installs smoothly on BSD in the future.
Regards,
Jon
Gopi kumaran wrote:
hi all
guile-config error gone.i dont know what my colleaug
Hi Steve,
steve tell wrote:
guile-config (at least in 1.6.x) is a script started with
"#!/usr/bin/guile" or in this case, perhaps "#!/usr/local/bin/guile"
If there was a problem building or installing the interpreter (or
perhaps the shared libraries it needs?) that might explain this result.
Gopi kumaran wrote:
hi
my path says
/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
*_/usr/local/bin_* /usr/X11R6/bin /root/bin
Looks good.
ls -ld /usr/local/bin/
drwxr-xr-x 3 root wheel 1536 dec 2 15:14 /usr/local/bin/
Looks good.
ls -ld /usr/local/
drwxr-xr-x 3 root wheel 15
to do now?is it because that i copied the folder to that bin folder?
help me
regards
gopi
*/Jon Wilson <[EMAIL PROTECTED]>/* wrote:
Hi Gopi,
Are you sure that the execute permissions are set for the
guile-config
executable? Check this with ls -l /path/to/guile-config
nuing
with ur #undef on line 43 to next error i.e permission denied.let me
see that and reply u in another mail.
Gopi
*/Jon Wilson <[EMAIL PROTECTED]>/* wrote:
Hi Gopi,
Try adding, in eval.c, a line just before line 44, which is as
follows:
#undef alloca
See if tha
Hi,
(non)Update on this old issue.
Neil Jerram wrote:
Good point. I believe Jon's going to raise this (inability to do
readline starting from the column after the prompt) with the readline
people.
I filed a bug report some time ago, since I was unable to find any sort
of users mailing list. I
Hi Kevin,
Kevin Ryde wrote:
Jon Wilson <[EMAIL PROTECTED]> writes:
$ chmod a+x /path/to/guile-config
Which is supposed to be done by guile-config/Makefile.am at install
time of course. If that didn't happen maybe there's some bug ...
Naturally. We'd need
n file included from ../libguile/scmconfig.h:29,
from ../libguile/__scm.h:76,
from eval.c:36:
/usr/include/stdlib.h:230:1: this is the location of the
previous definition
Error code 1
Expecting your early reply
regards
Gopi
*/Jon Wilson &l
Hi Gopi,
Are you sure that the execute permissions are set for the guile-config
executable? Check this with ls -l /path/to/guile-config . It should
look something like
$ ls -l /usr/local/bin/guile-config
-rwxr-xr-x 1 root root 9110 2006-11-30 10:00 /usr/local/bin/guile-config
The gibberish
Hi Gopi,
Could you please send plain text emails with the actual message in the
body of the email rather than an attached forwarded message? This sort
of thing is slightly annoying and makes it slightly more difficult for
us to help you.
I'm not really familiar with the BSDs, but perhaps you nee
Hi Neil,
What seems very reasonable, however, would be a way for a module to
discover whether it is being loaded for use-syntax or use-module, so
that it can emit a warning, or even signal an error, if the use is
inappropriate.
Perhaps something like this...
(define-module (ice-9 syncase)
.
Hi Neil,
Whoever is doing (use-modules (ice-9 syncase)) needs to do (use-syntax
(ice-9 syncase)) instead.
I see this fairly often. Perhaps there should be some little widget in
(ice-9 syncase) which says "If you try to use=modules me, you will
actually get use-syntax instead.). Or could an
Hi Daniel,
Sorry I can't really shed any light on this, but I would like to point
out that the old definition from 1.6.4 is, to me at least, much more
clear. I wouldn't even like to hazard a guess as to what the
"eval-closure-module" function returns, but the procedure-property
invocation is
Hi Neil,
Thanks for responding.
It looks like both Rob and Kevin are away at the moment, and they're
the guys that know about this. Do you have a specific deadline?
No, I'd just like to see it happen. I'd like to see more people using
guile, as I think it would help the project, and I suspe
Hi,
I also would be interested in having guile-1.8 for debian (and thus for
ubuntu as well). Let's get it done!
From Kevin Ryde
* guile.init: Fixed line-i/o in Guile >= 1.8.
Is this the fix which packagers have been waiting for?
I don't know. I hope it is. Is there anything that I (
Hi Shrek,
I believe that when you download the guile-1.8 source, that the
documentation comes along with it as texinfo. You can make pdf, ps,
whatever, from the texinfo source.
Regards,
Jon
shrek wrote:
I need the printable version of "Reference Manual for Guile 1.8" and
"How to Extend C Pr
Hi HB,
Really this is a question for a readline mailing list, group, or forum. In
the future, please don't cross-post like this. But since you've sent your
message here already, could you send a more complete transcript of the
output from configure and especially from make? Also, please describe
Hi Kevin,
It might be as simple as
(readline "foo: ")
Not sure if that's meant to be documented, seems like a pretty
sensible usage, even if reading current-input-port might be usual.
Sorry, I think I misunderstood you before. I thought you had gotten
confused between `read-line' a
Hi Kevin,
(readline "foo: ")
This gives an error.
(read-line (current-input-port) 'trim "foo: ")
does not give an error, but "foo: " is ignored. The first two arguments
are the port to read from and the handle-delim value. Any further
arguments seem to be completely ignored. Sor
Hi,
I'm trying to read user input (interactive) using guile. I'd like to use
(ice-9 readline), so that the user can use backspace and history and such.
I'd also like to have a prompt at the beginning of the line. These last
two desires seem to be incompatible, at least mod my best efforts.
Hi Neil,
Guile 1.8 is the same as 1.6, except that the function slot is used by
the experimental Emacs Lisp support that Guile 1.8 has (to hold a
symbol's Lisp function value, as you'd probably guess). It's still
true that you would be wise to use (make-object-property) instead,
though.
Sound
Hi,
The manual for 1.8, at
"http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/Symbol-Props.html#index-symbol_002dpset_0021-883";,
says the following:
>Support for these extra slots may be removed in a future release, and it
>is probably better to avoid using them. (In release 1.6, Guil
Hi Marco,
I wonder if it is possible to use an async for this? I've never used
asyncs, so I'm not sure of their capabilities, but it seems like that would
be the natural way to implement something like this.
Regards,
Jon
Marco Maggi wrote:
Is it possible to have an ATEXIT function? That is:
Hi Neil,
Neil Jerram wrote:
Jon Wilson <[EMAIL PROTECTED]> writes:
Hi y'all,
I just ran across the function 'repl' ( #), which doesn't have a docstring, and doesn't appear in the
manual (well, ok fine, the procedure index of the manual). I'm using
1.
Hi y'all,
I just ran across the function 'repl' ( #print)>), which doesn't have a docstring, and doesn't appear in the manual
(well, ok fine, the procedure index of the manual). I'm using 1.8.
I tried calling it as:
(repl read primitive-eval display)
but that didn't seem to give very meaningfu
Thanks, Neil. Sounds like an excellent answer!
Regards,
Jon
Neil Jerram wrote:
[EMAIL PROTECTED] writes:
On Sat, Jul 22, 2006 at 11:19:28AM -0500, Jon Wilson wrote:
Hi,
Is there a good way to determine the number of arguments that a given
procedure will take?
Here's a fishin
Hi Ralf,
[EMAIL PROTECTED] wrote:
What doesn't work with 'arity'?
Ah. The answer to that question is "It is not documented in the guile
manual, nor in R5RS.".
Regards,
Jon
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mai
Hi,
Is there a good way to determine the number of arguments that a given
procedure will take? I suppose I can look at
(source proc)
and extract the list of formals, and write a procedure which does this
automatically, but I'd hate to reinvent the wheel. Also, I'm not sure how
well using sou
Thanks to all, this looks helpful.
Ludovic Courtès wrote:
Hi,
Jonathan Wilson <[EMAIL PROTECTED]> writes:
Is it possible to call scm_shell with different stdin and stdout? The
primary purpose of this that I can see would be to run a guile shell
inside a text area of a gui or something like
Similarly, gh_eval_str is pointed at scm_c_eval_string, but I only find
scm_eval_string.
Regards,
Jon
Jon Wilson wrote:
Hi,
In the section of the manual titled "Transitioning away from GH", under
the gh_ procedure "gh_eval_file", we are instructed to use
Hi,
In the section of the manual titled "Transitioning away from GH", under the
gh_ procedure "gh_eval_file", we are instructed to use the scm_ procedure
"scm_c_primitive_load". However, the procedure index does not list this
function; it instead lists a function called "scm_primitive_load".
Hi all,
How about having the ability to capture the current lexical environment and
use it as an environment for eval? Something like call/cc, but I guess
call/env. In essence, this would make environments useful as first class
objects (perhaps).
(define my-env #f)
(let ((a 0) (b 1) (c 2))
Mildred wrote:
I also like the object-oriented way to call functions/methods, that is
the functions are not defined globally but related to an object. For
example, I think about :
((myobject 'mymethod) parameters ...)
I prefer that to
(myclass-mymethod myobject parameters ...
Hi,
I was wondering if there was any code somewhere to profile my guile code as
it runs? For finding where optimization is needed, of course.
I found the following thread from [EMAIL PROTECTED]
http://sourceware.org/ml/guile/1998-08/msg00114.html
But there doesn't seem to be anything at all i
Hi,
Steele & Gabriel: The Evolution of Lisp, 1993, page 57-59.
This can be found here:
http://www.dreamsongs.com/NewFiles/HOPL2-Uncut.pdf
In this pdf, I think the relevant section is pages 85-87.
I'm not sure what HOPL stands for, though.
Regards,
Jon
_
Hi y'all,
Is there any sensible way to implement the following semantics:
(+ (values 1 2))
==>
3
Or perhaps with a macro of some sort (but preferably as above)...
(+ (values->list-elements (values 1 2)))
==>
3
The intermediate step (after the macro expansion I guess) would look like
(+ 1 2)
=
Hi,
I guess this is slightly OT, but I was wondering if there has been any
activity lately as regards lisp hardware? I have heard about "lisp on a
chip", or scheme-78, 79, but as far as can tell, that died ages ago, and I
can't even find a way to get an old chip anywhere. Anybody?
Regards,
J
Hi Vincent,
Don't try this just yet. I want other people to give it a look-over and
make sure it isn't foolish and dangerous before anybody lets it out in the
wild.
This doesn't use the exception, and it doesn't use a c function, and it
doesn't do database lookups. However, it can be used
Hi Neil,
Neil Jerram wrote:
I still think that something within the language would be useful,
Jon,
You may well be right. Although my initial thought was to see it as
more natural to run guile within an editor (or some kind of IDE, more
generally), having the other way round available as we
1 - 100 of 122 matches
Mail list logo