Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] What does this mean?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] What does this mean?
On Tue, 2004-04-13 at 14:26, skaller wrote:
> Can someone explain what this means .. 
> 
> Invalid_argument("equal: abstract value")

Argg! Found it! Hmmm. My representation
of literals is the problem:

and literal_t =
  [
  | `AST_int of string * big_int
  | `AST_string of string
  | `AST_cstring of string
  | `AST_wstring of string
  | `AST_ustring of string
  | `AST_float of string * string
  ]

where you see 'big_int' is an abstract type.
I'm lucky, I can fix this easily,
'List.assoc' is easy to rewrite :D

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language 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