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.
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 11158 - 11187 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
11158
It seems to me that this is exactly the same? define a functor MyFunctor like this: module MyFunctor (S : sig val sz : int end) = struct ... S.sz ......
Matthieu Dubuget
dubuget
Offline Send Email
Jul 1, 2009
7:49 am
11159
... Good starting points: - if you accept an imperative FIFO : module Queue of the standard library - if you want a functional FIFO : module Fqueue of Jane...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Jul 1, 2009
8:47 am
11160
... If Squeue.create returns a queue bounded to a specific size, wouldn't that be a non-functorized solution? Then, you no longer need the solutions previously...
Ashish Agarwal
ashish_a1975
Offline Send Email
Jul 1, 2009
12:44 pm
11161
... Well he can stil functorize it if he wants. The advantage being to bound all possibly created squeues to have the wanted size thus avoiding potential...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Jul 1, 2009
1:42 pm
11162
Commercial Users of Functional Programming Workshop (CUFP) 2009 Functional Programming As a Means, Not an End Call for Participation Sponsored by SIGPLAN ...
Jim Grundy
jim_grundy2000
Offline Send Email
Jul 1, 2009
8:56 pm
11163
... Thanks, that should do what I need. Phil...
Phil Tomson
rubyfan@...
Send Email
Jul 2, 2009
5:45 am
11164
No one ? It seems to be a rather frequent situation, isn't it ? Maybe my question is not clear enough ?...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Jul 3, 2009
7:43 am
11165
Vincent Aravantinos wrote: ... without really looking into your mail, why not something allong: module M: sig type t end = struct type t = A of int | B of...
JM Nunes
jose.manuel.nunes@...
Send Email
Jul 3, 2009
9:11 am
11166
... I would still like to access the structure in some way. But this way should not reveal the data structure. Notice my question is highly informal and I...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Jul 3, 2009
9:58 am
11167
... The purpose of an abstract type is to hide how it is implemented. You may want to provide an interface to your type, and the end-users will be tied to it....
citromatik
miguel.pignatelli@...
Send Email
Jul 3, 2009
10:16 am
11168
... What is a nonsense? The use of abstract types or the opening up of the type and implementation details to external users? On a similar note: I too am...
Hugo Ferreira
hugotwo3
Offline Send Email
Jul 3, 2009
10:30 am
11169
... I was not clear, settled this way this is indeed non-sense. But what I meant by "structure" in the quotation was not the "implementation structure". I mean...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Jul 3, 2009
12:13 pm
11170
... I think he is talking about doing both at a time. Which is indeed nonsense. ... I am having the same problem and am thinking of just keeping the black box...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Jul 3, 2009
12:22 pm
11171
... Since I keep my tests in separate files from the module source this might not be the way to go for me. H.F....
Hugo Ferreira
hugotwo3
Offline Send Email
Jul 3, 2009
2:04 pm
11172
... Hash: SHA1 ... For testing and debugging purposes I find it convenient to have some access to raw (unabstracted) types. My solution is for every module to...
Peng Zang
peng.zang@...
Send Email
Jul 3, 2009
2:20 pm
11173
... Nice! Thanks Regards, Hugo F....
Hugo Ferreira
hugotwo3
Offline Send Email
Jul 3, 2009
2:46 pm
11174
Sorry for the slow response, Vincent. I have been on holiday... ... Yes. That solutions works well when it is suitable. Specifically, when the arguments of the...
Jon Harrop
jon@...
Send Email
Jul 3, 2009
8:27 pm
11175
... tediousness. Do you mean there is some general tool? Can you refer us to any examples? ... [Non-text portions of this message have been removed]...
Ashish Agarwal
ashish_a1975
Offline Send Email
Jul 4, 2009
2:03 am
11176
... Exactly. I could not manage to express it as clear... ... Exactly. That's the solution I first chose, this is of course very general but we lose all the...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Jul 5, 2009
1:27 pm
11177
... Sorry, this is actually wrong now. I forgot to mention that a subtle but enormously important advancement was made in OCaml 3.11. Specifically, you can now...
Jon Harrop
jon@...
Send Email
Jul 5, 2009
2:16 pm
11178
Hi, I'd like to fully understand the type system of ocaml. I believe this part is crucial for writting good caml code. Types are the building blocks that allow...
Jaques Bertrand
bertrandjaques
Offline Send Email
Jul 7, 2009
6:53 am
11179
... You're right. (first question answered, remain... hee? 20? :) ... I don't know if this sentence was only rethorical or not, but I slightly disagree. I...
Vincent Aravantinos
vincent.arav...
Offline Send Email
Jul 7, 2009
8:32 am
11180
Hi, I'm having some trouble with the OCaml type system. I'm using objects as a kind of dynamic module system, as each function requires certain dynamic...
permuter
Offline Send Email
Jul 8, 2009
12:22 pm
11181
... IMHO, this question is way too advanced for the beginners list. I strongly suggest you ask on the main caml-list where the l33t type system gurus hang out....
Jon Harrop
jon@...
Send Email
Jul 8, 2009
2:19 pm
11182
... Hash: SHA1 I use objects a lot and also run into this problem. Type annotations can quickly get too large. I don't have a good answer, but this is what I...
Peng Zang
peng.zang@...
Send Email
Jul 8, 2009
4:10 pm
11183
Hi Peng, Thanks very much for your reply, this is very helpful. As Jon suggested this is a bit too advanced for this list, I've reposted on the normal OCaml...
permuter
Offline Send Email
Jul 9, 2009
11:53 am
11184
Hi, Is there a syntax extension that allows a string to be assigned the contents of a file? So instead of doing let str = "very long string" one would just ...
Dario Teixeira
darioteixeira
Offline Send Email
Jul 9, 2009
6:03 pm
11185
Hi, ... Thanks, that will do. But which syntax extension provides that facility? (It doesn't seem to work with vanilla Ocaml). I know you are associated with ...
Dario Teixeira
darioteixeira
Offline Send Email
Jul 9, 2009
7:13 pm
11186
Hi again, ... Btw, I just noticed that Delimited Overloading does include a "Macro" module offering the INCLUDE facility. As for why I need this: I want to...
Dario Teixeira
darioteixeira
Offline Send Email
Jul 9, 2009
7:18 pm
11187
... Try include_file with xstrp4: http://projects.camlcity.org/projects/xstrp4.html...
Jake Donham
jake.donham
Offline Send Email
Jul 9, 2009
7:41 pm
Messages 11158 - 11187 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