<mfp>
without the Sys.set_signal , the toplevel just exists silently
<palomer>
whoa, you get an exception?
<palomer>
oh, the exception is from the toplevel
<palomer>
oh wait, you set_signaled it
<mfp>
*exits
<palomer>
wee
<mfp>
palomer: man 2 write says that write returns EPIPE and generates SIGPIPE if the reading end is closed. By setting a handler, I've blocked the signal and the exception becomes visible.
<palomer>
works
<palomer>
thanks!
<mfp>
np
<palomer>
btw, would you happen to know how I could write a keypress to the process verbatim?
<palomer>
sending the result of GdkEvent.Key.string is fruitless
<mfp>
you have to mess with the tty
<palomer>
ie, it sends alphanumeric
<mfp>
ah you mean to the child?
<palomer>
but not enter
<palomer>
yeah
<mfp>
what's the type of GdkEvent.Key.string?
<mfp>
huh a string?
<palomer>
a string
<palomer>
yup
<mfp>
I guess you have to convert it if you're getting some textual representation instead of raw bytes
<mfp>
something involving Char.chr
<palomer>
hrmph
<palomer>
no utf8?
<palomer>
GdkEvent.Key.string doesn't seem to return a textual representation
ikatz has joined #ocaml
Asmadeus has quit ["nighteys"]
asmanur has joined #ocaml
Philonous is now known as Philonous_
szell` has joined #ocaml
seafood has joined #ocaml
redocdam has quit []
szell has quit [Read error: 110 (Connection timed out)]
coucou747 has quit ["bye ca veut dire tchao en anglais"]
bluestorm has joined #ocaml
Philonous has joined #ocaml
Philonous_ has quit [Read error: 104 (Connection reset by peer)]
Proteus_ has joined #ocaml
Proteus has quit [Read error: 110 (Connection timed out)]
Proteus has joined #ocaml
bluestorm has quit [Remote closed the connection]
Proteus_ has quit [Read error: 104 (Connection reset by peer)]
postalchris has joined #ocaml
postalchris has quit [Client Quit]
Mr_Awesome has quit [Remote closed the connection]
Associat0r has quit []
Mr_Awesome has joined #ocaml
ygrek has joined #ocaml
ygrek has quit [Remote closed the connection]
gdmfsob has joined #ocaml
mishok13 has quit [Read error: 110 (Connection timed out)]
jlouis has joined #ocaml
vixey has joined #ocaml
Asmadeus has joined #ocaml
Linktim has joined #ocaml
Linktim_ has joined #ocaml
<Linktim_>
hi
Jedai has quit [Read error: 110 (Connection timed out)]
Linktim has quit [Read error: 110 (Connection timed out)]
det has joined #ocaml
Yoric[DT] has joined #ocaml
ygrek has joined #ocaml
jlouis has quit [Remote closed the connection]
lasts has joined #ocaml
asmanur has joined #ocaml
bluestorm has joined #ocaml
ygrek has quit [Remote closed the connection]
guillem has joined #ocaml
asmanur has quit [Remote closed the connection]
asmanur has joined #ocaml
Linktim has joined #ocaml
Linktim_ has quit [Read error: 110 (Connection timed out)]
Linktim_ has joined #ocaml
Linktim has quit [Read error: 110 (Connection timed out)]
Linktim has joined #ocaml
coucou747 has joined #ocaml
vixey has quit [Read error: 113 (No route to host)]
vixey has joined #ocaml
Linktim_ has quit [Read error: 110 (Connection timed out)]
Linktim_ has joined #ocaml
tomh has joined #ocaml
Yoric[DT] has quit [Read error: 110 (Connection timed out)]
Linktim_ has quit [Client Quit]
Linktim_ has joined #ocaml
tomh has quit [Client Quit]
ygrek has joined #ocaml
titusg has joined #ocaml
Linktim has quit [Read error: 110 (Connection timed out)]
Yoric[DT] has joined #ocaml
jonafan_ has joined #ocaml
Linktim has joined #ocaml
bluestorm has quit [Remote closed the connection]
Linktim_ has quit [Read error: 110 (Connection timed out)]
jonafan has quit [Read error: 110 (Connection timed out)]
Linktim_ has joined #ocaml
tomh has joined #ocaml
Linktim has quit [Read error: 110 (Connection timed out)]
Linktim has joined #ocaml
functional_nerd has joined #ocaml
Linktim_ has quit [Read error: 110 (Connection timed out)]
functional_nerd has quit [Client Quit]
titusg has quit [Remote closed the connection]
Linktim_ has joined #ocaml
Linktim has quit [Read error: 110 (Connection timed out)]
Linktim has joined #ocaml
Associat0r has joined #ocaml
Linktim_ has quit [Read error: 110 (Connection timed out)]
munga__ has joined #ocaml
munga__ has quit [Client Quit]
munga__ has joined #ocaml
munga__ has quit [Client Quit]
Linktim has quit [Read error: 110 (Connection timed out)]
seafood has joined #ocaml
Linktim has joined #ocaml
Linktim_ has joined #ocaml
Linktim has quit [Read error: 110 (Connection timed out)]
Linktim_ has quit [Read error: 110 (Connection timed out)]
dumbo has joined #ocaml
<dumbo>
Hello! I need a purely functional dictionary datastructure.. any documentation pointers?
<Smerdyakov>
I recommend skimming every page of the standard library manual, to build a mental map of what's available.
<Smerdyakov>
I could just give you the answer to your particular question, but what I suggest is more valuable in the long run. ;)
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
Yoric[DT] has quit [Read error: 113 (No route to host)]
* dumbo
googles for "standard library manual ocaml"
<Smerdyakov>
Bad idea. People these days just don't seem to like to follow links from the front page of anything. :P
<Smerdyakov>
It really astounds me how people think it's fine to go about using a programming tool without having any idea where its manual is. I'm not trying to get on your case; this just really confounds me.
<dumbo>
I don't find the OCaml main site easy to read through
<vixey>
hey there's a good book about data structures
<Smerdyakov>
dumbo, you're saying you can't find the manual from the caml.inria.fr front page?
<vixey>
I think It's called purely functional datastructures
<dumbo>
What I know from OCaml is from the french to english transation of the oreilly book
<Smerdyakov>
vixey, I believe that is irrelevant.
<vixey>
It's a good book though
<vixey>
At least I liked it
<Smerdyakov>
vixey, yet still not related here, since I don't think dumbo wants to reinvent the wheel.
<Smerdyakov>
dumbo, I still don't understand. Are you or are you not saying that the OCaml manual is hard to find from caml.inria.fr?
<dumbo>
I had never seen that link until you pointed it out right now
<Smerdyakov>
dumbo, rather peculiar, since it's the first Google hit for "OCaml."
Linktim has joined #ocaml
<dumbo>
hence, why I have used google
<Smerdyakov>
dumbo, how did you come to learn about OCaml in a way that left you not knowing about the project home page?
<dumbo>
I am not saying that I do not know about the OCaml home page.. I am saying that I find it unpleasant to browse, as such I prefer using google to get to the page I need
<Smerdyakov>
Why do you find it unpleasant to browse?
<Smerdyakov>
So when you wrote "that link," you meant the link to the manual...
<Smerdyakov>
Sorry, there are only 12 links total in the body of the front page. I'm not going to accept as reasonable an aversion to reading them all on first visit and storing them away for possible later use.
<dumbo>
Yes, I meant the link to the manual... you had asked me if I had noticed it
<vixey>
sounds like a bad way to do things dumbo
<Smerdyakov>
If you did that, you would realize that the page is about more than one Caml dialect, while all you care about is OCaml, so then you just need to follow the link to the OCaml page and remember the links you find there.
<Smerdyakov>
The OCaml page has only 5 main links.
<Smerdyakov>
Whenever you learn a new programming language, you should make your first priority locating its official web site.
<Smerdyakov>
You always need reference material, not just tutorial material, and only the official web site is likely to provide the former.
<dumbo>
I'm just giving feedback on how well or not I can use the site to a means I need, that's all :-)
raboof has joined #ocaml
<Smerdyakov>
OK. I'm rejecting your argument as valid. :P
<dumbo>
It's in no relation on the presence or absence of content, it's a matter of usability
<Smerdyakov>
Regardless of if the Caml web site could be improved, it's easy enough to use now that it's rude to ask questions here instead of consulting it.
<raboof>
do I understand correctly that using nickel and cafesterol, I can both call java jars from ocaml code, and present my ocaml library to java code packaged as a jar?
<Smerdyakov>
If you think it is hard enough to use now to invalidate my claim, then you are probably not cut out to be using OCaml.
seafood has quit []
redocdam has joined #ocaml
kig has joined #ocaml
<dumbo>
If you don't like feedback, don't ask it. If you don't like my questions don't answer them. You're giving me a RTFM answer. I am sorry.. I thought what I was reading WAS the official manual. Now I know better.
<vixey>
dumbo: Yeah you might be able to find it in a library
Linktim has quit [Read error: 110 (Connection timed out)]
pango_ has quit [Remote closed the connection]
Associ8or has joined #ocaml
Associat0r has quit [Connection reset by peer]
Associ8or has quit [Connection reset by peer]
Associat0r has joined #ocaml
asmanur has quit [Remote closed the connection]
pango_ has joined #ocaml
lasts has quit [Read error: 110 (Connection timed out)]
dumbo has quit ["This computer has gone to sleep"]
GustNG has joined #ocaml
GustNG1 has joined #ocaml
coucou747 has quit [Read error: 113 (No route to host)]
GustNG has quit [Read error: 110 (Connection timed out)]
GustNG has joined #ocaml
Linktim has joined #ocaml
GustNG2 has joined #ocaml
GustNG1 has quit [Read error: 110 (Connection timed out)]
bluestorm has joined #ocaml
GustNG has quit [Read error: 110 (Connection timed out)]
<vixey>
Smerdyakov: what do you use ocaml for?
coucou747 has joined #ocaml
LDE has joined #ocaml
bluestorm has quit [Read error: 110 (Connection timed out)]
Yoric[DT] has joined #ocaml
vixey has quit []
ulfdoz has quit [Remote closed the connection]
vixey has joined #ocaml
asmanur has joined #ocaml
coucou747 has quit ["bye ca veut dire tchao en anglais"]
coucou747 has joined #ocaml
eelte has joined #ocaml
jlouis has joined #ocaml
Linktim_ has joined #ocaml
coucou747 has quit [Read error: 110 (Connection timed out)]
bluestorm has joined #ocaml
ulfdoz has joined #ocaml
Linktim has quit [Read error: 110 (Connection timed out)]