() Panicz Maciej Godek
() Fri, 19 Jul 2013 15:52:30 +0200
> In this case, are OpenGL "lights" not amenable to wrapping as a SMOB?
I've been considering making new type for lights -- perhaps that
would be a little more introspective -- but it turned out more
efficient to represent the
I agree with Thien on that all resource-management should be delegated
to the garbage collector via smob types.
However, I found this supply-demand pattern quite neat (could have other
uses perhaps), was kind of bored, with a little free time on my hands,
and enjoy an occasional exercise in delimi
2013/7/19 Thien-Thi Nguyen
> () Panicz Maciej Godek
> () Fri, 19 Jul 2013 12:39:55 +0200
>
>and the whole thing can be used as follows
>
>(let ((resources '()))
> (supply (((release-resource r)
> (set! r (cons r resources
>(let ((r (allocate-resource)))
() Panicz Maciej Godek
() Fri, 19 Jul 2013 12:39:55 +0200
and the whole thing can be used as follows
(let ((resources '()))
(supply (((release-resource r)
(set! r (cons r resources
(let ((r (allocate-resource)))
(demand 'release-resource r)
On 9/27/05, Ludovic Courtès <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Vorfeed Canal <[EMAIL PROTECTED]> writes:
>
> > 1. Not really:
> > A. They are usually useless for programs not linked to guile - and
> > such programs will know where to find them anyway since libguile will
> > know this.
>
> Li
Hello,
Vorfeed Canal <[EMAIL PROTECTED]> writes:
> 1. Not really:
> A. They are usually useless for programs not linked to guile - and
> such programs will know where to find them anyway since libguile will
> know this.
Libguile knows where _any_ third party library (the shared object) gets
in
On 9/27/05, Ludovic Courtès <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Vorfeed Canal <[EMAIL PROTECTED]> writes:
>
> > But what about GUILE extensions written in C ? Lack of sane
> > place to put C glue libraries bothers me.
>
> Extension libraries written in C can also be thought of as actual
> librarie
Hi,
Vorfeed Canal <[EMAIL PROTECTED]> writes:
> But what about GUILE extensions written in C ? Lack of sane
> place to put C glue libraries bothers me.
Extension libraries written in C can also be thought of as actual
libraries (for example, they may export C functions that wrap/unwrap
Scheme ob
On 9/26/05, Ludovic Courtès <[EMAIL PROTECTED]> wrote:
>
> Fortunately, `guile-library' contains an implementation of SRFI-35's
> hierarchical error conditions, and both `guile-library' and Guile (1.7)
> implement SRFI-34's exception handling routines. Only SRFI-36 (I/O
> error conditions) is miss