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
Re: list module with O(1) append function
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-30 (02:15)
From: Jeffrey Loren Shaw <shawjef3@m...>
Subject: Re: list module with O(1) append function
tail-rec cons: 

let cons a l =
 Append ([a], l) 

Also, me and zmdkrbou at #ocaml are wondering what exactly the 
performance characteristics of this list module are. Specifically, when the 
lists are constructed only using library functions.