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...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 389 - 418 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
389
Hi. Do the ocaml tools do something special with respect to the standard libraries? I'm wondering why we don't have to specify them on the command line. I...
bwv211mail
Offline Send Email
Jul 2, 2002
9:48 pm
390
From: "bwv211mail" <bwv211mail@...> Subject: "ocaml_beginners"::[] ocaml libraries and using your own Date: Tue, 02 Jul 2002 21:48:55 -0000 ... As far as...
YAMAGATA yoriyuki
yoriyuki@...
Send Email
Jul 3, 2002
12:00 pm
391
... From: "Steven Shaw" <steven_shaw@...> To: <ocaml_beginners@yahoogroups.com> Sent: Thursday, July 04, 2002 10:10 PM Subject: overflow...
Steven Shaw
steshaw
Offline Send Email
Jul 4, 2002
12:32 pm
392
... From: "Steven Shaw" <steven_shaw@...> To: <ocaml_beginners@yahoogroups.com> Sent: Thursday, July 04, 2002 10:17 PM Subject: fun v function ... ...
Steven Shaw
steshaw
Offline Send Email
Jul 4, 2002
12:32 pm
393
... function can be used for pattern matching one one argument, and can be used as a shortcut for match ... with : let print_bool b = match b with true ->...
Martin Jambon
m.jambon@...
Send Email
Jul 4, 2002
12:51 pm
394
From: "Steven Shaw" <steven_shaw@...> Subject: "ocaml_beginners"::[] Fw: overflow Date: Thu, 4 Jul 2002 22:31:51 +1000 ... My surreal library...
YAMAGATA yoriyuki
yoriyuki@...
Send Email
Jul 4, 2002
1:41 pm
395
Thanks. ... From: YAMAGATA yoriyuki To: ocaml_beginners@yahoogroups.com Sent: Thursday, July 04, 2002 11:49 PM Subject: Re: "ocaml_beginners"::[] Fw: overflow ...
Steven Shaw
steshaw
Offline Send Email
Jul 7, 2002
9:05 am
396
... # let outputstring = ref "";; val outputstring : string ref = {contents = ""} # let wys_uitvoer si se= outputstring:=""; try while true do let line =...
Johann Spies
jspies@...
Send Email
Jul 9, 2002
10:59 am
397
... Unix.close_process_full takes some parameters !! ... so here ff is returning the function Unix.close_process_full Nicolas Cannasse...
Nicolas Cannasse
ncannasse
Offline Send Email
Jul 9, 2002
11:20 am
398
... Thanks. I must get used to the ocaml way of documentation! Regards. Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie,...
Johann Spies
jspies@...
Send Email
Jul 9, 2002
12:01 pm
399
... First, all function take a parameter. All. Second, the documentation say : val close_process_full : Pervasives.in_channel * Pervasives.out_channel *...
Remi VANICAT
dl_ens
Offline Send Email
Jul 9, 2002
12:38 pm
400
I want to use a C-library in Ocaml and trying to figure out how to do it, I used the following code from the Ocaml-book: The C-code (toets.c) ... #include...
Johann Spies
jspies@...
Send Email
Jul 17, 2002
1:28 pm
401
I have made some progress, but get strange results: The following combination ... external caml_hello_world : int -> int -> int = "hello_world";; let som =...
Johann Spies
jspies@...
Send Email
Jul 17, 2002
2:41 pm
402
... Integer are coded into OCaml values by putting the first bit to 1 Then if a value is odd then the remaining 31 bits are an integer, else it's a pointer on...
Nicolas Cannasse
ncannasse
Offline Send Email
Jul 17, 2002
3:16 pm
403
... Sure. You are using OcamlMakefile the wrong way. Replace SOURCES=camlndspasswd.ml toets.o with SOURCES=camlndspasswd.ml toets.c Don't forget also that...
Dmitry Bely
dbely@...
Send Email
Jul 20, 2002
6:25 am
404
I'm just learning ocaml via the orielly book. In doing the excercises for chapter 2 I found that I was running into afew runtime exceptions. 'Exception:...
Steven Shaw
steshaw
Offline Send Email
Jul 21, 2002
3:23 am
405
I'm after a function that can split a list into 3 items according to a predicate: a list of items before, found item, list of items after. Or a clue on how to...
Steven Shaw
steshaw
Offline Send Email
Jul 21, 2002
3:50 am
406
... yes. just set the environment variable OCAMLRUNPARAM to b as in : moi@debian:~/lang/ocaml$ export OCAMLRUNPARAM=b moi@debian:~/lang/ocaml$ ocamlc -g...
Remi VANICAT
dl_ens
Offline Send Email
Jul 21, 2002
10:26 am
407
From: "Remi VANICAT" <vanicat+egroups@...> ... for ... with ... It's not quite line numbers but it works great. It will really come in handy. ...
Steven Shaw
steshaw
Offline Send Email
Jul 21, 2002
4:39 pm
408
... The library functions often fail with 'Failure "name_of_function"'; in this case, it's probably List.hd which receives an empty list. ... Don't forget to...
Frederic van der Plan...
fplancke2001
Offline Send Email
Jul 21, 2002
11:10 pm
409
... Yes, each call to List.hd/List.tl check to see if the list is not empty. And it's a fun call. -- Rémi Vanicat vanicat@... ...
Remi VANICAT
dl_ens
Offline Send Email
Jul 22, 2002
1:33 am
410
... Thanks. I will try out camlidl. Regards. Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch "Then...
Johann Spies
jspies@...
Send Email
Jul 22, 2002
7:11 am
411
Here's a simple implementation of split: let rec split list test = match list with [] -> raise Not_found ... else let (before,x,after) = split tl test in ...
Yaron M. Minsky
yminsky
Offline Send Email
Jul 22, 2002
12:56 pm
412
Hello, The following program (see below), which indefinitely adds records in a DB file, fails every time with this error : Fatal error: exception...
Stephane Legrand
stephane_leg...
Offline Send Email
Jul 27, 2002
6:54 pm
413
Hi All, I need to find the memory size of any arbitrary OCaml object of any type: int, record, list etc. I am currently using 'Marshal.to_string' to flatten...
magesh_kannan
Offline Send Email
Aug 2, 2002
6:02 pm
414
... You should use the 'undocumented' Obj module. (sample code, untested) let rec size_of x = let t = Obj.repr x in if Obj.is_int t then 1 (* 4 bytes *) else...
Nicolas Cannasse
ncannasse
Offline Send Email
Aug 2, 2002
7:07 pm
415
Hello everyone Is there a pcre module precompiled for win32 systems ? Or atleast instructions for compilation ? I am trying to do this in my win2000 box. And...
pjdurai
Offline Send Email
Aug 6, 2002
8:17 pm
416
Hi. Can anyone help me get graphics working in OCaml? I'm using OCamlWin, and according to the manual all I have to do is run: #load "graphics.cmo";; but...
olilan
Offline Send Email
Aug 7, 2002
7:34 pm
417
... Try this: #load "graphics.cma";;...
kenzo_ahikawa
Offline Send Email
Aug 7, 2002
8:58 pm
418
Hmm, thanks, that file does exist... but when I try to load it I get: # #load "graphics.cma";; Cannot load required shared library: %1 is not a valid Win32 ...
olilan
Offline Send Email
Aug 7, 2002
9:14 pm
Messages 389 - 418 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