<
karryall>
not when building the library
<
Yurik>
but how I will buld my library w/o stew?
<
karryall>
same thing, you'll link with stew when linking your program
<
Yurik>
hm, should look to lib that use it
<
Yurik>
but when I'm compiling, I need an interface
<
karryall>
yes, that's the .cmi, not the .cmxa
<
karryall>
ocamlopt -I stew -c my_lib_file.ml
<
karryall>
ocamlopt -a my_lib my_lib_file.cmx
<
karryall>
and then you'll link
<
karryall>
ocamlopt -I mylib -I stew stew.cmxa mylib.cmxa my_prog.ml
<
Yurik>
is this a bug or feature of ocaml?
<
karryall>
her, it's just the way ocamlopt -a works
<
karryall>
if you give it the wrong files, it complains
<
Yurik>
seems that it is a bug..
<
Yurik>
ocamlc -a works ok
<
karryall>
IMHO ocamlc behavior is a bug
<
karryall>
I don't know what it is doing with those .cma
<
Yurik>
may be it is a topic for the new thread at caml-list :))
<
Yurik>
finally compiled succesfully. thanks a lot!
<
Yurik>
OCamlGettext 0.0.1 is ready :-)
<
karryall>
congrats
<
Yurik>
may be some further days it will be available to download
<
Yurik>
i will just separate it from my project and put it on sf.net
skylan has joined #ocaml
Dalroth has quit [Remote closed the connection]
<
skylan>
Hello yurik..
Yurik has quit ["later"]
skylan_ has joined #ocaml
skylan has quit [Read error: 110 (Connection timed out)]
Yurik has joined #ocaml
teratorn has joined #ocaml
Yurik has quit [Read error: 110 (Connection timed out)]
Yurik has joined #ocaml
skylan_ is now known as skylan
Yurik has quit [Read error: 110 (Connection timed out)]
gl has joined #ocaml
* gl
is away: I'm busy
Yurik has joined #ocaml
<
Yurik>
OcamlGettext 0.0.1 seems to be really working
gl has quit [Read error: 104 (Connection reset by peer)]
Yurik has quit [Read error: 104 (Connection reset by peer)]
gl has joined #ocaml
Hampus has joined #ocaml
zack has joined #ocaml
merriam has quit [card.freenode.net irc.freenode.net]
merriam has joined #ocaml
Hampus has quit ["leaving"]
mrvn has joined #ocaml
mrvn_ has quit [Read error: 110 (Connection timed out)]
karryall has quit ["'tcho"]
malc has joined #ocaml
malc has quit ["no reason"]
karryall has joined #ocaml
zack has quit ["Client Exiting"]
merriam has quit [Excess Flood]
merriam_ has joined #ocaml
merriam_ is now known as merriam
xkb_ has joined #ocaml
cleverdra has joined #ocaml
<
xkb_>
are exceptions implemented as types in ocaml?
<
xkb_>
I read some paper about "prompts"
<
xkb_>
but Im not sure about what they are
<
cleverdra>
neither am I.
<
xkb_>
Whats SWIG anyway?
Yurik has joined #ocaml
<
cleverdra>
SWIG is AFAIK an interface generator, making it easy for (such as) scripting languages to access C libraries.
Yurik has quit [Read error: 104 (Connection reset by peer)]
<
xkb_>
Hmm.. does ocaml have monads?
<
cleverdra>
Not AFAIK.
cleverdra has quit [card.freenode.net irc.freenode.net]
xkb_ has quit [card.freenode.net irc.freenode.net]
gl has quit [card.freenode.net irc.freenode.net]
Dybbuk has quit [card.freenode.net irc.freenode.net]
mr_bubbs has quit [card.freenode.net irc.freenode.net]
xtrm has quit [card.freenode.net irc.freenode.net]
merriam has quit [card.freenode.net irc.freenode.net]
xtrm has joined #ocaml
<
xtrm>
hello world\n
cleverdra has joined #ocaml
gl has joined #ocaml
mr_bubbs has joined #ocaml
Dybbuk has joined #ocaml
<
xtrm>
is someone know why List.create doesn't exist ?
<
xtrm>
is someone know why List.create doesn't exist ?
xkb__ has joined #ocaml
xtrm has quit [card.freenode.net irc.freenode.net]
mrvn has quit [card.freenode.net irc.freenode.net]
pnou has quit [card.freenode.net irc.freenode.net]
whee has quit [card.freenode.net irc.freenode.net]
Segora has quit [card.freenode.net irc.freenode.net]
emu has quit [card.freenode.net irc.freenode.net]
xkb__ has quit [card.freenode.net irc.freenode.net]
Dybbuk has quit [card.freenode.net irc.freenode.net]
mr_bubbs has quit [card.freenode.net irc.freenode.net]
cleverdra has quit [card.freenode.net irc.freenode.net]
gl has quit [card.freenode.net irc.freenode.net]
karryall has quit [card.freenode.net irc.freenode.net]
Dybbuk has joined #ocaml
cleverdra has joined #ocaml
karryall has joined #ocaml
gl has joined #ocaml
mr_bubbs has joined #ocaml
xkb_ has joined #ocaml
xtrm has joined #ocaml
mrvn has joined #ocaml
whee has joined #ocaml
Segora has joined #ocaml
pnou has joined #ocaml
emu has joined #ocaml
pnou has quit [card.freenode.net irc.freenode.net]
whee has quit [card.freenode.net irc.freenode.net]
mrvn has quit [card.freenode.net irc.freenode.net]
mr_bubbs has quit [card.freenode.net irc.freenode.net]
gl has quit [card.freenode.net irc.freenode.net]
Segora has quit [card.freenode.net irc.freenode.net]
emu has quit [card.freenode.net irc.freenode.net]
xtrm has quit [card.freenode.net irc.freenode.net]
xkb_ has quit [card.freenode.net irc.freenode.net]
merriam has joined #ocaml
gl has joined #ocaml
mr_bubbs has joined #ocaml
xkb_ has joined #ocaml
xtrm has joined #ocaml
mrvn has joined #ocaml
whee has joined #ocaml
Segora has joined #ocaml
pnou has joined #ocaml
emu has joined #ocaml
Segora has quit [Remote closed the connection]
Segora has joined #ocaml
graydon has joined #ocaml
zack has joined #ocaml
Dalroth has joined #ocaml
Hampus has joined #ocaml
Hampus has quit [Client Quit]
Hampus has joined #ocaml
zack has quit [Read error: 110 (Connection timed out)]
karryall has quit ["bye .."]
Yurik has joined #ocaml
Yurik has quit [Read error: 104 (Connection reset by peer)]
xkb_ has quit ["I like core dumps"]
skylan has quit [Read error: 104 (Connection reset by peer)]
karryall has joined #ocaml
skylan has joined #ocaml
gl has quit [Read error: 104 (Connection reset by peer)]
gl has joined #ocaml
graydon has quit [card.freenode.net irc.freenode.net]
karryall has quit [card.freenode.net irc.freenode.net]
skylan has quit [card.freenode.net irc.freenode.net]
pnou has quit [card.freenode.net irc.freenode.net]
whee has quit [card.freenode.net irc.freenode.net]
mrvn has quit [card.freenode.net irc.freenode.net]
mr_bubbs has quit [card.freenode.net irc.freenode.net]
emu has quit [card.freenode.net irc.freenode.net]
xtrm has quit [card.freenode.net irc.freenode.net]
merriam has quit [card.freenode.net irc.freenode.net]
Hampus has quit [card.freenode.net irc.freenode.net]
clog has joined #ocaml
malc has joined #ocaml
tigete has quit [Read error: 60 (Operation timed out)]
Yurik has joined #ocaml
<
Yurik>
anybody still not sleeping?
<
Yurik>
i've a question about compiling
<
Yurik>
i've cmxa with two mutually referencing modules
<
malc>
there can not be such thing
<
Yurik>
but when compiling some program w/ it, it says about unresolved references between these modules
<
Yurik>
so, mutually referenced modules are prohibited?
<
Yurik>
but it works if compiling it w/o library
<
Yurik>
how can it be possible? or they are prohibited to be compiled in one archive?
<
malc>
in one anything
<
Yurik>
anyway, thanks
<
malc>
use refs in one of them
<
Yurik>
refs to what? I just use some functions of one module in another, and vice versa
<
malc>
val v: ty ref
<
malc>
and then in A.v := v;
<
Yurik>
not a good idea :(
<
malc>
and in A use it like !v
<
malc>
used all across the compiler
<
Yurik>
i'll try...
Yurik has quit ["÷ÙÛÅÌ ÉÚ XChat"]
gl has joined #ocaml
Yurik has joined #ocaml
<
Yurik>
malc: seems that in my case it is impossible, most probably
Yurik_ has joined #ocaml