Alpounet changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html
Ringo48 has joined #ocaml
kaustuv_ has joined #ocaml
kaustuv has quit [Read error: 60 (Operation timed out)]
verte has joined #ocaml
verte is now known as verte-work
tmaeda is now known as tmaedaZ
tmaedaZ is now known as tmaeda
ikaros has quit ["Leave the magic to Houdini"]
mbishop_ is now known as mbishop
tmaeda is now known as tmaedaZ
tmaedaZ is now known as tmaeda
tmaeda is now known as tmaedaZ
<Ringo48> in that code, can anybody explain why the block I labeled "BLOCK ONE" doesn't compile, but the code in "BLOCK TWO" works?
<Ringo48> The error message I get is "Error: This expression has type GPack.box but an expression was expected of type < pack : GObj.widget -> unit; .. > Types for method pack are incompatible"
<Ringo48> okay, that's the fixed version
<Ringo48> I still don't understand why I have to call hb1#pack outside of the labeled_entry function, though
<orbitz> hi
<orbitz> Ringo48: coudl you move that do codepad.org? pastebin.com is not a very good pastebin
<Ringo48> oh, sure
<Ringo48> first snippet: http://codepad.org/ynpOqCzV
<Ringo48> second snippet: http://codepad.org/yXqauReT
<orbitz> looking
<orbitz> ehh what's the code that doesn't ocmpile again?
<Ringo48> the first one
<Ringo48> commented with "BLOCK ONE"
<Ringo48> I have it working, so don't worry about it too much :-)
<orbitz> k
<Ringo48> just confusing me
whale has quit [Read error: 113 (No route to host)]
davidL has quit [Read error: 113 (No route to host)]
kaustuv_ has quit [pratchett.freenode.net irc.freenode.net]
komar_ has quit [pratchett.freenode.net irc.freenode.net]
TaXules has quit [pratchett.freenode.net irc.freenode.net]
palomer has quit [pratchett.freenode.net irc.freenode.net]
fremo has quit [pratchett.freenode.net irc.freenode.net]
aij has quit [pratchett.freenode.net irc.freenode.net]
ertai has quit [pratchett.freenode.net irc.freenode.net]
det has quit [pratchett.freenode.net irc.freenode.net]
julm has quit [pratchett.freenode.net irc.freenode.net]
Ched has quit [pratchett.freenode.net irc.freenode.net]
tomaw has quit [pratchett.freenode.net irc.freenode.net]
animist has quit [pratchett.freenode.net irc.freenode.net]
petchema has quit [pratchett.freenode.net irc.freenode.net]
mehdid has quit [pratchett.freenode.net irc.freenode.net]
__marius__ has quit [pratchett.freenode.net irc.freenode.net]
rbancroft has quit [pratchett.freenode.net irc.freenode.net]
kaustuv_ has joined #ocaml
det has joined #ocaml
julm has joined #ocaml
animist has joined #ocaml
komar_ has joined #ocaml
Ched has joined #ocaml
tomaw has joined #ocaml
aij has joined #ocaml
fremo has joined #ocaml
TaXules has joined #ocaml
palomer has joined #ocaml
ertai has joined #ocaml
__marius__ has joined #ocaml
rbancroft has joined #ocaml
mehdid has joined #ocaml
petchema has joined #ocaml
tmaedaZ is now known as tmaeda
thelema_ has joined #ocaml
thelema has quit [Read error: 104 (Connection reset by peer)]
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
nnyby is now known as DrSunglasses
thrasibule_ has quit [Read error: 145 (Connection timed out)]
ulfdoz has joined #ocaml
ulfdoz has quit [Read error: 60 (Operation timed out)]
ztfw has quit [Read error: 104 (Connection reset by peer)]
ztfw` has joined #ocaml
ztfw` has quit [Remote closed the connection]
ttamttam has joined #ocaml
ttamttam has quit ["Leaving."]
f[x] has joined #ocaml
verte-work has quit ["~~~ Crash in JIT!"]
ttamttam has joined #ocaml
bjorkintosh has left #ocaml []
<myst> hi all, http://codepad.org/yMSfYOnK <-- what's wrong here? I just cannot get it...
<flux> myst, the scope of try/with..
<flux> myst, the pattern matching continues, covering the expression !s
<flux> oh, right
<flux> that's what you intended
<flux> well add "assert false" before "with"
<flux> because the type of a while loop is unit
<flux> (actually I'm not sure if you intended it or not)
<flux> you can fix it wither with parens or the assert :)
<flux> (I wouldn't mind if the return type of 'while true' was 'a like it is for 'assert false')
<myst> erm... it's like 'close_in f; !s' is in ->?
<flux> yes
<myst> thanks
f[x] has quit [Read error: 145 (Connection timed out)]
Submarine has joined #ocaml
ertai_ has joined #ocaml
fremo has quit [Remote closed the connection]
TaXules has quit [Remote closed the connection]
aij has quit [Remote closed the connection]
TaXules has joined #ocaml
aij has joined #ocaml
fremo has joined #ocaml
fremo is now known as Guest32581
ertai has quit [Read error: 104 (Connection reset by peer)]
Alpounet has joined #ocaml
thrasibule has joined #ocaml
derdon has joined #ocaml
verte has joined #ocaml
thrasibule has quit [Read error: 145 (Connection timed out)]
Yoric[DT] has joined #ocaml
caligula__ has joined #ocaml
Alpounet has quit [Remote closed the connection]
caligula_ has quit [Read error: 110 (Connection timed out)]
Guest32581 is now known as fremo
Alpounet has joined #ocaml
<myst> is "let (|>) f g = g f" an idiom? I mean to see function composition as a pipe? Usually it's seen as f(g(x)) = f o g, i.e. in natural order, not g |> f (reversed order).
<myst> But if it is an estabilished idiom in OCaml code...
<Alpounet> it is not an idiom
<Alpounet> it just makes code clearer for most OCaml programmers
<Alpounet> that's why it is included, e.g, in Batteries
<flux> 'most'?
<flux> I think the idea was anyway picked from F#
<flux> but I don't mind it, it's can produce clear code
<Alpounet> flux, not for you ?
<flux> alpounet, I'm thinking most ocaml developers have never seen the operator..
<Alpounet> well
<Alpounet> for those who have seen it, of course
<flux> anyway, didn't batteries do some precedency hacking for that (?) operator?
<myst> idiom is standard way of doing non-standard things, so if for most of OCaml programmes "string" |> print_endline is more readable then print_endline $ "string" then possibly I should get used to it...
<flux> myst, I doubt that's a common use case for that operator. I would expect more than one element in the 'pipeline' for one.
<myst> of course
<Alpounet> it's rather read_from_file "foo.txt" |> do_some_stuffs_on_it |> format_it_for_output |> print_endline
<Alpounet> this kind of thing
<myst> as for me: print_int $ List.fold_left (+) 0 $ produce_list is more readable atm
<Alpounet> a slide for David Teller about Batteries shows an example about that
<myst> because it looks like function composition
<myst> f o g o h
<Alpounet> flux, I don't remember for the precedency hacking, so ... maybe.
<myst> btw, is there a list of characters allowable for let (<chars>)?
<myst> or it's try-it case?
<flux> myst, well, you can find the allowed operator characters from the manual, it has a bnf-like chapter
Alpounet has quit [Remote closed the connection]
<myst> ah, really
<myst> thanks
Alpounet has joined #ocaml
f[x] has joined #ocaml
kaustuv_` has joined #ocaml
tmaeda is now known as tmaedaZ
kaustuv_ has quit [Read error: 110 (Connection timed out)]
derdon has quit []
f[x] has quit [Read error: 145 (Connection timed out)]
ikaros has joined #ocaml
ikaros has quit [Client Quit]
ikaros has joined #ocaml
ttamttam has quit ["Leaving."]
ttamttam has joined #ocaml
ttamttam has quit ["Leaving."]
tomaw has quit [Connection timed out]
Submarine has quit [Read error: 113 (No route to host)]
tomaw has joined #ocaml
<thelema_> For many operations, |> is the natural order rather than () because with nested (), you have to read from right to left.
<thelema_> input |> process |> process |> outputf vs. outputf (process (process (input)))
thelema_ is now known as thelema
Associat0r has joined #ocaml
Associat0r has quit [Client Quit]
_andre has joined #ocaml
kaustuv_` is now known as kaustuv
<kaustuv> I'm trying to get ocaml 3.11.1 working in Windows 7, but flexlink keeps aborting with "Access is denied". Has anyone successfully gotten it to work in Windows 7?
helgim_ has joined #ocaml
helgim_ has left #ocaml []
albacker has joined #ocaml
derdon has joined #ocaml
<thelema> kaustuv: I'm getting the feeling that less and less people actually use ocaml/win because of f#
<flux> maybe more would use it, if the darn thing worked properly?-)
tmaedaZ is now known as tmaeda
verte has quit ["~~~ Crash in JIT!"]
<thelema> flux: otoh, with few using it, few bug reports get filed and fixed, so it stays broken
<Camarade_Tux> kaustuv: with cygwin?
Snark has joined #ocaml
<kaustuv> Camarade_Tux: yes, with cygwin, which I need to install anyway because of Isabelle
<Camarade_Tux> kaustuv: I had that too iirc, the problem is actually with the permissions, try chmod on the cygwin side and widen the permissions with windows' explorer
<Camarade_Tux> right-click -> properties -> edit (to change permissions) -> add -> "Users" -> tick "Full control" -> apply
<Camarade_Tux> that should do it
<myst> I use OCaml on Windows. But in bytecode mode only, since I am not going to install VS200x.
<myst> devs should look at GHC guys, they're shipping gcc with GHC, so everything works out of the box. This is f*cking Windows btw.
<Camarade_Tux> I should do something like that, I've started it but haven't had time to do everything
<Camarade_Tux> s/like/much better than/ =)
komar_ has quit [Read error: 110 (Connection timed out)]
andre has joined #ocaml
f[x] has joined #ocaml
_zack has joined #ocaml
_andre has quit [Read error: 110 (Connection timed out)]
<Alpounet> <thelema> kaustuv: I'm getting the feeling that less and less people actually use ocaml/win because of f# <<< or because of win
<orbitz> Win for the win!
<thelema> ocaml *could* work just fine on windows. there's some things that'd need to be imported/reinvented, but it could be complete on windows.
<thelema> It's not because no-one able to do the work is interested in that.
_Jedai_ has joined #ocaml
|Jedai| has quit [Read error: 60 (Operation timed out)]
<Alpounet> hmm
komar_ has joined #ocaml
jimmyb2187 has left #ocaml []
ttamttam has joined #ocaml
jimmyb2187 has joined #ocaml
ttamttam has quit [Client Quit]
<orbitz> most things *could* work just fine on windows
<gildor> but who will be interested in OCaml working on Windows ?
<kaustuv> Camarade_Tux: thanks for the suggestion. I will try it out in a few minutes once Linux finishes installing in the other partition.
<kaustuv> gildor: MSR-INRIA is very interested in getting dependable OCaml support on Windows. Problem is finding funding for a fulltime Windows developer
<thelema> kaustuv: why is the solution hiring someone? This is an open source project, no?
f[x] has quit [Read error: 145 (Connection timed out)]
<kaustuv> thelema: Yes, but projet Gallium has no people to spare getting Windows support
<kaustuv> And no one in the community has volunteered their time
<kaustuv> Camarade_Tux: OK, now what should I be chmoding?
thelema_ has joined #ocaml
<Yoric[DT]> Note: if you want to use OCaml, feel free to send your resume at mlstate :)
<Yoric[DT]> s/at/to/
<orbitz> is mlstate a company?
<Yoric[DT]> Yep.
<Yoric[DT]> mlstate.com
* orbitz throws resuem at mlstate
* Yoric[DT] ducks.
tmaeda is now known as tmaedaZ
thelema has quit [Read error: 110 (Connection timed out)]
<orbitz> a programming sysadmin, that'll be teh day!
* orbitz needs to learn LaTeX
tmaedaZ is now known as tmaeda
<Yoric[DT]> Actually, we're looking for a programming sysadmin, too :)
ikaros has quit [Read error: 110 (Connection timed out)]
<gildor> kaustuv: if someone distribute an OCaml on Windows env, would MSR-INRIA still be interested ?
<gildor> kaustuv: is MSR-INRIA directed by J.J Levy ?
<kaustuv> gildor: yes to both
<gildor> kaustuv: when I say "if someone distribute", I mean commercialy speaking
<gildor> all: could you answer the poll on www.ocamlcore.com ?
<gildor> kaustuv: the answer won't engage your responsability, just to know what is worth
willb has joined #ocaml
<kaustuv> gildor: I am only a postdoc, so I cannot answer that in any official way.
<Camarade_Tux> kaustuv: just flexlink.exe
<gildor> don't ask you to, just to know what the feeling at MSR-INRIA, answer we privately if you want
<gildor> answer me
<gildor> s/we/me/
<Camarade_Tux> kaustuv: cygwin set weird perms and since you added flexlink.exe by hand, it didn't have those, just make sure flexlink.exe perms are consistent with others
<Camarade_Tux> s/set/sets/
<kaustuv> Camarade_Tux: Hmm, I seem to be able to execute it fine. What should I make it consistent with?
<Camarade_Tux> kaustuv: when do you get the error already?
<kaustuv> I get it when trying to link hello world using: flexlink -chain cygwin -exe -o hw.exe hw.o
willb has quit [Remote closed the connection]
<kaustuv> Camarade_Tux: I tried flexlink with every combination of permissions I can think of, including full access, and it gives the same error always
<Camarade_Tux> I'm almost sure the problem is with permissions since I had that issue too but I also think I just wipped any restriction at once
<kaustuv> Well, I can live with statically linked native code for now, which already works. Thanks for your help.
julm has quit [Remote closed the connection]
julm has joined #ocaml
<Camarade_Tux> btw, my cygwin install is about 500MB but I don't think many people get something that small
<Camarade_Tux> ok, nice :)
<Alpounet> gildor, done
<Alpounet> huh, Camarade_Tux, kaustuv : http://forge.ocamlcore.org/projects/overbld/
<gildor> Alpounet, Camarade_Tux, kaustuv: yep, I just set the hg repository
<kaustuv> Nice. I'll be keeping an eye on this.
f[x] has joined #ocaml
<Alpounet> gildor, yeah, just got it in my RSS
<gildor> it is better to have it on OCaml forge than on sourceforge.net
willb has joined #ocaml
<Alpounet> indeed !
komar__ has joined #ocaml
<Camarade_Tux> gildor: nice, I was thinking that we definitely needed something like that last night :)
<Camarade_Tux> sourceforge is so slow...
<gildor> one day, when there will be 1000s of OCaml project on OCamlForge, we will have the same kind of problems
<gildor> ;-)
<gildor> we still have a few days to find a solution
<Camarade_Tux> my small cygwin env is 82MB once compressed (was about 500MB before)
<Camarade_Tux> gildor: haha :P
<gildor> (take a look at http://ocsforge.forge.ocamlcore.org)
<Alpounet> haha good
tmaeda is now known as tmaedaZ
Alpounet has quit ["Leaving"]
komar_ has quit [Read error: 113 (No route to host)]
_zack has quit ["Leaving."]
onigiri has quit [Read error: 110 (Connection timed out)]
slash_ has joined #ocaml
smimou has joined #ocaml
ikaros has joined #ocaml
<flux> I revised the web page for Ganamae to be more Web 2.0. it also has an online demo and a release too! http://www.modeemi.cs.tut.fi/~flux/software/ganame/
<flux> Ganame, even
kaustuv_ has joined #ocaml
ikaros has quit ["Leave the magic to Houdini"]
<thelema_> flux: cute.
kaustuv has quit [Read error: 110 (Connection timed out)]
<flux> yes, I think so too :). too bad it (still) can't handle the case ABCDE-CD1=CD1-ABCDE, which I think is one common use case..
<Camarade_Tux> then you could license it to microsoft, they're lagging on that ;)
<thelema_> flux: detecting permutations in the general case... that seems hard
<thelema_> I wonder if it could be given a hint of some sort...
_zack has joined #ocaml
<thelema_> it already finds separators, there's only n! permutations of what's between separators
<thelema_> and you could have less "pieces" at the end than you started with...
<flux> yes, I'm actually working on that pieces-idea
<flux> it already can find common words from the to-side and use substrings of those
<flux> so ganame -n hello=helloWORLD bar=barWORLD -- baz works as expected
myst has quit [Read error: 54 (Connection reset by peer)]
<flux> (it uses a separate step to find the common words)
myst has joined #ocaml
julm has quit [Remote closed the connection]
julm has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
peddie has joined #ocaml
youscef has joined #ocaml
youscef has left #ocaml []
_zack has quit ["Leaving."]
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
ulfdoz has joined #ocaml
julm_ has joined #ocaml
julm has quit [Read error: 145 (Connection timed out)]
Snark has quit ["Ex-Chat"]
Ched has quit [Read error: 113 (No route to host)]
Ched has joined #ocaml
det has quit [Remote closed the connection]
Yoric[DT] has joined #ocaml
myst has quit [pratchett.freenode.net irc.freenode.net]
kaustuv_ has quit [pratchett.freenode.net irc.freenode.net]
thelema_ has quit [pratchett.freenode.net irc.freenode.net]
Yoric[DT] has quit [pratchett.freenode.net irc.freenode.net]
komar__ has quit [pratchett.freenode.net irc.freenode.net]
palomer has quit [pratchett.freenode.net irc.freenode.net]
_Jedai_ has quit [pratchett.freenode.net irc.freenode.net]
caligula__ has quit [pratchett.freenode.net irc.freenode.net]
animist has quit [pratchett.freenode.net irc.freenode.net]
petchema has quit [pratchett.freenode.net irc.freenode.net]
mehdid has quit [pratchett.freenode.net irc.freenode.net]
__marius__ has quit [pratchett.freenode.net irc.freenode.net]
rbancroft has quit [pratchett.freenode.net irc.freenode.net]
Yoric[DT] has joined #ocaml
myst has joined #ocaml
kaustuv_ has joined #ocaml
komar__ has joined #ocaml
thelema_ has joined #ocaml
_Jedai_ has joined #ocaml
caligula__ has joined #ocaml
animist has joined #ocaml
palomer has joined #ocaml
__marius__ has joined #ocaml
rbancroft has joined #ocaml
mehdid has joined #ocaml
petchema has joined #ocaml
slash_ has quit [Client Quit]
slash_ has joined #ocaml
det has joined #ocaml
julm_ has quit [Remote closed the connection]
julm has joined #ocaml
f[x] has quit [Read error: 145 (Connection timed out)]
<myst> erm, anyone knows why List.map is not tail-recursive?
<flux> because it is difficult to implement without black magic or inefficiencies
<flux> ExtLib does have that feat, though. it uses the former.
<myst> huh... acc-idiom won't work suddenly?
slash_ has quit [Client Quit]
slash_ has joined #ocaml
<flux> well, you might have noticed many times there's List.rev in the last step
<flux> or not?-)
<flux> consider how you would write List.map with an accumulator
<myst> yes
<myst> it will be List.rev
<myst> but it won't eat stack
<flux> well, it's not the most efficient way of doing things, as for one, it can cause considerable amount of GC work
<flux> and standard library should be suitable for all situations
<myst> whatever, I can write my own any time
<flux> :)
<flux> (of course, stdlib _isn't_ suitable for mapping big lists with that implementation)
<myst> if it goes *big* it's better to not use lists at all
<flux> indeed
<myst> :)
<flux> but sometimes you don't know how big
<flux> for example if the data comes from the user
<flux> btw, you can implement List.map in terms of List.rev and fold_left
<myst> I am playing with Sets atm
andre has quit ["leaving"]
Yoric[DT] has quit ["Ex-Chat"]
tab_ has joined #ocaml
thelema_ has quit [pratchett.freenode.net irc.freenode.net]
kaustuv_ has quit [pratchett.freenode.net irc.freenode.net]
myst has quit [pratchett.freenode.net irc.freenode.net]
slash_ has quit [pratchett.freenode.net irc.freenode.net]
komar__ has quit [pratchett.freenode.net irc.freenode.net]
palomer has quit [pratchett.freenode.net irc.freenode.net]
caligula__ has quit [pratchett.freenode.net irc.freenode.net]
_Jedai_ has quit [pratchett.freenode.net irc.freenode.net]
animist has quit [pratchett.freenode.net irc.freenode.net]
petchema has quit [pratchett.freenode.net irc.freenode.net]
mehdid has quit [pratchett.freenode.net irc.freenode.net]
__marius__ has quit [pratchett.freenode.net irc.freenode.net]
rbancroft has quit [pratchett.freenode.net irc.freenode.net]
mfp has quit [pratchett.freenode.net irc.freenode.net]
tab has quit [pratchett.freenode.net irc.freenode.net]
tmaedaZ has quit [pratchett.freenode.net irc.freenode.net]
nimred has quit [pratchett.freenode.net irc.freenode.net]
cygnus_ has quit [pratchett.freenode.net irc.freenode.net]
mlh has quit [pratchett.freenode.net irc.freenode.net]
BigJ has quit [pratchett.freenode.net irc.freenode.net]
prigaux has quit [pratchett.freenode.net irc.freenode.net]
cygnus__ has joined #ocaml
nimred_ has joined #ocaml
mlh_ has joined #ocaml
mfp has joined #ocaml
prigaux_ has joined #ocaml
slash_ has joined #ocaml
myst has joined #ocaml
kaustuv_ has joined #ocaml
komar__ has joined #ocaml
thelema_ has joined #ocaml
_Jedai_ has joined #ocaml
caligula__ has joined #ocaml
animist has joined #ocaml
palomer has joined #ocaml
__marius__ has joined #ocaml
rbancroft has joined #ocaml
mehdid has joined #ocaml
petchema has joined #ocaml
BigJ has joined #ocaml
slash_ has quit [Client Quit]
slash_ has joined #ocaml
tmaedaZ has joined #ocaml
tmaedaZ is now known as tmaeda
<flux> thelema_, I added support for the CD1-case..
<flux> however it might not work always :)
myst has quit [Read error: 60 (Operation timed out)]
<albacker> how could this be done in ocaml
<albacker> how would you make the EOF in ocaml ?
<flux> "make"?
<flux> usually you close the stream..
<albacker> the input would be an unknwon number of pairs of integers.
<albacker> how would you know where to stop?
<albacker> in C that would be after pressing Ctrl-D
<flux> it's not a C feature
<flux> it's a Unix feature
<flux> so C-d works in ocaml too; input will raise End_of_file in that case
<albacker> ok i see.. i just dont see how i could do that in ocaml though
<albacker> i could write the function that gets 2 ints as argument and returns a 3rd integer.
<albacker> but i dont see how i could meka the wait for ints, and ignore 'spaces' thing.. :/
<albacker> dunno if i've explained myself.
<flux> you could use input_line to get a whole line and then split that with Str.split
<flux> or, actually, this is simpler: you could use Scanf.scanf
<flux> Scanf.scanf "%d %d" (fun a b -> (a, b))
<albacker> ok, i suck at library then!
<albacker> thanks..
<albacker> scanf.. hmm wouldnt that wait for \n and return value?
<albacker> can i make smth like while((Scanf.scanf.. ) != End_of_file)
<albacker> flux, the output should be outputed at the end for all the pairs of integers.
<albacker> i could build a list of nuplets though til i go to the end
<flux> btw, it's "%d %d\n" (just tried it)
<flux> but yes, you do it in a loop etc
<albacker> ok gotta giv it a try
willb has quit [Read error: 145 (Connection timed out)]
<albacker> i wrote smth but i'm tired and sleepy now.. will give it a try tomorrow
<albacker> flux, is this anything near to what it might look like at the end : http://pastebin.com/m1ade1f8a
<flux> no
<albacker> thanks for giving it a look
<albacker> gotta read the documentation for scanf tomorrow.. i just 'tried to figure out' how it should work.
<flux> you need to do the while loop something like: try while true do my_list := Scanf.. :: !my_list done; assert false with End_of_file -> List.rev !my_list
<albacker> assert??
<flux> well
<flux> it's one way
<flux> I actually didn't notice the end of the clip, so maybe you didn't think of doing it that way at all
<flux> I thought you'd first construct a list
<flux> (from input)
<flux> actually your idea can be modified to suit this better
<flux> so it'd be something like:
<albacker> what i do is make a ref to [] and pass it as argument and modify it at the other side( the other func )
<flux> while (try Scanf.. (fun a b -> my_list := (a, b)::!my_list); true with End_of_file -> false) do () done
<flux> I think it's a lot cleaner if you just called the my_func and then did the assignment in the earlier place
<flux> btw, you must place my_func before you call it
<albacker> its not even good written, just smth very fast.. to tell you my idea.
smimou has quit ["bli"]
<albacker> sorry for wasting your time and thanks for the help.
<albacker> tomorrow i'll give a deeper look to scanf, and also i'll try to figure out how the try/do/assert you used there works.
<albacker> thanks for the help.
onigiri has joined #ocaml
julm has quit [Remote closed the connection]
julm has joined #ocaml
albacker has quit ["__"]
myst has joined #ocaml
myst has quit [Client Quit]
myst has joined #ocaml
ulfdoz has quit [Read error: 110 (Connection timed out)]
myst has quit []
myst has joined #ocaml
betehess has joined #ocaml
betehess has quit ["Ex-Chat"]
<Camarade_Tux> hmmm, with ocamlfind, I need to install .h files along with the .cma, how should the META file look like?
<Camarade_Tux> currently I have "archive(byte) = lib.cma"
<Camarade_Tux> oh crap, it's not the place I should do that ><
<Camarade_Tux> a few minutes ago I was wondering whether I would code a bit and go to bed or go to bed and code a bit on tomorrow, think I got the answer :P
onigiri has quit []
Ched has quit [Read error: 113 (No route to host)]
maskd has quit [pratchett.freenode.net irc.freenode.net]
derdon has quit []
maskd has joined #ocaml