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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 3956 - 3985 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
3956
Hello, everybody. I'd like to announce a new site called CodeWiki.net. It's intended to be a gathering point for information programming languages, theory, ...
Jonathan Bryant
jonboy3182
Offline Send Email
Aug 1, 2005
4:23 pm
3957
More precisely, what I'm trying to do is accelerate a matrix*vector operation as well as vector+vector and <vector,vector> (inner product). I'm using a...
superluminal1905
superluminal...
Offline Send Email
Aug 1, 2005
8:49 pm
3958
... On AMD64, OCaml is likely to be at least as fast as C. On x86, OCaml is likely to be up to 2x slower. Regardless, if you're doing such low-level ...
Jon Harrop
harropjon
Offline Send Email
Aug 1, 2005
9:52 pm
3959
Here is some code which does this (taken from the micmatch library) and provides some options. See http://martin.jambon.free.fr/mmodoc/Micmatch.Directory.html...
Martin Jambon
BioMim
Offline Send Email
Aug 1, 2005
11:46 pm
3960
... Actually, it's Haskell-like, which may or may not be a good thing. -- Matt Gushee Englewood, CO, USA...
Matt Gushee
mcgushee
Offline Send Email
Aug 2, 2005
5:46 pm
3961
Thanks for your responses. I am in fact already using CamlFloat (that was the "library" I was referring to). From what I have been told by Shiv...
superluminal1905
superluminal...
Offline Send Email
Aug 3, 2005
2:08 am
3962
... It looks as though you are measuring time taken to make the OCaml->C call vs time taken to execute the call, i.e. these results are highly dependent upon ...
Jon Harrop
harropjon
Offline Send Email
Aug 3, 2005
2:58 am
3963
Following up: I'm on a Mac machine and the timings I gave earlier are for OCaml + CamlFloat. At this point, I haven't implemented the C- function (since I'm...
superluminal1905
superluminal...
Offline Send Email
Aug 3, 2005
7:51 am
3964
... for them. ... Would be great if it were only a misconception... Now when i open this file: http://perso.wanadoo.fr/alphablock/downloads/Peeron.ml The...
Damien Guichard
brickcaster
Offline Send Email
Aug 3, 2005
4:56 pm
3965
... It works fine for me, in the toplevel, with ocamlc, and ocamlopt. What kind of problem are you having that indicates it isn't being parsed well? William...
William D. Neumann
scoey13
Offline Send Email
Aug 3, 2005
5:08 pm
3966
... Yes, it works fine here too. I don't see the point of having such a big enumeration though... -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective...
Jon Harrop
harropjon
Offline Send Email
Aug 3, 2005
5:31 pm
3967
... @ William D. Neumann && Jon Harrop I apologize. It really works, just it takes 1 min or more to parse on my slow machine. Definitely too slow so i will use...
Damien Guichard
brickcaster
Offline Send Email
Aug 3, 2005
6:14 pm
3968
... How many distinct suffixes are there? I might be tempted to enumerate those, and use (num, suffix) ____________________________________________________ ...
David Thomas
david_hd
Online Now Send Email
Aug 3, 2005
6:19 pm
3969
... Presumably you won't be parsing the enumeration very often? ... Firstly, integers are not the only alternatively. Secondly, that is not a valid reason to...
Jon Harrop
harropjon
Offline Send Email
Aug 3, 2005
7:46 pm
3970
... instead. ... not a ... the form ... enumeration ... @ David Thomas Already hundreds of suffixes, and even more in the future as the LEGO company keeps...
Damien Guichard
brickcaster
Offline Send Email
Aug 3, 2005
8:55 pm
3971
... So write a function let brick_of_string str = ...... that translates strings into bricks. You do not have to expose the internals, they are for your own...
Seth J. Fogarty
aravthamis
Offline Send Email
Aug 3, 2005
9:01 pm
3972
... I second the motion. It allows you to verify your strings and get them in canonical form in one place, and get a little more help from the compiler in...
David Thomas
david_hd
Online Now Send Email
Aug 3, 2005
9:12 pm
3973
... I do too :) You also probably want to think about a function returning approximate matches to help to user if he entered a wrong string identifier. Good...
Christophe TROESTLER
Christophe.Troestler@...
Send Email
Aug 3, 2005
9:21 pm
3974
... I fourth my own motion. It is just such a great idea... :-) -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists ...
Jon Harrop
harropjon
Offline Send Email
Aug 3, 2005
9:49 pm
3975
Hi, i'm a french student at Pierre & Marie Curie University in computer science Master , so sorry for my bad english :) I would like some help, if it is...
sobek2ml
Offline Send Email
Aug 4, 2005
3:48 pm
3976
I'm a little confused on exactly what you are doing, but I'll give it a shot. As far as I can tell, you're taking an XML abstract syntax tree and annotating it...
Jonathan Bryant
jonboy3182
Offline Send Email
Aug 4, 2005
5:04 pm
3977
My 2 cents... sobek2ml wrote: [...] ... Generally the root is just the unparented element, and every node is a root to its children, so it is not necessary to...
Stalkern 2
stalkern2
Offline Send Email
Aug 4, 2005
6:05 pm
3978
[This is not my question. It was originally posted to this page: http://www.ocaml-tutorial.org/newbie_faq but I think it's more appropriate to answer it here....
Richard Jones
rwmjones
Offline Send Email
Aug 5, 2005
6:16 pm
3979
I finally stopped reading OCaml manuals (an endlessly fascinating exercise :)) and wrote an actual, if trivial, program. It's pretty much a translation of some...
Martin DeMello
martindemello
Offline Send Email
Aug 5, 2005
7:30 pm
3980
... In general I avoid "open List" because several other modules (Array, Hashtbl, ...) define functions of the same name (iter, map, ...). That's nothing...
Martin Jambon
BioMim
Offline Send Email
Aug 5, 2005
8:02 pm
3981
Martin DeMello wrote: let nonempty s = match s with "" -> false; ... You could also write this as: let nonempty = function "" -> false | _ -> true or in this...
Karl Zilles
kzilles
Offline Send Email
Aug 5, 2005
8:37 pm
3982
... I can't unzip your file, so cannot see what library you are using. ... You could define your stdout channel and route it through the usual stdout channel....
Christophe TROESTLER
Christophe.Troestler@...
Send Email
Aug 5, 2005
9:51 pm
3983
Hi, I'm having a wee problem with CamlImages. For some reason it won't load any image in my toy OpenGL earth program. I tried another program with the image,...
Chris Campbell
chrisdanx
Offline Send Email
Aug 5, 2005
10:28 pm
3984
... Your code is good, certainly much better than my first attempt at an OCaml program. If you have any insights into the learning process, please share them...
Richard Jones
rwmjones
Offline Send Email
Aug 5, 2005
10:36 pm
3985
... This looks like some weird build problem with the build tool I'm using. The wrong_file_type exception occurs for this simple 5 liner if the simple maths...
Chris Campbell
chrisdanx
Offline Send Email
Aug 5, 2005
11:39 pm
Messages 3956 - 3985 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