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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dustin Sallings <dustin@s...>
Subject: [Caml-list] newbie type problem

	I'm fairly new to caml, but have run into something I can't seem to 
figure out.

	I'm trying to rewrite an application I'd originally written in python 
(and scheme, and eiffel, and C, etc...), but I can't seem to figure out 
how to define the type I want.  Basically, it might look something like 
this:

type per_block = {
     pb_ts: int;
     pb_counts: [hashtable goes here];
     pb_times: [hashtable goes here];
};;

	Can anybody tell me what I'm actually trying to do here?

--
SPY                      My girlfriend asked me which one I like better.
pub  1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net>
|    Key fingerprint =  87 02 57 08 02 D0 DA D6  C8 0F 3E 65 51 98 D8 BE
L_______________________ I hope the answer won't upset her. ____________

-------------------
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