Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Caml-get 0.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@t...>
Subject: Re: [Caml-list] Caml-get 0.1
On Mon, 2004-01-19 at 03:42, Maxence Guesdon wrote:
> Hello,
> 
> I'm pleased to announce the first release of caml-get, an experimental 
> tool to distribute and get Objective-Caml code, in a way similar to the
> apt-get utility.

I've had a brief look, and it looks quite
interesting, but I have a question:

(1) How does it handle licencing issues?


(2) Another comment:
(** This function returns the content of a file in the form of one
string.
   @cgname Files.input_file_as_string 
   @version 1.0
*)
val input_file_as_string : string -> string

This is too heavy for regular use. 
How about a quick defaulted form:
------------------------------------------
(**@cgscan:File @version 1.0 *)
(*Near the top of the .mli file, enable scanning,
default to putting things in the File repository module *)
....
....
(**@* This function ....*)
(* ^^ says to export as named using default module and version *)
------------------------------------------

This means once you have set up the files for scanning,
you can add documented elements with two keystrokes.
You can still use the heavy form of course.

-- 
John Max Skaller, mailto:skaller@tpg.com.au
snail:25/85c Wigram Rd, Glebe, NSW 2037, Australia.
voice:61-2-9660-0850. Checkout Felix: http://felix.sf.net




-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners