From: chaithanya kr <krc.cse@gmail.com>
To: caml-list@yquem.inria.fr
Subject: New to Ocaml
Date: Mon, 1 Feb 2010 23:18:07 -0500 [thread overview]
Message-ID: <a892eb141002012018y28ff8779wce2c84b18ef7002a@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 391 bytes --]
Hi all. I am new to Ocaml. Just started learning recently.
I was studying lists in ocaml. In that, suppose there is a list by name
singly_list, then by saying "List.length singly_list;;" I will get the
length of the linked list.
Similarly can anyone tell me as to how to sort a linked list using the
'sort' function? Please give me an example of using List.sort.
Thank you
Bye
Chaitanya
[-- Attachment #2: Type: text/html, Size: 442 bytes --]
next reply other threads:[~2010-02-02 4:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-02 4:18 chaithanya kr [this message]
2010-02-02 4:27 ` [Caml-list] " Erik de Castro Lopo
2010-02-02 7:22 ` Miguel Pignatelli
2010-02-02 8:58 ` Richard Jones
2010-02-02 13:04 ` chaithanya kr
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=a892eb141002012018y28ff8779wce2c84b18ef7002a@mail.gmail.com \
--to=krc.cse@gmail.com \
--cc=caml-list@yquem.inria.fr \
/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