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 9440 - 9469 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
9440
... Have you actually got the curses/ncurses library installed? Rich. -- Richard Jones Red Hat...
Richard Jones
rwmjones
Offline Send Email
Mar 1, 2008
5:08 pm
9441
... Hi Fabrice ! ... The instruction "-lncurses" is missing while building the .cmxa But while using the .cmxa users can still provide this linking...
Florent Monnier
fmonnier@...
Send Email
Mar 1, 2008
5:22 pm
9442
On Sat, 1 Mar 2008 17:08:26 +0000 ... Thanks, The related packages installed on my debian Sid are : pb:~/projects/chess$ dpkg -l | grep curses ii dav-text...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Mar 1, 2008
6:18 pm
9443
Hi Florent ! ... Great ! Works fine on my computer too. ... I notice another small fixable thing, but in a no more maintained zone, subdir tmk, Makefile, line...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Mar 1, 2008
6:31 pm
9444
In Debian, just apt-get install these: $ apt-cache search curses | grep ocaml libcurses-ocaml - OCaml bindings for the ncurses library libcurses-ocaml-dev -...
Eric Cooper
ecc@...
Send Email
Mar 1, 2008
7:45 pm
9445
On Sat, 1 Mar 2008 14:45:34 -0500 ... Oh ! I completely had missed the package. It should be rather new. Many thanks !...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Mar 1, 2008
9:35 pm
9446
In article http://groups.google.com/group/comp.lang.functional/browse_thread/thread/a288a989c5cd6acb/50b6ca2607173c91 Jon Harrop writes let invoke (f : 'a ->...
tenuc70
Offline Send Email
Mar 3, 2008
1:23 am
9447
... Currying is usually used because you want to partially apply your function. In that case, I used currying because I wanted application of the argument to ...
Jon Harrop
harropjon
Offline Send Email
Mar 3, 2008
9:17 am
9448
Thanks Jon, great example of concurrent execution by the way. I was already using currying with the reduced signature as shown below but your explanation is...
tenuc70
Offline Send Email
Mar 3, 2008
2:13 pm
9449
Suppose I have a function that returns an option type. I want to apply f to each item in a list until I find a non-None result, then return that underlying...
Eric Cooper
ecc@...
Send Email
Mar 3, 2008
3:20 pm
9450
... A search? :D OK, that wasn't funny. -Mike...
Michael DiBernardo
mikedebo_ca
Offline Send Email
Mar 3, 2008
4:04 pm
9451
... The following implementation is tail-recursive. Additionally, it moves more information about the function's behavior into the function's signature. I...
Eric Lavigne
lavigne.eric
Offline Send Email
Mar 3, 2008
4:49 pm
9452
... I would (stylistically) prefer the former more concise definition but YMMV. They are semantically equivalent but the difference can also affect performance...
Jon Harrop
harropjon
Offline Send Email
Mar 3, 2008
4:51 pm
9453
Hello to everybody! As I do more or less every year, I've put online a downloadable version of the ML archive. It is at...
Stalkern 2
stalkern2
Offline Send Email
Mar 3, 2008
5:21 pm
9454
... [...] What is it that you are looking for it's name? The functionality that the function provides? or the way the function is programmed? ... You have a...
Oliver Bandel
oliver@...
Send Email
Mar 3, 2008
8:56 pm
9455
As others have pointed out, from a certain point of view you're searching on the predicate then projecting down to the base type: let find_some f lst = let x =...
Christopher L Conway
postalchris
Offline Send Email
Mar 3, 2008
9:49 pm
9456
Zitat von Oliver Bandel <oliver@...>: [...] ... The function find_some is the HOF, not f. ;-) Too tired.... Ciao, Oliver...
Oliver Bandel
oliver@...
Send Email
Mar 3, 2008
11:01 pm
9457
I'm trying to write a type that can hold a function like ('a Map.Make (String).t -> int list -> int) but when I do this I get the error "Unbound type parameter...
knighttemplar0184
knighttempla...
Offline Send Email
Mar 4, 2008
12:32 am
9458
... type 'a expr = ... If you have several parameters, use parens and commas: type ('a, 'b, 'foo, 'bar) expr = ... Martin -- http://wink.com/profile/mjambon ...
Martin Jambon
BioMim
Offline Send Email
Mar 4, 2008
12:43 am
9459
... Map.Make ... this? ... How about in a recursive type like "type 'a expr = Num of int | Fn of (('a Map.Make(String).t) -> expr list -> expr);;"? This gives...
knighttemplar0184
knighttempla...
Offline Send Email
Mar 4, 2008
1:24 am
9460
On Tue, 04 Mar 2008 01:24:09 -0000 ... type 'a expr = Num of int | Fn of (('a Map.Make(String).t) -> 'a expr list -> 'a expr)...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Mar 4, 2008
2:18 am
9461
... The above implementation was tail-recursive too. [...] ... -- Rémi Vanicat...
Remi Vanicat
dl_ens
Offline Send Email
Mar 4, 2008
4:23 am
9462
hi all has any one used camlimages for binarizing images? if so, can u provide us with guidelines please thx...
noureddine_ms
Offline Send Email
Mar 4, 2008
1:01 pm
9463
... I was under the impression that the tail-recursion optimization could not be applied to a function that might throw an exception because debugging...
Eric Lavigne
lavigne.eric
Offline Send Email
Mar 4, 2008
1:24 pm
9464
... I tidied up virt-df a bit, added a manpage and pushed it out to the mercurial repository above. I might release it in a later Fedora for people to try...
Richard W.M. Jones
rwmjones
Offline Send Email
Mar 4, 2008
2:00 pm
9465
... Basically any function could throw an exception (Stack_overflow, Sys.Break, ...). I think you're confusing with try...with blocks. The following function...
Martin Jambon
BioMim
Offline Send Email
Mar 4, 2008
2:44 pm
9466
... What you're referring to only applies to functions that handle exceptions using "try" blocks. Specifically, exception handlers must be pushed onto the ...
Jon Harrop
harropjon
Offline Send Email
Mar 4, 2008
4:27 pm
9467
... ocaml binarize-image.ml <image> <threshold level> [blur] threshold level: a percentage (between 0.0 and 1.0) blur: optional argument example: ocaml...
Florent Monnier
fmonnier@...
Send Email
Mar 4, 2008
4:31 pm
9468
... So if I place a "try ... with" at the top of my application, as in the following pseudo-application, tail-recursion is turned off for the entire...
Eric Lavigne
lavigne.eric
Offline Send Email
Mar 4, 2008
4:52 pm
9469
... No. Only that call is a non-tail call. This does not have a global effect. ... That one call to "run_my_application" is not a tail call because it lies ...
Jon Harrop
harropjon
Offline Send Email
Mar 4, 2008
5:29 pm
Messages 9440 - 9469 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