Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
how can I express empty element?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Su Zhang <westlifezs@g...>
Subject: how can I express empty element?
Hi all,

I have a question on ocaml, is there a way to write a empty element say a
which can make a::ax=ax ? I tried to find out in library, yet I didn't get
the right way out, and it doesn't work if I make a=[], so do you know
whether there is a technique can realize this function?  I've got stuck on
this point for a very long time.


Su Zhang
PHD Student
Computer Information and Science
Kansas State University