sponge45 changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/
pango is now known as pangoafk
smimou has quit ["bli"]
joshcryer has quit [Client Quit]
Z4rd0Z has joined #ocaml
reilly has left #ocaml []
b00t has joined #ocaml
david_koontz has quit [Read error: 110 (Connection timed out)]
flakjlkj has joined #ocaml
stevan_ has joined #ocaml
flakjlkj is now known as shawn
Smerdyakov has joined #ocaml
stevan has quit [Read error: 110 (Connection timed out)]
Mr_Awesome has quit [Read error: 110 (Connection timed out)]
johnnowak has joined #ocaml
Mr_Awesome has joined #ocaml
smimp has quit [Read error: 145 (Connection timed out)]
mbishop has joined #ocaml
mbishop has left #ocaml []
pantsd has joined #ocaml
sponge45 has quit ["zzzzzzzzzz"]
smimp has joined #ocaml
cod3po37 has joined #ocaml
Smerdyakov has quit ["Leaving"]
Mr_Awesome has quit ["and the Awesome Level drops"]
dark_light has quit ["Ex-Chat"]
Harzilein has joined #ocaml
<Harzilein>
hi there
<levi_home>
Hi.
<Harzilein>
i wonder if there have been efforts to write manual pages for the language, akin to those that come with perl
<levi_home>
I doubt it. There's already extensive documentation.
<Harzilein>
levi_home: yeah, a tutorial and a language reference. nothing that would have that manpage-like feeling with it
<Harzilein>
levi_home: it is like i'd take the posix standard if i'd want to learn bourne shell
<levi_home>
I found the reference manual very easy to use.
<levi_home>
The PDF has a TOC so it's easy to jump to the section I need.
<levi_home>
On the other hand, I find the perl manpages to be an unholy mess, just like the rest of the language.
<Harzilein>
well, the html rendition has it as well (i wouldn't like pdf if i were sitting at the vt510s at my friends' living room)
<Harzilein>
but looking at the actual itch i am trying to scratch (why does the tutorial use ;; for ending expressions and normal programs seem to use ;, why do db queries have an empty line in them) i find it isn't as accessible as manpages would be
* Debolaz2
concurs with perl having a very, very nice documentation system.
<Debolaz2>
Which most other languages unfortunately lack.
<Harzilein>
ahaa, i found my answer in the camlp4 tutorial (which isn't the first place i'd look ;)
pantsd has quit [Remote closed the connection]
<Harzilein>
hmm...
<Harzilein>
# load "camlp4r.cma";;
<Harzilein>
Unbound value load
<Harzilein>
aaah, just #such expressions looking weird in toplevel
<levi_home>
When you type at the toplevel prompt, you must end a line with ;;
<levi_home>
In a program, ; is kind of an operator that takes two expressions and returns the value of the second one.
<levi_home>
The semicolon isn't a line terminator like it is in C-like languages.
cod3po37 has quit []
<flux->
harzilein, you've noticed though, that the manual is available as manpages too? man List
<Harzilein>
yeah, that's just like perldoc ;)
<Harzilein>
but something like man ocamlsyn would be cool
<levi_home>
The manual has a nice syntax guide.
<Harzilein>
i don't see something nice there
<Harzilein>
the first part of the manual is more like a tutorial, and the language reference is just bnf
<levi_home>
What more do you want?
<Harzilein>
prose but complete
pantsd has joined #ocaml
david_koontz has joined #ocaml
_velco has joined #ocaml
johnnowak has quit []
Z4rd0Z has quit []
olegfink_ has joined #ocaml
olegfink has quit [Read error: 110 (Connection timed out)]
delamon has joined #ocaml
asmanian has joined #ocaml
love-pingoo has joined #ocaml
Smerdyakov has joined #ocaml
AsylumGov has joined #ocaml
<AsylumGov>
hi all, I need to implement a simple interactive text-mode program
<AsylumGov>
now I would like to be able to catch single key strokes (like arrow or tab)
<AsylumGov>
but input_char expects a terminating enter
<AsylumGov>
what functions should I use?
<flux->
you want to set the terminal to raw mode
<flux->
with maybe Unix.stty
<flux->
you could also use ncurses-bindings for ocaml
<flux->
but, I've gotta go, good luck :)
<AsylumGov>
stty?
ikaros has quit ["Leaving"]
manu3000 has joined #ocaml
AsylumGov has left #ocaml []
asmanian has quit [Remote closed the connection]
bluestorm has joined #ocaml
Shi_ has quit [Read error: 110 (Connection timed out)]
jlouis has quit [Remote closed the connection]
<flux->
bad guess I suppose
<flux->
tcsetattr, of course
pantsd has quit [Read error: 110 (Connection timed out)]
bluestorm has quit ["Konversation terminated!"]
slipstream has quit [Read error: 104 (Connection reset by peer)]
kadink__ has joined #ocaml
Submarine has quit [Remote closed the connection]
slipstream has joined #ocaml
pants1 has joined #ocaml
slipstream has quit [Read error: 104 (Connection reset by peer)]
slipstream has joined #ocaml
Smerdyakov has quit ["Leaving"]
kadink__ has quit [Remote closed the connection]
kadink__ has joined #ocaml
manu3000 has quit [Client Quit]
b00t has quit [Read error: 104 (Connection reset by peer)]
manu3000 has joined #ocaml
manu3000 has quit [Client Quit]
Z4rd0Z has joined #ocaml
pants1 has quit [Read error: 110 (Connection timed out)]
kadink__ has quit [Remote closed the connection]
kadink__ has joined #ocaml
kadink__ has quit [Remote closed the connection]
kadink__ has joined #ocaml
slipstream has quit [Connection timed out]
stevan__ has joined #ocaml
Smerdyakov has joined #ocaml
stevan_ has quit [Success]
stevan__ is now known as stevan
bebui has quit [Read error: 110 (Connection timed out)]
velco has joined #ocaml
jlouis has joined #ocaml
TaXules has quit [Read error: 110 (Connection timed out)]
kadink__ has quit [Read error: 104 (Connection reset by peer)]
joshcryer has joined #ocaml
Shimei has joined #ocaml
olegfink_ is now known as olegfink
ikaros has joined #ocaml
pstickne_ has joined #ocaml
pstickne__ has quit [Connection timed out]
<olegfink>
hi!
<haelix>
oy !
<olegfink>
has anyone any experience with MyNOS? :S
<haelix>
I've just had a quick look at their sf project page
<haelix>
but I doubt this count as experience :)
<olegfink>
yeah, really
<haelix>
ask your question/problem, anyway
<olegfink>
ah(
<olegfink>
it's too project-specific
<haelix>
don't they have their own channel ?
<olegfink>
In fact, I was patching it for about half an hour
<olegfink>
haelix: the project is dead for 2 years
<haelix>
it looks interesting, though
<olegfink>
yep
<olegfink>
I'm trying to do something really similar to this
<olegfink>
so I'm interested in trying to get it running
<olegfink>
the most fascinating is that I got it to compile
<haelix>
:)
<haelix>
while we're at dream OSes
<haelix>
did anybody manage to have an idea of what Tunes ought to have been ?
<haelix>
(seems dead, as well)
<olegfink>
they are all PhDs I think
<olegfink>
er... PhD thesises I mean
<olegfink>
so they die immediately after the person gets PhD
<olegfink>
figlio creato
<olegfink>
^^^
<olegfink>
all the error messages are in Italian or such
<haelix>
if by "such" you mean french, I think I could help
<olegfink>
I suppose `creato` isn't french, right?
<haelix>
no
<haelix>
I thought you meant "various non english languages, beside Italian"
<olegfink>
;)
<olegfink>
by the way it seems to continue loading
<olegfink>
at least according to htop
<haelix>
Do you run it inside a vmware like ?
<olegfink>
worse
<olegfink>
it' Bochs
<haelix>
hum
<haelix>
at least that leaves you with some time to think about wha you're executing :)
<olegfink>
but it takes too long for my old Athlon64 3200+
<olegfink>
seems there's a pretty loop somewhere
<olegfink>
uhm
<olegfink>
need to add some traces atleast =\
<haelix>
well,
<haelix>
sorry but I'll have to leave you at that
* haelix
going away
<haelix>
bye
<olegfink>
ину
<olegfink>
oops
<olegfink>
that was cyrillics
<olegfink>
bye
<haelix>
da svidania :)
<olegfink>
what a surprising knowledge o_O
<haelix>
well
slipstream has joined #ocaml
<haelix>
my whois information might explain a few things
<haelix>
bye (really)
love-pingoo has quit ["Leaving"]
velco has quit ["Ex-Chat"]
TaXules has joined #ocaml
<hcarty>
I'm having trouble with namespace collisions (int32 and friends, mainly) between OCaml's C interface and the HDF4 library
<hcarty>
Has anyone else here faced this problem with other libraries and found a good way to get around it?
<hcarty>
Other than wrapping everything two (or three) layers deep...
smimou has joined #ocaml
_velco is now known as velco
zeeeee has left #ocaml []
TaXules has quit [Read error: 131 (Connection reset by peer)]
TaXules has joined #ocaml
pangoafk is now known as pango
rillig has joined #ocaml
pango has quit [Remote closed the connection]
bebui has joined #ocaml
olegfink has quit ["Konversation terminated!"]
pango has joined #ocaml
ikaros has quit ["Leaving"]
delamonpansie has joined #ocaml
delamonpansie has quit ["WeeChat 0.2.1"]
Smerdyakov has quit [Read error: 104 (Connection reset by peer)]