English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
New to Ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-02-02 (04:18)
From: chaithanya kr <krc.cse@g...>
Subject: New to Ocaml
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