From: Jesper Louis Andersen <jesper.louis.andersen@gmail.com>
To: "Christoph Höger" <christoph.hoeger@tu-berlin.de>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Map that maintains insertion-order on keys
Date: Thu, 14 Jul 2016 20:35:56 +0200 [thread overview]
Message-ID: <CAGrdgiV_u0GeE4gNqnWcBncO0m9EG=0FV2OakejHa=kgXdg9wg@mail.gmail.com> (raw)
In-Reply-To: <2a4393e2-eea1-1876-f29a-188ed992e5b4@tu-berlin.de>
[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]
Hi,
Could you give some small example of what you want or a more precise
definition? I can think of at least 3 ways to parse meaning out of "gives
keys in order of insertion", and I don't know which you might want.
On Thu, Jul 14, 2016 at 8:02 PM, Christoph Höger <
christoph.hoeger@tu-berlin.de> wrote:
> Dear all,
>
> I need a data structure has all the functionality of a Map.t but also
> gives keys in the order of insertion. Is such a structure readily
> available in some OCaml library?
>
> thanks,
>
> Christoph
> --
> Christoph Höger
>
> Technische Universität Berlin
> Fakultät IV - Elektrotechnik und Informatik
> Übersetzerbau und Programmiersprachen
>
> Sekr. TEL12-2, Ernst-Reuter-Platz 7, 10587 Berlin
>
> Tel.: +49 (30) 314-24890
> E-Mail: christoph.hoeger@tu-berlin.de
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
--
J.
[-- Attachment #2: Type: text/html, Size: 2008 bytes --]
next prev parent reply other threads:[~2016-07-14 18:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-14 18:02 Christoph Höger
2016-07-14 18:35 ` Jesper Louis Andersen [this message]
2016-07-14 18:44 ` Christoph Höger
2016-07-14 19:07 ` Jesper Louis Andersen
2016-07-14 19:10 ` Gabriel Scherer
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='CAGrdgiV_u0GeE4gNqnWcBncO0m9EG=0FV2OakejHa=kgXdg9wg@mail.gmail.com' \
--to=jesper.louis.andersen@gmail.com \
--cc=caml-list@inria.fr \
--cc=christoph.hoeger@tu-berlin.de \
/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