[Top][All Lists]

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

Re: miniAdapton

From: Amirouche
Subject: Re: miniAdapton
Date: Sun, 30 Apr 2017 11:55:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0


Le 29/04/2017 à 12:40, Catonano a écrit :
I'd like to run miniAdapton in Guile

here's the repo

Now: how do I get it running in Guile ?

What are those .sld files ?

What about thos "define-library" and "library" forms ? Are those a r7rs
thing ?

For reference:

here's an amazing talk given by the awesome William Byrd

here's an article

Thanks in advance

Well, this requires a more time that I want to give to it to understand
it correctly.

FYI the following works:

~/src/guile/miniAdapton$ guile -L .
GNU Guile 2.2.0
Copyright (C) 1995-2017 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (use-modules (miniadapton))
scheme@(guile-user)> (define-avar a 1)
scheme@(guile-user)> (avar-get a)
$1 = 1
scheme@(guile-user)> (define-avar b 2)
scheme@(guile-user)> (define-avar c (+ (avar-get a) (avar-get b)))
scheme@(guile-user)> (avar-get c)
$2 = 3
scheme@(guile-user)> (avar-set! a 10)
scheme@(guile-user)> (avar-get c)
$3 = 12

In theory this kind of framework could be put to good use, to implement
the equivalent of PostgreSQL Materialized view [1] that are refreshed

How do you want to use it?


reply via email to

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