lamawithonel has quit [Remote host closed the connection]
Associat0r has quit [Quit: Associat0r]
wchicken has quit [Ping timeout: 264 seconds]
enthymeme has quit [Ping timeout: 264 seconds]
ankit9 has quit [Quit: Leaving]
philtor has joined #ocaml
Ontologiae has joined #ocaml
Ontologiae has quit [Ping timeout: 246 seconds]
mnabil has joined #ocaml
myu2 has quit [Ping timeout: 255 seconds]
drunK has quit [Remote host closed the connection]
Oejet has quit [Ping timeout: 276 seconds]
EM03 has joined #ocaml
Cyanure has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
mrvn has quit [Ping timeout: 240 seconds]
<EM03>
Good evening
avsm has quit [Quit: Leaving.]
mrvn has joined #ocaml
lopex has quit []
lopex has joined #ocaml
lamawithonel has joined #ocaml
lamawithonel_ has joined #ocaml
lamawithonel has quit [Read error: Connection reset by peer]
joewilliams is now known as joewilliams_away
<EM03>
doesn't ocaml have an actual function called "repeated" ?
lopex has quit []
ftrvxmtrx has quit [Ping timeout: 252 seconds]
emmanuelux has quit [Quit: =>[]]
emmanuelux has joined #ocaml
lamawithonel_ has quit [Read error: Connection reset by peer]
lamawithonel_ has joined #ocaml
tauntaun has left #ocaml []
tauntaun has joined #ocaml
ftrvxmtrx has joined #ocaml
tauntaun has quit [Client Quit]
wagle has joined #ocaml
<wagle>
does ocaml 3.11.0 support 32 bit?
lamawithonel_ has quit [Ping timeout: 250 seconds]
joewilliams_away is now known as joewilliams
Associat0r has joined #ocaml
myu2 has joined #ocaml
ikaros has joined #ocaml
ulfdoz has joined #ocaml
myu2 has quit [Remote host closed the connection]
Yoric has joined #ocaml
myu2 has joined #ocaml
myu2 has quit [Remote host closed the connection]
philtor has quit [Ping timeout: 252 seconds]
myu2 has joined #ocaml
joewilliams is now known as joewilliams_away
ulfdoz has quit [Ping timeout: 248 seconds]
<kerneis>
wagle: why wouldn't it support 32 bit? what do you mean exactly?
jonafan_ has joined #ocaml
Ontologiae has joined #ocaml
jonafan has quit [Ping timeout: 260 seconds]
Ontologiae has quit [Ping timeout: 252 seconds]
ankit9 has joined #ocaml
Associat0r has quit [Quit: Associat0r]
edwin has joined #ocaml
Yoric has quit [Quit: Yoric]
munga has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
mcclurmc_ has joined #ocaml
Associat0r has joined #ocaml
vouillon has joined #ocaml
wchicken has joined #ocaml
<flux>
thelema, interesting use of shadowing for type safety, btw ;)
Cyanure has joined #ocaml
orbitz has quit [Read error: Operation timed out]
orbitz has joined #ocaml
munga has quit [Ping timeout: 248 seconds]
Yoric has joined #ocaml
wchicken has left #ocaml []
fraggle_ has quit [Ping timeout: 248 seconds]
Oejet has joined #ocaml
myu2 has quit [Read error: Connection reset by peer]
myu2 has joined #ocaml
fraggle_ has joined #ocaml
mcclurmc_ has quit [Ping timeout: 255 seconds]
jonafan_ has quit [Ping timeout: 276 seconds]
EM03 has quit [Quit: EM03]
vouillon has quit [Remote host closed the connection]
jonafan has joined #ocaml
jonafan_ has joined #ocaml
jonafan has quit [Ping timeout: 248 seconds]
avsm has joined #ocaml
_andre has joined #ocaml
lopex has joined #ocaml
coucou747 has quit [Quit: 0x2a]
mnabil has quit [Ping timeout: 252 seconds]
EM03 has joined #ocaml
EM03 has quit [Changing host]
EM03 has joined #ocaml
EM03 has quit [Client Quit]
lamawithonel_ has joined #ocaml
mnabil has joined #ocaml
lamawithonel_ has quit [Remote host closed the connection]
lamawithonel has joined #ocaml
vivanov has joined #ocaml
lamawithonel has quit [Remote host closed the connection]
lamawithonel has joined #ocaml
boscop has joined #ocaml
lamawithonel has quit [Remote host closed the connection]
<thelema>
flux: the proper thing to do is not shadow, but it would require a global search/replace. Thanks.
<flux>
thelema, I actually also use shadowing to ensure that I won't accidentally use the old value, which is exactly what you're doing as well (well, sort of). I haven't thought of using the idea for globally defined symbols though.
lamawithonel has joined #ocaml
oriba has joined #ocaml
Cyanure has quit [Remote host closed the connection]
<thelema>
flux: try using |> more, it'll reduce the need for shadowing by making sure your old value is consumed exactly once.
vivanov has quit [Ping timeout: 250 seconds]
lamawithonel has quit [Remote host closed the connection]
lamawithonel has joined #ocaml
lamawithonel has quit [Remote host closed the connection]
tauntaun has joined #ocaml
vivanov has joined #ocaml
myu2 has quit [Remote host closed the connection]
myu2 has joined #ocaml
joelr has joined #ocaml
<joelr>
good day
<joelr>
where do i find the really_input function?
<f[x]>
in Pervasives?
<joelr>
thought so, thanks
<joelr>
<- is using thrift with ocaml-zmq
Associat0r has quit [Quit: Associat0r]
<gildor>
joelr: I just answered your question about oasis on the caml-list
<joelr>
gildor: thanks!
<joelr>
gildor: didn't know you were sylvain :D
<joelr>
gildor: oasis is awesome! worth repeating it again :D
<gildor>
thank you very much, again (it cheers me up, and I need that today)
<joelr>
gildor: what's up with the cheering? weather gloomy? :D
<gildor>
a day off
<gildor>
for me
<joelr>
ah
<gildor>
(or maybe it is related to the fact that I need to do some CSS ;-)
<joelr>
css. that must be it!
<joelr>
gildor: can you build an executable from multiple modules?
<joelr>
Modules is, apparently, only for libraries
oriba has quit [Quit: Verlassend]
<joelr>
gildor: i must be missing something
<f[x]>
joelr, for executable you only need entry point
<f[x]>
or you want analogue to linkall?
<joelr>
f[x]: yes but what if i have multiple modules?
<joelr>
of which only one is the entry point
<f[x]>
ocamlbuild will figure all the needed modules automatically
<joelr>
i always try to split my code into a bunch of parts
<joelr>
f[x]: so what i hear you saying is that i don't need to do anything
<joelr>
and ocamlbuild will build the modules for me
<joelr>
that makes sense, actually
<joelr>
i remember now that's exactly how it works
<joelr>
thanks
<rproust>
joelr: there's one case where this doesn't work and you need to pass the linkall option: when you have a module provided for dynlinked extensions
myu2 has quit [Remote host closed the connection]
<rproust>
ocamlbuild can't guess that the module will actually be used
<joelr>
rproust: i'll keep this in mind, thanks
lamawithonel has joined #ocaml
mnabil has quit [Read error: Operation timed out]
Associat0r has joined #ocaml
Associat0r has quit [Client Quit]
<joelr>
folks, any sugestions on what the problem is here? error output at the very bottom: https://gist.github.com/876154
<gildor>
joelr: the problem seems to lie in the copy method
<joelr>
gildor: that much i figured :D
mnabil has joined #ocaml
<gildor>
joelr: is the thrift generator written by you ?
<joelr>
gildor: no way :D
<rproust>
joelr: could you try casting on line 33 of Hello_types?
<gildor>
joelr: I think you must somehow put a type constraint on _new
<joelr>
here, sec
<rproust>
like (_new : 'selftype)
<joelr>
rproust: oh, i thought you wanted me to do 'copy: document'
<joelr>
rproust: could it have something to do with -rectypes?
<rproust>
replace line 32 and 33 by "{< >}" w/o quote
<rproust>
joelr: don't think so, though I'm not sure
<joelr>
{< let _new = Oo.copy self in
<joelr>
_new >}
<joelr>
like that?
<rproust>
no
<rproust>
just "{< >}" plain and simple
<joelr>
rproust: nope
<joelr>
doesn't do it
<rproust>
joelr: could you have "object (self:'self)" on line 9
<rproust>
and (Oo.copy self : 'self) on line 32/33
<joelr>
rproust: do i get rid of "{< >}"
<rproust>
yeah
<rproust>
joelr: if it doesn't work, try "(Oo.copy self :> 'self)"
<joelr>
rproust: both didn't work together so skip line 9, right?
<rproust>
yeah
<joelr>
nope
<rproust>
you might need to define a class type and then the appropriate class
<rproust>
I'm not sure though, and there might be a simpler way
<rproust>
last try, put "(Oo.copy self : #document)"
<rproust>
or with ":>" instead of ":"
<joelr>
rproust: trying
<joelr>
Self type cannot escape its class
<rproust>
whoa, never seen that before…
<joelr>
:D
<joelr>
the full error is at the bottom of the gist, i amended it
<joelr>
rproust: check the mailing list for an answer
<joelr>
except it doesn't work either
mnabil has quit [Remote host closed the connection]
<joelr>
rproust: ok, solved
<joelr>
copy: 'a and object ('a) needed together in the mli
<rproust>
joelr: gz
<joelr>
?
<joelr>
gz?
<rproust>
conGratulationZ -> GratZ -> GZ
<joelr>
:D
joewilliams_away is now known as joewilliams
sepp2k has joined #ocaml
joewilliams is now known as joewilliams_away
Yoric has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
vivanov has quit [Ping timeout: 250 seconds]
vivanov has joined #ocaml
Associat0r has joined #ocaml
<joelr>
how do you make findlib find the standard sys module?
<joelr>
it does find str and unix
<rproust>
"-package unix,str" I think
<joelr>
rproust: it does that for me. there's no site-lib/sys, though
<joelr>
i guess i'll just create it
<rproust>
joelr: on my system it's under std-lib and not site-lib
<rproust>
$ ocamlfind query unix [ 16:43 ]
<rproust>
/local/rproust/godi/lib/ocaml/std-lib
<joelr>
query sys
<rproust>
not found
<f[x]>
rtfm
<f[x]>
> The modules from the standard library are automatically linked with the user's object code files by the ocamlc command. Hence, these modules can be used in standalone programs without having to add any .cmo file on the command line for the linking phase.
<f[x]>
hence no ocamlfind package needed
philtor has joined #ocaml
<joelr>
ha!
<joelr>
thanks
Oejet has quit [Ping timeout: 276 seconds]
jonafan_ is now known as jonafan
jonafan has quit [Quit: Leaving]
jonafan has joined #ocaml
lopex has quit []
joewilliams_away is now known as joewilliams
tauntaun has quit [Quit: Ex-Chat]
joelr has quit [Quit: joelr]
ymasory has joined #ocaml
lopex has joined #ocaml
myu2 has joined #ocaml
Snark has joined #ocaml
joelr has joined #ocaml
ymasory has quit [Ping timeout: 250 seconds]
Yoric has quit [Quit: Yoric]
emmanuelux has quit [Quit: =>[]]
vivanov has quit [Quit: leaving]
vivanov has joined #ocaml
ikaros has joined #ocaml
VectorX has joined #ocaml
tauntaun has joined #ocaml
VectorX has quit [Ping timeout: 240 seconds]
Ontologiae has joined #ocaml
joelr has quit [Quit: joelr]
zarul has joined #ocaml
zarul has left #ocaml []
EM03 has joined #ocaml
ulfdoz has joined #ocaml
Ontologiae has quit [Ping timeout: 240 seconds]
grettke has joined #ocaml
ulfdoz has quit [Ping timeout: 248 seconds]
emmanuelux has joined #ocaml
joewilliams is now known as joewilliams_away
tauntaun has quit [Quit: Ex-Chat]
Oejet has joined #ocaml
lewis1711 has joined #ocaml
Oejet has quit [Ping timeout: 276 seconds]
tauntaun has joined #ocaml
ulfdoz has joined #ocaml
_andre has quit [Quit: leaving]
<wagle>
kerneis: its trying to generate 64 bit ints on the assembly for arm
ymasory has joined #ocaml
Snark has quit [Quit: Ex-Chat]
oriba has joined #ocaml
willb has quit [Read error: Operation timed out]
<wagle>
... and failing
ymasory has quit [Quit: Leaving]
Ontologiae has joined #ocaml
Ontologiae has quit [Read error: Operation timed out]
Yoric has joined #ocaml
sepp2k has quit [Quit: Leaving.]
mcclurmc_ has joined #ocaml
edwin has quit [Remote host closed the connection]
edwin has joined #ocaml
edwin has quit [Quit: Leaving.]
edwin has joined #ocaml
edwin has quit [Remote host closed the connection]
grettke has quit []
avsm has quit [Ping timeout: 252 seconds]
avsm has joined #ocaml
mcclurmc_ has quit [Ping timeout: 255 seconds]
tauntaun has quit [Quit: Ex-Chat]
ikaros has quit [Quit: Leave the magic to Houdini]
Amorphous has quit [Read error: Operation timed out]