smimou has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
ajhager has joined #ocaml
malc__ has joined #ocaml
postalchris has quit ["Leaving."]
jlouis_ has joined #ocaml
hcarty has quit [Read error: 110 (Connection timed out)]
jlouis__ has quit [Read error: 110 (Connection timed out)]
love-pingoo has quit ["Connection reset by pear"]
hcarty has joined #ocaml
curtosis has joined #ocaml
zmdkrbou_ has joined #ocaml
smimou has quit ["bli"]
Mr_Awesome has joined #ocaml
zmdkrbou has quit [Read error: 113 (No route to host)]
zmdkrbou_ is now known as zmdkrbou
gim_ has quit ["zzz"]
danly_ is now known as danly
malc__ has quit ["leaving"]
tautologico has joined #ocaml
b00t has joined #ocaml
mbishop has joined #ocaml
jlouis__ has joined #ocaml
dark_light has quit [Remote closed the connection]
jlouis__ has quit [Remote closed the connection]
jlouis_ has quit [Read error: 110 (Connection timed out)]
joshcryer has joined #ocaml
tautologico has quit []
curtosis has quit []
Mr_Awesome has quit ["...and the Awesome level drops"]
joshcryer_ has joined #ocaml
diffbavis has joined #ocaml
joshcryer has quit [Connection timed out]
Smerdyakov has quit ["Leaving"]
diffbavis has quit [Read error: 104 (Connection reset by peer)]
joshcryer_ has quit [Connection timed out]
diffbavis has joined #ocaml
johnnowak has joined #ocaml
Submarine has joined #ocaml
johnnowak has quit []
bluestorm_ has joined #ocaml
shawn has quit [Read error: 60 (Operation timed out)]
Submarine has quit [Remote closed the connection]
shawn has joined #ocaml
Submarine has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
cypher23 has left #ocaml []
Submarine has quit [Remote closed the connection]
jeff99 has joined #ocaml
love-pingoo has joined #ocaml
joelr1 has joined #ocaml
<
joelr1>
good morning
<
joelr1>
assuming a function that returns a record, how do you create a new record that bumps a field of the record returned by the function?
<
joelr1>
i.e. type foo = { x: float; y: float; };; let foo = { x = 1.0; y = 1.0; };;
<
joelr1>
{ foo with x = foo.x + 2.0 } doesn't seem to work
love-pingoo has quit ["Leaving"]
love-pingoo has joined #ocaml
diffbavis has quit [Read error: 104 (Connection reset by peer)]
mnemonic has joined #ocaml
<
flux->
too bad he left
ikaros has joined #ocaml
diffbavis has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
b00t has quit [Remote closed the connection]
ajhager has quit [Read error: 54 (Connection reset by peer)]
ajhager has joined #ocaml
diffbavis has quit [Read error: 104 (Connection reset by peer)]
postalchris has joined #ocaml
ajhager has quit [Read error: 54 (Connection reset by peer)]
ajhager has joined #ocaml
cjeris has joined #ocaml
lihaitao has joined #ocaml
diffbavis has joined #ocaml
lihaitao has left #ocaml []
lihaitao has joined #ocaml
lihaitao has quit [Client Quit]
ajhager has quit [Read error: 104 (Connection reset by peer)]
kisielk_jp has joined #ocaml
<
kisielk_jp>
good evening everyone
<
kisielk_jp>
I was wondering if it's possible and/or if anyone has any experience with linking ocaml code to a C++ program?
<
kisielk_jp>
on windows specifically
<
flux->
I don't, but I believe it's the same as with C, modulo C++ exceptions and symbol mangling concerns
<
kisielk_jp>
well, I want to use ocaml from a C++ application
<
kisielk_jp>
not the other way around
<
kisielk_jp>
I know using C++ code from another language is quite difficult
<
kisielk_jp>
but I'm not familiar with ocaml
<
kisielk_jp>
unfortunately this code I want to interface with is written in it
<
flux->
ocaml manual covers the both ways
<
kisielk_jp>
hm yes I've found it
<
kisielk_jp>
is it known to work with C++ as well?
<
flux->
c++ isn't magic :)
<
flux->
it's very c-compatible, thus the same mechanism works
<
kisielk_jp>
I know, it's just easier to figure things out if I could find some working examples in the real world
<
flux->
module the things I mentioned
<
flux->
extern "C" int some_c_func_youll_need(..) will take you a long way
<
kisielk_jp>
hm yes I suppose
shawn has quit ["This computer has gone to sleep"]
ajhager has joined #ocaml
<
kisielk_jp>
well at least now I know where to look
<
kisielk_jp>
have to get studying up on this code I guess
postalchris has quit ["Leaving."]
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
mnemonic has quit ["leaving"]
Smerdyakov has joined #ocaml
shawn has joined #ocaml
shawn has quit [Remote closed the connection]
shawn has joined #ocaml
benny_ has joined #ocaml
benny has quit [Read error: 145 (Connection timed out)]
Oatmeat|umn is now known as Oatmeat
diffbavis has quit [Read error: 104 (Connection reset by peer)]
ajhager has quit [Read error: 60 (Operation timed out)]
smimou has joined #ocaml
ikaros_ has quit [Read error: 104 (Connection reset by peer)]
ikaros_ has joined #ocaml
ikaros is now known as ikaros__
ikaros_ is now known as ikaros
ikaros__ is now known as ikaros_
ikaros_ has quit ["Leaving"]
as has joined #ocaml
as has quit [Client Quit]
smimou has quit ["bli"]
jlouis has joined #ocaml
malc_ has joined #ocaml
bluestorm_ has joined #ocaml
diffbavis has joined #ocaml
jeff98 has joined #ocaml
jeff99 has quit [Read error: 113 (No route to host)]
postalchris has joined #ocaml
Oatmeat has quit [Read error: 110 (Connection timed out)]
ikaros has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
love-pingoo has joined #ocaml
postalchris has quit [Read error: 104 (Connection reset by peer)]
mnemonic has joined #ocaml
postalchris has joined #ocaml
pantsd has joined #ocaml
slipstream has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
mbishop has quit [Remote closed the connection]
Oatmeat|umn has joined #ocaml
cjeris has quit [Read error: 54 (Connection reset by peer)]
love-pingoo has quit ["Connection reset by pear"]
johnnowak has joined #ocaml
smimou has joined #ocaml
mnemonic has quit ["leaving"]
bluestorm_ has quit ["Konversation terminated!"]