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...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 576 - 605 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
576
I want to use hashtable on my objects which all has a method get_string:string. but i can only write the code like these: module SeqHashType = struct type t=...
climb
onlyclimb
Offline Send Email
Nov 4, 2002
7:04 am
577
... Why not??? ... Time to see mingw32... Gergo +-[Kontra, Gergely @ Budapest University of Technology and Economics]-+ ... +-------"Olyan langesz vagyok, hogy...
Kontra, Gergely
kgergely@...
Send Email
Nov 4, 2002
1:46 pm
578
... Well, it's a matter of honesty. Why be honest ? It's your problem. By the way : "The source code for a work means the preferred form of the work for making...
Remi VANICAT
dl_ens
Offline Send Email
Nov 4, 2002
2:44 pm
579
Can anyone explain why the type of s is not the same in these two sessions (ocaml 3.04) ? # let s = `A :: [];; val s : [> `A] list = [`A] # let cons e l =...
Julien Cohen
jucohen91
Offline Send Email
Nov 6, 2002
12:59 pm
580
... FAQ : http://caml.inria.fr/FAQ/FAQ_EXPERT-eng.html#variables_de_types_faibles -- Rémi Vanicat vanicat@... ...
Remi Vanicat
dl_ens
Offline Send Email
Nov 6, 2002
1:30 pm
581
In the FAQ I see that map is polymorphic and id is polymorphic but (map id) is not : # List.map (function x -> x);; - : '_a list -> '_a list = <fun> #...
jucohen91
Offline Send Email
Nov 6, 2002
3:03 pm
582
... Well, the fact is that no value that is the result of the application of a function to something can be polymorphic. Why ? because of # let f x = let mu =...
Remi VANICAT
dl_ens
Offline Send Email
Nov 6, 2002
3:08 pm
583
... To tell the truth I don't do this with any ocaml code, so no idea. But I think: whenever you must use gcc. But please consider using the mingw compilers...
Kontra, Gergely
kgergely@...
Send Email
Nov 6, 2002
4:59 pm
584
Hello to everybody. I've found a grep-like ocaml program at http://www.oefai.at/~markus/ocaml_sources/pcre-ocaml-4.28.3/examples/pcregrep/ Does anybody know...
Stalkern 2
stalkern2
Offline Send Email
Nov 11, 2002
9:28 am
585
... I'm now trying Str.regexp, but it does not understand things like the { } notation, i.e. {<minimum number of occurrences>, <maximum number of occurrences>}...
Stalkern 2
stalkern2
Offline Send Email
Nov 11, 2002
2:42 pm
586
Hello to everybody I often meet the word "blit" in function names, such as Graphics.blit_image, StringLabels.blit ... what does b l i t stand for? Thank you ...
Stalkern 2
stalkern2
Offline Send Email
Nov 12, 2002
8:32 am
587
I was stuck with Str.string_match because I want to use the {min/max quantifier} notation, and Str.string_match apparently does not allow this. Since...
Stalkern 2
stalkern2
Offline Send Email
Nov 12, 2002
8:53 am
588
... From Jargon File (4.3.3, 20 Sep 2002) [jargon]: blit /blit/ vt. 1. [common] To copy a large array of bits from one part of a computer's memory to another...
Stefano Zacchiroli
zack@...
Send Email
Nov 12, 2002
9:20 am
589
Markus Mottl himself was so kind to come and help out. He made a new release of pcre-ocaml with a very handy function, that is called extract_all and gives for...
Stalkern 2
stalkern2
Offline Send Email
Nov 12, 2002
11:37 pm
590
Hi, I wonder why my class interface hides the 'new' constructor in the following example. I have a foo class in foo.ml ... class foo = object method bar...
Julien Cohen
jucohen91
Offline Send Email
Nov 14, 2002
9:09 am
591
... no, no, no. Your foo.ml doesn't contain a class type, it contain a ... class foo : object method bar : unit->unit end ... by the way, ocamlc -i foo.ml >...
Remi VANICAT
dl_ens
Offline Send Email
Nov 14, 2002
11:49 am
592
Hi, if I have a [`A] I can write a function that gives me a [>`A] with the same value : Objective Caml version 3.04 # let (v:[`A])=`A;; val v : [ `A] = `A #...
Julien Cohen
jucohen91
Offline Send Email
Nov 15, 2002
8:06 am
593
... Its seem to be the case. By the way : # `A;; - : [> `A] = `A so, if you don't use explicit type, you have your [> `A], and : # let e = (`A : [`A]);; val e...
Remi VANICAT
dl_ens
Offline Send Email
Nov 15, 2002
8:17 am
594
... the ... give a ... Yes but due to the _ in types when I use functions to build 'polymorphic values', I start with a [>'A] and at the end I have a [`A]....
jucohen91
Offline Send Email
Nov 15, 2002
9:02 am
595
Hi All, I have a module (Module1) which has a record type type myrec = { field1: int; field2: int; } This type is exported (using the MLI file). This module...
magesh_kannan
Offline Send Email
Nov 18, 2002
4:44 am
596
Hi, ... Write val1.Module1.field1 Another way is to redefine the type myrec as equivalent to Module1.myrec at the beginning of the module: type myrec =...
Daniel de Rauglaudre
daniel.de_rauglaudre@...
Send Email
Nov 18, 2002
4:59 am
597
I am missing something obvious. I am writing a little program which takes two parameters: <source (bron)> and <destination (bestemming)> which must both be...
Johann Spies
jspies@...
Send Email
Nov 19, 2002
3:24 pm
598
What if you replace else print_string f; print_endline " -- does not exist" with else (print_string f; print_endline " -- does not exist") i.e. you add...
Stalkern 2
stalkern2
Offline Send Email
Nov 19, 2002
4:01 pm
599
Hi, You need to add begin/end : ... else begin print_string f; print_endline " -- does not exist" end otherwise your print_endline is not considered part of...
DUBOIS Fabrice FTRD/D...
fabrice.dubois@...
Send Email
Nov 19, 2002
4:14 pm
600
Johann Spies <jspies@...> writes: ... it's exactly the same than let sort_files = List.sort compare You don't need the (fun a b -> -- Rémi Vanicat ...
Remi VANICAT
dl_ens
Offline Send Email
Nov 19, 2002
5:28 pm
601
Rich, I had the same problem as you, If you only use standard ocaml libraries and no external libraries like pcre, the compiling using the standard win32-ocaml...
Mattias Waldau
mattias.waldau@...
Send Email
Nov 20, 2002
6:36 am
602
Yeah - VC++ works... I'd rather get away from it - but for once MS is a heck of a lot cheaper than 'the other choice'. -Rich ... From: "Mattias Waldau"...
Rich
vaykent
Offline Send Email
Nov 20, 2002
7:22 am
603
... am in this Hi all, Yes it is correct: I never checked in the source, by I remember that when I learnt caml I was said that "(" is just a shortcut for...
Gianluca Moro
giangiammy
Offline Send Email
Nov 20, 2002
8:11 am
604
... Yes, and thank you to everybody who replied. ... Thanks. I used this function from an example without thinking too much about it. Maybe I don't have...
Johann Spies
jspies@...
Send Email
Nov 20, 2002
8:29 am
605
I've sent in this list several messages concerning the _ in types such as in '_a or _[`A]. This restriction of polymorphism to syntactical values has been ...
Julien Cohen
jucohen91
Offline Send Email
Nov 20, 2002
8:38 am
Messages 576 - 605 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