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...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 11510 - 11540 of 11540   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
11510
Rich-- I'm a bit slow getting back to you, but I wanted to say thanks for the help. I really appreciate it. Erick ... [Non-text portions of this message have...
Erick Matsen
slothkisser
Offline Send Email
Oct 22, 2009
5:02 pm
11512
... Hello, I'm not sure I completely understood your question - especially I don't see what you mean by images 1 and 2 - but the following code computes the...
Chantal KELLER
chantal.keller@...
Send Email
Oct 27, 2009
9:45 am
11513
Let's say we have these modules types : # module type VTYPE = sig type t val value : t end;; module type VTYPE = sig type t val value : t end # module type...
rixed@...
rixed
Offline Send Email
Oct 27, 2009
5:27 pm
11514
... Try this one instead: # module MAKE_PTYPE (V_:VTYPE) : PTYPE with type V.t = V_.t = struct module V=V_ let foo v = 1 end;; Ocaml does not make the...
vincent
vincent.arav...
Offline Send Email
Oct 27, 2009
6:15 pm
11515
Hi, I just got started on ocaml and am new to functional programming. I have written a ocaml module for CIL to analyze a C program. The problem I am having is...
Divya Muthukumaran
itsey_bitsey...
Offline Send Email
Oct 27, 2009
8:02 pm
11516
... It's hard to say from your description, but could it be that the total memory used is bigger than the available memory, and it's thrashing? The OCaml GC...
Richard Jones
rwmjones
Offline Send Email
Oct 27, 2009
8:10 pm
11517
How can i raise exceptions in ocaml..what will be the code to write your own exception in a function defined..?plz help.....
sumedha
sumedhajain
Offline Send Email
Oct 27, 2009
11:49 pm
11518
... http://caml.inria.fr/pub/docs/manual-ocaml/manual003.html#toc9...
vincent
vincent.arav...
Offline Send Email
Oct 28, 2009
12:13 am
11519
... exception My_error of string;; let my_fun () = raise (My_error "this is an error") ;; let () = try my_fun () with My_error str -> prerr_endline ("An error:...
Sylvain Le Gall
gildor16478
Offline Send Email
Oct 28, 2009
12:14 am
11520
... It works and it makes sense. Thank you !...
rixed@...
rixed
Offline Send Email
Oct 28, 2009
8:46 am
11521
Hello all I am looking for soem examples (Pleac-like examples, not "documentation") on using tables and forms with select>option with Eliom (XHTML). Have you...
Rakotomandimby Mihamina
rakotomandim...
Offline Send Email
Oct 30, 2009
10:08 am
11522
Hello, I am hardly trying to understand the camlpdf-library, because I want to write a function which gets a pdf-file and returns a list of pairs of ...
Romeyke, Andreas
andreas.romeyke@...
Send Email
Oct 30, 2009
10:25 am
11523
Hi, ... I'm attaching a simple example for select. I'll post an example with tables momentarily. Hope it helps! Best regards, Dario Teixeira [Non-text portions...
Dario Teixeira
darioteixeira
Offline Send Email
Oct 30, 2009
2:15 pm
11524
Hi, ... It seems the Ocaml_beginners group swallows attachments. Here's the select example, again: Cheers, Dario Teixeira ...
Dario Teixeira
darioteixeira
Offline Send Email
Oct 30, 2009
2:19 pm
11525
Hi again, ... ...And here's an example with XHTML.M.tablex, as promised. Note that the construction of XHTML tables with Ocsigen seems overly complex at first...
Dario Teixeira
darioteixeira
Offline Send Email
Oct 30, 2009
2:52 pm
11526
Hi all, I am trying to understand how to get all possible combinations of a list of list: # combs [['a';'b';'c'];['1';'2'];['Y';'Z']];; char list list = ...
citromatik
miguel.pignatelli@...
Send Email
Oct 30, 2009
5:14 pm
11527
... Assume you have a function that does the job for a list with n elements (sublists) and write one (using the former) for a list with n+1 elements. You can...
Christophe TROESTLER
Christophe.Troestler+...
Send Email
Oct 30, 2009
6:53 pm
11528
This is probably not the most efficient way, but this does what I think you want to do: let combo ll = let rec aux accu = function ... combo (List.flatten ...
Erick Matsen
slothkisser
Offline Send Email
Oct 30, 2009
6:54 pm
11529
On Fri, 30 Oct 2009 18:14:20 +0100, citromatik <miguel.pignatelli@...> ... This would do the trick: let combs elems = List.fold_right (fun heads tails -> ...
Till Crueger
Till.Crueger@...
Send Email
Oct 30, 2009
9:01 pm
11530
Is there any disadvantage (performance, e.g.) to having a function return [] or [string], and consume it via let collecting traversal = let retval = ref [] in ...
Martin DeMello
martindemello
Offline Send Email
Oct 31, 2009
9:10 am
11531
I think performance-wise the difference is very small. But you should use the option type to express your program's semantics correctly! On Sat, Oct 31, 2009...
Lukasz Stafiniak
luk_stafi
Offline Send Email
Oct 31, 2009
9:36 am
11532
thinking about it, you're right, i was being silly :) code changed to use option type. martin ... [Non-text portions of this message have been removed]...
Martin DeMello
martindemello
Offline Send Email
Nov 1, 2009
10:04 am
11533
You may need some general functions that lack from the basic standard library: let unsome default = function ... let map_some f l = let rec maps_f accu =...
Lukasz Stafiniak
luk_stafi
Offline Send Email
Nov 1, 2009
11:48 am
11534
How would I use batteries along with OCamlMakefile? (I tried the ocamlbuild way and got nowhere; I've not been able to get mikmatch and ledit working with...
Martin DeMello
martindemello
Offline Send Email
Nov 2, 2009
11:27 am
11535
... Hash: SHA1 I'm not sure how to do it on your system, but with a GODI based OCaml distribution all you have to do is add "batteries" into your "PACKS" ...
Peng Zang
peng.zang@...
Send Email
Nov 2, 2009
2:02 pm
11536
... Ah, the perpetual tension between the distribution's package manager and the language's :) Anyway, I've uninstalled ocaml and packages from arch and...
Martin DeMello
martindemello
Offline Send Email
Nov 2, 2009
6:56 pm
11537
... Hash: SHA1 I'm thrilled you installed GODI! Isn't it awesome? I run Gentoo and for a long time I used the ocaml packages in portage, but it just didn't...
Peng Zang
peng.zang@...
Send Email
Nov 2, 2009
11:53 pm
11538
... yeah, it looks very neat :) some packages (lablgl, lablgtk and omake) compiled from pacman but not from godi, but i don't need any of them immediately and...
Martin DeMello
martindemello
Offline Send Email
Nov 3, 2009
5:47 am
11539
... Distribution package management is one of the strength of Linux. -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche &...
Rakotomandimby Mihamina
rakotomandim...
Offline Send Email
Nov 3, 2009
6:41 am
11540
Hello, If you like OcaIDE, please vote for it to show your support: http://marketplace.eclipse.org/node/599 Regards, Hugo F....
Hugo Ferreira
hugotwo3
Offline Send Email
Nov 5, 2009
1:33 pm
Messages 11510 - 11540 of 11540   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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