Search the web
Sign In
New User? Sign Up
ocaml_beginners · Ocaml Beginners
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 5366 - 5395 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
5366
On Sun, Jan 29, 2006 at 02:47:39PM +0100, Oliver Bandel wrote: [...] ... [...] Maps of Maps? Ciao, Oliver...
Oliver Bandel
oliver@...
Send Email
Feb 1, 2006
7:38 pm
5367
Sorry for what I know must be a newbie question. I'm trying the simplest program I can for calling ocaml from C++. Can someone help me out with the link error?...
ker527mail
Offline Send Email
Feb 2, 2006
12:15 am
5368
Hi, I have worked a find-union data structure. Besides the standard pointers and counters each node of this data structure may possess a user-defined data...
Hugo Ferreira
hugotwo3
Offline Send Email
Feb 2, 2006
5:15 pm
5369
Hi, I think I have figured it out. Basically what I want is to create an ADT. After reading up some more I have come to the conclusion that the correct...
Hugo Ferreira
hugotwo3
Offline Send Email
Feb 3, 2006
8:53 am
5370
hello all, this is again on my favorite theme : recursive functions and memorizing of values ... Remember the problem was to make the interpreter remember...
roparzhhemon
Offline Send Email
Feb 4, 2006
6:39 am
5371
I have suddenly started having a strange problem with compiling, and it happens even with a one line program. If I have a one line program saved in a file...
vly3
Offline Send Email
Feb 4, 2006
6:43 am
5372
... It happened to all of us. The first time it's a little disturbing :-) See http://www.ocaml-tutorial.org/common_error_messages Martin -- Martin Jambon, PhD ...
Martin Jambon
BioMim
Offline Send Email
Feb 4, 2006
6:52 am
5373
... Thanks for the fast response. I'm glad to find out it was so simple! I guess I never encountered it before because I had always assigned something to the...
vly3
Offline Send Email
Feb 4, 2006
7:02 am
5374
... I see what you are trying to do (by the way, some indenting and whitespace would greatly improve the readability of your example). I don't think it is...
Martin Jambon
BioMim
Offline Send Email
Feb 4, 2006
9:00 am
5375
Thank you for your clear answer, it solves my problem completely. I'll have to learn some camlp4... Just another question : with your method (if I understood...
roparzhhemon
Offline Send Email
Feb 4, 2006
11:20 am
5376
hello all, the output in the interpreter will tell the story : Objective Caml version 3.09.0 # #load"camlp4o.cma";; Camlp4 Parsing version 3.09.0 # let gram =...
roparzhhemon
Offline Send Email
Feb 4, 2006
2:57 pm
5377
you need to #load "pa_extend.cmo" before the instruction. Look at section 1.2 of the tutorial. ... Andres Varon Computer Science Department Graduate Center,...
Andres Varon
avlondono
Offline Send Email
Feb 4, 2006
3:23 pm
5378
hello all, I followed step by step the Camlp4 tutorial until section 3.8. Here there is a command like this : EXTEND expr: LEVEL "simple" [ [ x = LIDENT -> fun...
roparzhhemon
Offline Send Email
Feb 4, 2006
5:17 pm
5379
... The following code can be compiled without an error: let x : int list ref = ref [];; The '_a means it's not a universal type (like 'a), but just a type...
Brian Hurt
bhurt42
Offline Send Email
Feb 4, 2006
5:19 pm
5380
... Yes ... Sure. If you don't want the function to be recursive, you would need another keyword though. I suggest you define a keyword which does not imply...
Martin Jambon
BioMim
Offline Send Email
Feb 4, 2006
11:05 pm
5381
... The name changed from loc to _loc in the middle of the 3.08.x series. You can control this with the -loc option. In order to understand where it comes...
Martin Jambon
BioMim
Offline Send Email
Feb 5, 2006
3:38 am
5382
Hello, can represent me someone the solution of the following task: To implement a class must for the representation of a concatenated list, which can take up...
bonita (sent by Nabbl...
lists@...
Send Email
Feb 6, 2006
9:19 am
5383
... Hash: SHA1 Hello, I want to define a typsafe set of records to use it as translation-table, pE: type foo_or_bar should be number:1; val:20; label:"foo" or ...
Andreas Romeyke
romeyke@...
Send Email
Feb 6, 2006
1:50 pm
5384
Hello, I'm not sure I understand what you want to do, but here is a first suggestion : type foo_or_bar=Foo |Bar;; let number_of_foo_or_bar=function...
roparzhhemon
Offline Send Email
Feb 6, 2006
3:28 pm
5385
... If you want to define your table as a constant *value*, without a closely restricted type, here is a way (array of records): let foo_or_bar = [| {number:1;...
Frederic van der Plan...
fplancke2001
Offline Send Email
Feb 6, 2006
3:51 pm
5386
... Hash: SHA1 Hello, ... Yep, that is the right direction... type foo = {number: int; value:int;label:string};; type bar = {number: int;...
Andreas Romeyke
romeyke@...
Send Email
Feb 6, 2006
3:51 pm
5387
Hello, I've written code inside one compilation unit, that has a some of functions. Some of them I want to have separated and use as parameters for the other...
Oliver Bandel
oliver@...
Send Email
Feb 6, 2006
5:00 pm
5388
Following the example from the oreilly-book I tried this: (* starting from here let c = ref 0 let reset = function () -> c := 0 let newsymb = function s ->...
Oliver Bandel
oliver@...
Send Email
Feb 6, 2006
5:33 pm
5389
... Ah, I think I see now ... The short answer to your question is : no, there is nothing "easy, homemade, automatic" in Caml to do what you want. There are a...
roparzhhemon
Offline Send Email
Feb 6, 2006
5:40 pm
5390
... it is customary to write the "in" at the end of the line and avoid indenting subsequent lines, thus: let closure = function () -> let c = ref 0 in let...
Frederic van der Plan...
fplancke2001
Offline Send Email
Feb 6, 2006
5:50 pm
5391
Hello all, I've got a problem again with a command in the CamlP4 tutorial : if I type the command in section 3.6 (below) I get a compound error message...
roparzhhemon
Offline Send Email
Feb 6, 2006
6:05 pm
5392
... The quotations are the things of the form <:quotation_expander< ... >> This general syntax is supported by the camlp4 parser, in addition to the regular...
Martin Jambon
BioMim
Offline Send Email
Feb 6, 2006
8:59 pm
5393
... I two issues here: 1) putting several kinds of objects into the same type: that's something you can do very naturally in OCaml using sum types (variants). ...
Martin Jambon
BioMim
Offline Send Email
Feb 6, 2006
9:27 pm
5394
Have a system: Image SLES9-1 Revision 7 Kernel = Linux 2.6.5-7-smp #1 SMP Thu Jan 27 09:19:29 UTC 2005 i686 i686 i386 GNU/Linux ocaml-3.09.1-1.rhfc4.i386.rpm ...
ibyte8bits (sent by N...
lists@...
Send Email
Feb 6, 2006
11:29 pm
5395
Hi everybody, I am in the process of writing the documentation for a small project using ocamldoc (html and latex output) and I am wondering if there is a ...
patrick jayet
jayetp@...
Send Email
Feb 7, 2006
7:09 am
Messages 5366 - 5395 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help