unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Thien-Thi Nguyen <ttn@gnuvola.org>
Cc: guile-user@gnu.org
Subject: Re: return-it -> ???
Date: Wed, 13 Jan 2010 21:04:13 +0100	[thread overview]
Message-ID: <m3hbqplqki.fsf@pobox.com> (raw)
In-Reply-To: <871vhutrfd.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Wed, 13 Jan 2010 08:06:14 +0100")

On Wed 13 Jan 2010 08:06, Thien-Thi Nguyen <ttn@gnuvola.org> writes:

> () Andy Wingo <wingo@pobox.com>
> () Tue, 12 Jan 2010 20:47:02 +0100
>
>    (define return-it
>      (case-lambda
>        (() #f)
>        ((x . _) x)))
>
> Is something like this already in Guile?

Nope. Probably won't be, either.

I think basically if you want a quick port to 1.9, you should make a
module that shims 1.9 to have a more 1.4-like interface, and have all of
your code use it. `return-it' can go there. Then you can adapt your code
later, if you want, or keep using that shim if you want.

Andy
-- 
http://wingolog.org/




  reply	other threads:[~2010-01-13 20:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11  9:51 return-it -> ??? Thien-Thi Nguyen
2010-01-11 22:05 ` Ludovic Courtès
2010-01-12  4:35   ` Thien-Thi Nguyen
2010-01-12 13:54     ` Andreas Rottmann
2010-01-12 19:47 ` Andy Wingo
2010-01-13  7:06   ` Thien-Thi Nguyen
2010-01-13 20:04     ` Andy Wingo [this message]
2010-01-13 20:38       ` 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=m3hbqplqki.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=guile-user@gnu.org \
    --cc=ttn@gnuvola.org \
    /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).