unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Romel Sandoval <romel@lavabit.com>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-user@gnu.org
Subject: Re: Data Dictionary and Configuration Files with Guile Scheme
Date: Wed, 18 Aug 2010 12:38:39 -0500	[thread overview]
Message-ID: <1282153119.2997.42.camel@romel-compaq> (raw)
In-Reply-To: <m3r5hvvrc8.fsf@unquote.localdomain>

El mié, 18-08-2010 a las 09:05 -0700, Andy Wingo escribió:
> On Thu 05 Aug 2010 10:15, Romel Sandoval <romel@lavabit.com> writes:
> 
> > I'm trying to create a data dictionary [1] to generate code from it.
> [...]
> > This way I can write s-exp as in the example *projects-table* an after a
> > load I will have the data structure ready to work with it.
> 
> I think you are quite confused :) Use procedures, not macros. If you
> really want to use s-expressions, use alists and define accessor
> procedures, and be sure not to mutate literal values. You could use hash
> tables and records also. Or myriad other data structures. Read
> http://mitpress.mit.edu/sicp/, especially the chapters on data
> abstraction and state.

Now I see. Thanks.

> 
> But above all, don't take your data structure advice from anyone who
> mentions SQL :)

The problem it's that I haven't found any alternative to SQL :-( So I'm
trying to manage the problem.

SQL alternative?... Anyone?

Romel






  reply	other threads:[~2010-08-18 17:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-05 17:15 Data Dictionary and Configuration Files with Guile Scheme Romel Sandoval
2010-08-05 21:04 ` No Itisnt
2010-08-18 16:05 ` Andy Wingo
2010-08-18 17:38   ` Romel Sandoval [this message]
2010-08-18 18:20 ` Thien-Thi Nguyen
2010-08-20 14:10   ` Romel Sandoval
2010-08-20 14:39     ` Thien-Thi Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1282153119.2997.42.camel@romel-compaq \
    --to=romel@lavabit.com \
    --cc=guile-user@gnu.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).