... Right, I didn't realize that. Martin -- http://wink.com/profile/mjambon http://mjambon.com/...
9918
Oliver Bandel
oliver@...
Jul 8, 2008 2:22 pm
Zitat von Oliver Bandel <oliver@...>: [...] ... [...] ...should not mention it in an interview, I mean here. Ciao, Oliver...
9917
Oliver Bandel
oliver@...
Jul 8, 2008 2:17 pm
... [...] 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...
9916
citromatik
miguel.pignatelli@...
Jul 8, 2008 2:10 pm
... 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...
... 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...
... 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']*...
9912
citromatik
miguel.pignatelli@...
Jul 8, 2008 12:12 pm
Hi all, I'm trying to filter out a file that has some records of data separated as paragraphs (i.e. with two '\n39; characters). What I want to do is to get the...
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...
... 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...
... 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 ...
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...
... 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...
... 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...
... 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...
... Actually that (eta reduction, IIRC) is a dangerous practice in impure languages like OCaml because it changes when the expressions are evaluated. In this...
... 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...
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...
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...
... 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...
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...
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...
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...
9893
Oliver Bandel
oliver@...
Jul 1, 2008 11:35 pm
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...
... 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 _ = ...
... OCaml doesn't do anything very different from C programs. I suggest that you 'strace39; your program to see what actual system call it is making (ie. to...
9890
Oliver Bandel
oliver@...
Jul 1, 2008 7:56 am
Hello, ... What does "roughly" mean? Can you show the whole code? ... [...] This looks like problems must occur somehow ;-) Bette code the following way: let _...