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 your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 2620 - 2649 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2620
... As far as I can see, that's right. However, you probably ought to be using a Makefile and some standard rules, meaning that you will be compiling each file...
Richard Jones
rwmjones
Offline Send Email
Sep 2, 2004
11:44 am
2621
... Yes, I would use a makefile, but that's for a tool and it shouldn't depend on GNU make. I'm thinking about the alternatives, I'll probably end up compiling...
Andrei Formiga
ktulu_fhtagn
Offline Send Email
Sep 2, 2004
1:40 pm
2622
Dear Camlers, In the spirit of "release early, release often", we therefore announce the first release of camlclipse (version 0.1.0), a group of plugins to add...
Andrei Formiga
ktulu_fhtagn
Offline Send Email
Sep 2, 2004
6:35 pm
2623
Hi, Does anyone have any code to generate a random number from the standard normal distribution laying around? I've tried a transliteration of the Box-Muller...
ethan_aubin
Offline Send Email
Sep 6, 2004
3:53 am
2624
... What do you mean by that? The mean of a set of N of your random numbers is also normally distributed, with mean 0 and standard deviation 1/sqrt(N). The ...
Daniel Andor
daniel_andor
Offline Send Email
Sep 6, 2004
9:19 am
2625
... numbers is ... 1/sqrt(N). The ... Right, but it should approach 0. If I run 1000 or 1000000 trials the mean stays around 0.00xxx. ... [Note: I should have...
ethan_aubin
Offline Send Email
Sep 6, 2004
2:35 pm
2626
... It seems to me you've done everything right... If you look at the output of box_muller, it doesn't look very Normal! :) There are outliers all over the...
Daniel Andor
daniel_andor
Offline Send Email
Sep 6, 2004
5:08 pm
2627
When creating module files, what's the difference between "open" and "include" when referencing another? Thanks. ... Tony Edgin...
Tony Edgin
tonyedgin
Offline Send Email
Sep 6, 2004
10:13 pm
2628
You just have a small typo see inbedded comment ... HERE ... replace with let w = x1*.x1 +. x2*.x2 in ... Cheers, -- Tony Edgin...
Tony Edgin
tonyedgin
Offline Send Email
Sep 7, 2004
6:03 am
2629
Le mardi 07 septembre, à 10h10 +0000, ... Hello, open M allows you to use the values of M without prefixing them by 'M.', while include M tells ocaml to...
Virgile Prevosto
virgilepr
Offline Send Email
Sep 7, 2004
8:08 am
2630
... Virgile is right. Here's another way to describe the difference. Let's have a module M containing some symbols: -- m.ml ----- let x = 1 let s = "hello" ...
Richard Jones
rwmjones
Offline Send Email
Sep 7, 2004
8:29 am
2631
... Does it also work for interfaces ? module type A = sig val x : int end module type C = sig include A val y : int end ? Frédéric vdP (asking because i...
Frederic van der Plan...
fplancke2001
Offline Send Email
Sep 7, 2004
8:33 am
2632
Le mardi 07 septembre, à 8h37 +0000, ... Good question... The answer is yes at least for ocaml 3.08.1: Objective Caml version 3.08.1 # module type A = sig...
Virgile Prevosto
virgilepr
Offline Send Email
Sep 7, 2004
8:46 am
2633
i'm moving some code from sml to ocaml, and using a makefile based on the one in the manual. however, for the module defined in SortFilter.ml: module...
andrew cooke
andrew@...
Send Email
Sep 9, 2004
9:18 pm
2634
This is one of the most frustrating aspects of learning Ocaml. A module type isn't a signature of a module. It is more of an interface a module may implement....
Tony Edgin
tonyedgin
Offline Send Email
Sep 9, 2004
9:48 pm
2635
thanks, but i'm still confused. after reading your quick solution i went back and read the manual and realised the mli extension was incorrect. however,...
andrew cooke
andrew@...
Send Email
Sep 9, 2004
10:25 pm
2636
I'm a rookie here. I don't use ocamldep yet. Do you have the statement open Filter at the beginning of your SortFilter.ml file? If so, I bow out to someone...
Tony Edgin
tonyedgin
Offline Send Email
Sep 9, 2004
10:39 pm
2637
brilliant! i have no idea why i need to open that, but it worked :o) thanks, andrew ... -- ` __ _ __ ___ ___| |_____ work web site:...
andrew cooke
andrew@...
Send Email
Sep 9, 2004
10:50 pm
2638
... worked :o) ... Well, there could be several module type named FILTER in several module you have to tell this to ocaml You could have also choose to use...
dl_ens
Offline Send Email
Sep 10, 2004
9:58 am
2639
... If SortFilter is the only module which uses the FILTER interface, then the right way to do this in OCaml is: sortFilter.ml --------------- type state = ......
Richard Jones
rwmjones
Offline Send Email
Sep 10, 2004
10:04 am
2640
Sorry to post again about this, but SML has the CM which does this for you, while Ocaml seems to expect Makefiles instead. I have a makefile that follws the...
andrew cooke
andrew@...
Send Email
Sep 10, 2004
2:48 pm
2641
... Don't use module ... struct/sig ... end in your code. A good rule of thumb is not to use them anywhere at all, except in specific (and rare) cases where...
Richard Jones
rwmjones
Offline Send Email
Sep 10, 2004
2:57 pm
2642
... Absolutely. If you are using module Utils = struct ... end in your utils.ml file, you are really specifying the module Utils.Utils in whatever program is...
William D. Neumann
scoey13
Offline Send Email
Sep 10, 2004
3:23 pm
2643
... ah. light finally comes on. i hope. ok, thanks. andrew -- ` __ _ __ ___ ___| |_____ work web site: http://www.ctio.noao.edu/~andrew / _` / _/ _ \/ _ \...
andrew cooke
andrew@...
Send Email
Sep 10, 2004
3:55 pm
2644
... Have you seen F#? http://research.microsoft.com/projects/ilx/fsharp.aspx Might be a step in the right direction toward a commercially viable Objective ...
Jesse Guardiani
Trevarthan
Offline Send Email
Sep 10, 2004
9:14 pm
2645
... appear ... industry. ... commercial ... C++. ... must ... http://research.microsoft.com/projects/ilx/fsharp.aspx ... Objective Caml. I'm aware of it....
Brandon J. Van Every
vanevery0
Offline Send Email
Sep 11, 2004
12:52 am
2646
I agree with your comments on the performance of these new, shiny, and cool languages like C# and Java. This new breed of language designers must see a ...
Eray Ozkural
examachine
Offline Send Email
Sep 11, 2004
2:40 am
2647
... cool languages like C# and Java. This new breed of language designers must see a psychiatrist, I think. Actually, they're pretty sane for what they intend:...
Brandon J. Van Every
vanevery0
Offline Send Email
Sep 11, 2004
7:26 am
2648
... I agree with your remarks, but we need one thing: a defunctorizing compiler.... you know, i want to write *really* abstract code, and still have it run...
Eray Ozkural
examachine
Offline Send Email
Sep 11, 2004
11:50 am
2649
I'm a long time programmer (mainly OO) and an Ocaml newbie. I wrote the following code to perform the 'business model' of a program to randomly jitter lots of...
zuluzombie1
Offline Send Email
Sep 17, 2004
8:44 am
Messages 2620 - 2649 of 11541   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