From: Berke Durak <obdurak@free.fr>
To: David Thomas <david_hd@yahoo.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Puzzle
Date: Sat, 27 Aug 2005 13:53:47 +0200 [thread overview]
Message-ID: <20050827115347.GA3859@ara.zapto.org> (raw)
In-Reply-To: <20050826192117.98447.qmail@web30503.mail.mud.yahoo.com>
On Fri, Aug 26, 2005 at 12:21:17PM -0700, David Thomas wrote:
> I have three lists that I would like to have sorted
> through user interaction. I can, of course, say
> "List.sort ask list" for each list. What if, however,
> rather than sorting each list in turn, I wanted the
> questions to be interleaved, either randomly or in a
> prespecified sequence? Is it possible to do this
> without reimplementing sort? I easily could, but it
> seems more fun without...
Of course, you could first ask all the questions to the user and store the
answers, then use List.sort.
--
Berke Durak
prev parent reply other threads:[~2005-08-27 11:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-26 19:21 Puzzle David Thomas
2005-08-26 20:27 ` [Caml-list] Puzzle Christophe Raffalli
2005-08-27 11:53 ` Berke Durak [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050827115347.GA3859@ara.zapto.org \
--to=obdurak@free.fr \
--cc=caml-list@yquem.inria.fr \
--cc=david_hd@yahoo.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