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 9890 - 9919 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
9890
Hello, ... What does "roughly" mean? Can you show the whole code? ... [...] This looks like problems must occur somehow ;-) Bette code the following way: let _...
Oliver Bandel
oliver@...
Send Email
Jul 1, 2008
7:56 am
9891
... OCaml doesn't do anything very different from C programs. I suggest that you 'strace' your program to see what actual system call it is making (ie. to...
Richard Jones
rwmjones
Offline Send Email
Jul 1, 2008
8:43 am
9892
... I've tried compiling to native and byte code. Same results. ... let cout = open_out "a.txt" let _ = output_string cout "hello"; close_out cout ... let _ = ...
Ashish Agarwal
ashish_a1975
Offline Send Email
Jul 1, 2008
3:51 pm
9893
Hello, ... Well... both programs use normal open_out. The special stuff you mentioned in your first mail is not here now... so you threw it out, or maybe never...
Oliver Bandel
oliver@...
Send Email
Jul 1, 2008
11:35 pm
9894
Sorry for wasting everyone's time... there was some file syncing utility running that kept deleting files behind me. On Tue, Jul 1, 2008 at 7:35 PM, Oliver...
Ashish Agarwal
ashish_a1975
Offline Send Email
Jul 1, 2008
11:47 pm
9895
Recently I was writing some Ocaml code to do some Unix file system management and I was mistakenly using let statements without knowing that they would be...
deech_99
Offline Send Email
Jul 2, 2008
9:08 pm
9896
I wrap things into functions, since lazy things can only be forced once, but functions can be executed over and over again. ~~ Robert....
Robert Fischer
smokejumperit
Offline Send Email
Jul 2, 2008
9:10 pm
9897
... You can also write this as: let cd () = (* Unix system call that cd's into dir *)...
Karl Zilles
kzilles
Online Now Send Email
Jul 2, 2008
9:18 pm
9898
You should take care about "and" because the different operands can be evaluated in any order. In your example, let cd = (* Unix system call that cd's into dir...
Adrien
camaradetux
Offline Send Email
Jul 2, 2008
9:24 pm
9899
... This code is certainly broken and poor style anyway. Firstly, you have assigned the unit (void) return values of your expressions to two variables and then...
Jon Harrop
harropjon
Offline Send Email
Jul 3, 2008
12:51 am
9900
I am reading about f^n ... # let rec iter n f = if n = 0 then (fun x -> x) else o f (iter (n-1) f);; where # let o f g = fun x -> f(g(x));; which they rewrite...
marlenemiller71
Offline Send Email
Jul 3, 2008
8:03 pm
9901
Hi Marlene, ... I'm not experienced enough to accurately answer but I prefer the former that suppresses one parameter. However, the problem with this elegant...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Jul 3, 2008
9:08 pm
9902
... Or: let rec nest n f x = if n=0 then x else nest (n-1) (f x) Absolutely, yes. As a generic library function it is essential that you write it in tail...
Jon Harrop
harropjon
Offline Send Email
Jul 3, 2008
11:20 pm
9903
... Actually that (eta reduction, IIRC) is a dangerous practice in impure languages like OCaml because it changes when the expressions are evaluated. In this...
Jon Harrop
harropjon
Offline Send Email
Jul 3, 2008
11:34 pm
9904
... Yes it simpler to read and write. let rec iter = fun n f x -> ... I am learning OCaml. I want to be sure I understand what I am doing. This way reminds me...
marlenemiller71
Offline Send Email
Jul 3, 2008
11:34 pm
9905
... impure ... evaluated. impure? do you mean eager (as opposed to lazy)? ... sides of ... yielding a ... remove # let two n = 2 * n;; # let rec iter = fun n...
marlenemiller71
Offline Send Email
Jul 4, 2008
5:04 am
9906
... Yes. ... No but that is related because non-strict languages require purity to be deterministic. ... Yes. The result is a sequence of n closures, each...
Jon Harrop
harropjon
Offline Send Email
Jul 4, 2008
9:23 pm
9907
Apologies for this not so relevant posting. Let me share an observation about the job market in America and its reception of people skilled in functional (and...
tenuc70
Offline Send Email
Jul 8, 2008
2:09 am
9908
... You have painted an extremely depressing view of the software industry but I think we must remember that, as my father always says, every problem is an ...
Jon Harrop
harropjon
Offline Send Email
Jul 8, 2008
3:01 am
9909
... It may be a good thing to mention functional programming and associated languages on your resume because it would filter out those employers that you...
Sashan Govender
sashan_photos
Offline Send Email
Jul 8, 2008
3:50 am
9910
... Interesting...what part of Halo 3 was done with F#? -- sashan http://sashang.orcon.net.nz/...
Sashan Govender
sashan_photos
Offline Send Email
Jul 8, 2008
4:06 am
9911
Having Ocaml on your resume is probably harmless because most sw. shops wouldn't even notice it. The point I was trying to make is don't state in your resume...
tenuc70
Offline Send Email
Jul 8, 2008
10:01 am
9912
Hi all, I'm trying to filter out a file that has some records of data separated as paragraphs (i.e. with two '\n' characters). What I want to do is to get the...
citromatik
miguel.pignatelli@...
Send Email
Jul 8, 2008
12:12 pm
9913
... Please check by yourself, but I think you can use "shortest" instead of "parse". This would apply to the whole rule. Alternatively, you can use [^'\n']*...
Martin Jambon
BioMim
Offline Send Email
Jul 8, 2008
12:36 pm
9914
Thanks for the examples, Jon. ~~ Robert....
Robert Fischer
smokejumperit
Offline Send Email
Jul 8, 2008
1:11 pm
9915
... Wandering in and telling a company *in an interview* how they should be doing their job will never win you points. Unless, of course, you're a consultant...
Robert Fischer
smokejumperit
Offline Send Email
Jul 8, 2008
1:13 pm
9916
... Yes, "shortests" works perfectly on this. Thanks a lot for the tip, I overlooked that from the docs. ... hmmm, I don't agree. The OCaml manual says that...
citromatik
miguel.pignatelli@...
Send Email
Jul 8, 2008
2:10 pm
9917
... [...] Well, I once had an interview for a Perl-project, in industry. They had a test-system for integrated circuits which neede some optimizations. I...
Oliver Bandel
oliver@...
Send Email
Jul 8, 2008
2:17 pm
9918
Zitat von Oliver Bandel <oliver@...>: [...] ... [...] ...should not mention it in an interview, I mean here. Ciao, Oliver...
Oliver Bandel
oliver@...
Send Email
Jul 8, 2008
2:22 pm
9919
... Right, I didn't realize that. Martin -- http://wink.com/profile/mjambon http://mjambon.com/...
Martin Jambon
BioMim
Offline Send Email
Jul 8, 2008
2:54 pm
Messages 9890 - 9919 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