help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: some possible bugs and getting procedure on the top of the stack


From: Ludovic Courtès
Subject: Re: some possible bugs and getting procedure on the top of the stack
Date: Sat, 19 Mar 2016 21:54:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hello!

Did you mean to email address@hidden

Alex Vong <address@hidden> skribis:

> When trying to write some C binding to flex using libguile-2.0, I notice 

FWIW, I’d suggest using something like Danny Dubé’s SILex instead of
writing bindings to Flex.

> Besides, when reading
> <https://libreplanet.org/wiki/Group:Guix/GSoC-2016>,
> I notice librejs flags the scipts as non-free, such as,
> <https://libreplanet.org/w/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*>.
> Is this a known issue?

No, probably worth reporting the the web site admins?

> Finally, how should I get the running procedure?
> Currently, I am using the following code:
>
> (define my-proc-name
>   (lambda _
>     (frame-procedure (stack-ref (make-stack #t) 1))))
>
> (my-proc-name)
> ==> #<procedure my-proc-name _>
>
> Is there better way to achieve this? Can continuation be used to
> implement this? My guess is no, since you can only get "the next thing
> to do" but not "the current thing you are doing". Am I right?

Right.  However, note that the above may not always work especially on
Guile 2.1/2.2.

> Off-topic
> =========
> Also, I think I am interested in being a GSOC student. The project ideas
> look tough though! Also, I need a new laptop, the '9' and '0' key
> sometimes doesn't work. I guess it is because I am typing too much '('
> and ')'.

:-)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]