flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.01.0 http://bit.ly/1851A3R | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
talzeus has quit [Read error: Connection reset by peer]
gnuvince has quit [Ping timeout: 252 seconds]
<whitequark> nicoo: I don't know how to encode polymorphic functions
nikki93 has quit [Read error: No route to host]
nikki93 has joined #ocaml
<nicoo> whitequark: I'm tired and sleepy, by will look tomorrow
<whitequark> nicoo: thanks!
jonludlam has quit [Remote host closed the connection]
nikki93_ has joined #ocaml
nikki93 has quit [Ping timeout: 248 seconds]
jwatzman|work has quit [Quit: jwatzman|work]
nikki93_ has quit [Remote host closed the connection]
q66_ is now known as q66
nikki93 has joined #ocaml
nikki93 has quit [Read error: Connection reset by peer]
nikki93 has joined #ocaml
Xenasis has joined #ocaml
mreca has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
talzeus has joined #ocaml
nikki93 has quit [Remote host closed the connection]
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
watermind has quit [Ping timeout: 248 seconds]
mcclurmc has joined #ocaml
osa1_ has quit [Quit: Konversation terminated!]
mcclurmc has quit [Ping timeout: 250 seconds]
chturne has quit [Quit: Leaving]
csakatoku has joined #ocaml
watermind has joined #ocaml
osa1 has joined #ocaml
zxqdms has quit [Quit: leaving]
ygrek has joined #ocaml
strobegen has joined #ocaml
Axord has joined #ocaml
nikki93 has joined #ocaml
mcclurmc has joined #ocaml
nikki93 has quit [Ping timeout: 272 seconds]
michael_lee has joined #ocaml
boogie has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 265 seconds]
nikki93 has joined #ocaml
nikki93 has quit [Ping timeout: 248 seconds]
groovy2shoes has joined #ocaml
jpdeplaix has quit [Read error: Operation timed out]
groovy2shoes has quit [Client Quit]
ygrek has joined #ocaml
groovy2shoes has joined #ocaml
malvarez has quit [Read error: Connection reset by peer]
groovy2shoes has quit [Client Quit]
darkf_ has joined #ocaml
jpdeplaix has joined #ocaml
darkf has quit [Ping timeout: 240 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest20149
Xavier89 has joined #ocaml
magei26036 has joined #ocaml
magei29534 has joined #ocaml
magei27277 has joined #ocaml
magei29904 has joined #ocaml
magei26558 has joined #ocaml
magei23722 has joined #ocaml
magei26641 has joined #ocaml
magei21555 has joined #ocaml
magei26184 has joined #ocaml
magei29690 has joined #ocaml
magei26100 has joined #ocaml
magei28929 has joined #ocaml
magei21280 has joined #ocaml
magei21492 has joined #ocaml
magei25650 has joined #ocaml
magei21191 has joined #ocaml
magei26041 has joined #ocaml
magei29386 has joined #ocaml
magei230 has joined #ocaml
magei2694 has joined #ocaml
magei23716 has joined #ocaml
magei21363 has joined #ocaml
magei26435 has joined #ocaml
magei22813 has joined #ocaml
magei28661 has joined #ocaml
magei2867 has joined #ocaml
magei25399 has joined #ocaml
magei24666 has joined #ocaml
magei22077 has joined #ocaml
magei21557 has joined #ocaml
magei22835 has joined #ocaml
magei28709 has joined #ocaml
magei2712 has joined #ocaml
e8536 has joined #ocaml
clog has quit [Excess Flood]
clog has joined #ocaml
magei26036 has joined #ocaml
magei27277 has joined #ocaml
magei23722 has joined #ocaml
magei26641 has joined #ocaml
magei21555 has joined #ocaml
magei26184 has joined #ocaml
magei29690 has joined #ocaml
magei29904 has joined #ocaml
magei26558 has joined #ocaml
magei29534 has joined #ocaml
magei26041 has joined #ocaml
magei25650 has joined #ocaml
magei29386 has joined #ocaml
magei26100 has joined #ocaml
magei230 has joined #ocaml
magei21280 has joined #ocaml
magei2694 has joined #ocaml
magei26435 has joined #ocaml
magei22813 has joined #ocaml
magei2867 has joined #ocaml
magei21557 has joined #ocaml
magei22835 has joined #ocaml
magei21492 has joined #ocaml
magei22077 has joined #ocaml
magei28709 has joined #ocaml
e8536 has joined #ocaml
magei21363 has joined #ocaml
magei24666 has joined #ocaml
magei25399 has joined #ocaml
magei28661 has left #ocaml []
magei28661 has joined #ocaml
magei23716 has joined #ocaml
magei21191 has joined #ocaml
magei26036 has left #ocaml []
magei27277 has left #ocaml []
magei23722 has left #ocaml []
magei26641 has left #ocaml []
magei21555 has left #ocaml []
magei26184 has left #ocaml []
magei29690 has left #ocaml []
magei29534 has left #ocaml []
magei29904 has left #ocaml []
magei26558 has left #ocaml []
magei26100 has left #ocaml []
magei21280 has left #ocaml []
magei21492 has left #ocaml []
magei21363 has left #ocaml []
magei23716 has left #ocaml []
magei26041 has left #ocaml []
magei25650 has left #ocaml []
e8536 has left #ocaml []
magei29386 has left #ocaml []
magei230 has left #ocaml []
magei2694 has left #ocaml []
magei21191 has left #ocaml []
magei25399 has left #ocaml []
magei21557 has left #ocaml []
magei22077 has left #ocaml []
magei22835 has left #ocaml []
magei28709 has left #ocaml []
magei24666 has left #ocaml []
magei26435 has left #ocaml []
magei22813 has left #ocaml []
magei2867 has left #ocaml []
magei28661 has left #ocaml []
lostcuaz has quit [Excess Flood]
The_third_man has joined #ocaml
wolfnn has quit [Ping timeout: 264 seconds]
Guest73927 has joined #ocaml
darkf_ is now known as darkf
Xavier89 has left #ocaml []
strobegen has left #ocaml []
strobegen has joined #ocaml
Guest73927 has quit [Excess Flood]
ollehar has quit [Ping timeout: 260 seconds]
osa1 has quit [Ping timeout: 240 seconds]
osa1 has joined #ocaml
Guest25482 has joined #ocaml
introom has quit [Quit: WeeChat 0.4.2]
yminsky has joined #ocaml
watermind has quit [Quit: Konversation terminated!]
_5kg has quit [Excess Flood]
_5kg has joined #ocaml
yacks has quit [Quit: Leaving]
yminsky has quit [Ping timeout: 272 seconds]
mort___ has quit [Quit: Leaving.]
nikki93 has joined #ocaml
nikki93 has quit [Ping timeout: 250 seconds]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 260 seconds]
mreca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest25482 is now known as amiller
amiller has quit [Changing host]
amiller has joined #ocaml
Xenasis has quit [Remote host closed the connection]
csakatoku has joined #ocaml
jao has quit [Ping timeout: 252 seconds]
Guest20149 has quit [Remote host closed the connection]
mcclurmc has quit [Remote host closed the connection]
boogie has joined #ocaml
groovy2shoes has joined #ocaml
robink has quit [Quit: No Ping reply in 180 seconds.]
ygrek has quit [Ping timeout: 250 seconds]
robink has joined #ocaml
wwilly has joined #ocaml
dant3 has joined #ocaml
wwilly has quit [Ping timeout: 246 seconds]
strobegen has quit [Ping timeout: 250 seconds]
iorivur has joined #ocaml
michael_lee has quit [Quit: Ex-Chat]
strobegen has joined #ocaml
<iorivur> Hi
<iorivur> I'm building a cross-compiler written in OCaml, but I encountered with such problem: /usr/bin/ld: float.o: Relocations in generic ELF (EM: 2)
<iorivur> I think its ld path is wrong (it seems to refer native ld) but I don't know how to fix and teach ocamlc which ld is what it needs.
<iorivur> any ideas?
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
<flux> I would probably start looking at the building of OCaml, assuming that the linker is chosen at that time
<iorivur> Well, I'm not going to build "OCaml compiler" itself, but a mincaml compiler written in OCaml and it uses ocamlc in its build script.
<iorivur> So I'm building intel native binary but its library (written in C) has to be compiled and linked with sparc-elf-*
<flux> but mincaml uses ocamlc to do linking?
<iorivur> yes, it seems. This is its repository: https://github.com/esumii/min-caml
<iorivur> I'll paste its output in a secound
strobegen has quit [Ping timeout: 248 seconds]
<flux> I think you should then have a separately compiled ocamlc that is able to cross-compile
<flux> and min-caml should use that for the linking stage
<iorivur> output is here: http://sprunge.us/LCBb In last part start from 92 is the problem
<iorivur> Hmm
<flux> hmm, so you are compiling min-caml itself to sparc?
<flux> I thought you were compiling the compiler natively to your platform and wish to crosscompile with it
<iorivur> yes, I'm heading to do so
<flux> so that is the purpose, compile min-caml to sparc?
<iorivur> OK, it seems to be more complicated than I thought just before post a question here
<flux> then I still hold my belief that you probably need to compile ocamlc to crosss compile for sparc.
<iorivur> No, I'm wish to compile the mincaml for my platform and it should compile min-caml code to sparc.
<flux> ok, well then it shouldn't say -cc "sparc-elf-cc" in the compilation there
<flux> because it seems that it is at that stage producing the compiler for your native platform
<iorivur> OK, I'm getting understanding
<flux> but, off to work, good luck :)
strobegen has joined #ocaml
<iorivur> thanks alot!
csakatok_ has joined #ocaml
csakatoku has quit [Ping timeout: 248 seconds]
ygrek has joined #ocaml
ulfdoz has joined #ocaml
csakatok_ has quit [Remote host closed the connection]
csakatoku has joined #ocaml
wwilly has joined #ocaml
Kakadu has joined #ocaml
csakatoku has quit [Ping timeout: 240 seconds]
darkf_ has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
darkf has quit [Ping timeout: 240 seconds]
darkf_ is now known as darkf
csakatoku has joined #ocaml
ambul has quit [Ping timeout: 272 seconds]
milosn has quit [Ping timeout: 260 seconds]
<wwilly> bonjour
boogie has quit [Remote host closed the connection]
<Kakadu> hi
ambul has joined #ocaml
manizzle has quit [Ping timeout: 250 seconds]
struktured has quit [Ping timeout: 248 seconds]
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
cago has joined #ocaml
nze has joined #ocaml
groovy2shoes has quit [Quit: groovy2shoes]
mort___ has joined #ocaml
<companion_cube> o/
<adrien> \o
mort___ has quit [Ping timeout: 260 seconds]
* adrien hopes his christmas socks will be full of ocaml-ty :D
<companion_cube> /poke hnrgrgr_ ?
<adrien> :)
<adrien> I'm always a bit saddened when I end up with Fatal error: exception Pre_sexp.Of_sexp_error(_, _)
<adrien> and no details
<adrien> I hope we could then have serialization with more detailled error messages
<companion_cube> like "expected type foobar"?
<companion_cube> I hope we could get rid of type_conv and camlp4
zpe has joined #ocaml
<adrien> :)
dant3 has quit [Remote host closed the connection]
<companion_cube> whitequark: there is Mixtbl
milosn has joined #ocaml
ocp has joined #ocaml
snyp has joined #ocaml
ollehar has joined #ocaml
snyp has quit [Client Quit]
Simn has joined #ocaml
dant3 has joined #ocaml
yacks has joined #ocaml
mika1 has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
dant3 has quit [Remote host closed the connection]
mchqwerty has joined #ocaml
ocp has quit [Ping timeout: 240 seconds]
ggole has joined #ocaml
dant3 has joined #ocaml
avsm has joined #ocaml
ollehar has quit [Ping timeout: 260 seconds]
dant3 has quit [Remote host closed the connection]
yacks has quit [Read error: Operation timed out]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
kyrylo has joined #ocaml
zacts has quit [Quit: leaving]
dant3 has joined #ocaml
csakatoku has quit [Ping timeout: 260 seconds]
thomasga has joined #ocaml
csakatoku has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
niko has joined #ocaml
talzeus has quit [Remote host closed the connection]
jonludlam has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
peterbb has quit [Ping timeout: 260 seconds]
peterbb has joined #ocaml
csakatoku has quit [Ping timeout: 260 seconds]
sepp2k has joined #ocaml
jonludlam has quit [Ping timeout: 260 seconds]
jonludlam has joined #ocaml
wolfnn has joined #ocaml
dant3 has quit [Remote host closed the connection]
mchqwerty has quit [Remote host closed the connection]
mchqwerty has joined #ocaml
avsm has quit [Quit: Leaving.]
mchqwerty has quit [Remote host closed the connection]
mchqwerty has joined #ocaml
yacks has joined #ocaml
rand000 has joined #ocaml
nikki93 has joined #ocaml
nikki93 has quit [Read error: Connection reset by peer]
nikki93_ has joined #ocaml
yminsky has joined #ocaml
wwilly has quit [Quit: Leaving]
jonludlam has quit [Remote host closed the connection]
hcarty has joined #ocaml
Axord has quit [Quit: I'm sure it's perfectly safe]
ygrek has quit [Ping timeout: 252 seconds]
avsm has joined #ocaml
dant3 has joined #ocaml
yminsky has quit [Ping timeout: 272 seconds]
dant3_ has joined #ocaml
dant3 has quit [Read error: Connection reset by peer]
ocp has joined #ocaml
ollehar has joined #ocaml
Axord has joined #ocaml
avsm has quit [Quit: Leaving.]
darkf has quit [Quit: Leaving]
Axord has quit [Remote host closed the connection]
Axord has joined #ocaml
Axord has quit [Read error: Connection reset by peer]
yacks has quit [Ping timeout: 250 seconds]
Kakadu has quit [Ping timeout: 272 seconds]
Axord has joined #ocaml
mcclurmc has joined #ocaml
mchqwerty has quit [Remote host closed the connection]
dant3_ has quit [Remote host closed the connection]
snyp has joined #ocaml
mchqwerty has joined #ocaml
<nicoo> companion_cube: What would you have him do with MixTbl ?
<companion_cube> nothing, he was looking for the name
snyp has quit [Quit: leaving]
<nicoo> Ah, ok
* nicoo didn't backlog far enough.
<adrien_oww> but you were right to assert that companion_cube was having evil plans since it's most usually the case
<adrien_oww> s/assert/assume/
<companion_cube> heyyyyyy
* adrien_oww dccs companion_cube some hot chocolate
<companion_cube> that would be nice!
jonludlam has joined #ocaml
<nicoo> adrien_oww: Great idea
* nicoo will make himself some hot chocolate.
<companion_cube> what do we need to dcc hnrgrgr_ to get ocaml-ty?
ygrek has joined #ocaml
<adrien_oww> companion_cube: club maté
dant3 has joined #ocaml
thomasga has quit [Quit: Leaving.]
skchrko has joined #ocaml
osa1 has quit [Quit: Konversation terminated!]
Nahra has quit [Ping timeout: 246 seconds]
Nahra has joined #ocaml
Nahra has quit [Changing host]
Nahra has joined #ocaml
thomasga has joined #ocaml
mreca has joined #ocaml
toroidalcode has quit []
talzeus has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
struktured_ has joined #ocaml
<nicoo> adrien_oww: mate* no ?
<nicoo> (And that stuff is disgusting; it is mostly bad iced tea)
avsm has joined #ocaml
<whitequark> hi nicoo
<companion_cube> o/ whitequark
<whitequark> hi companion_cube
jao has quit [Ping timeout: 264 seconds]
WraithM_ has joined #ocaml
mreca has quit [Remote host closed the connection]
mreca has joined #ocaml
struktured_ has quit [Ping timeout: 240 seconds]
gargaml has quit [Ping timeout: 245 seconds]
Albe has joined #ocaml
<Albe> Hi
<Albe> I have a question about Caml.. is there anyone?
<Drup> first rule of irc : don't ask to ask ;)
fds has quit [Ping timeout: 252 seconds]
<Albe> sorry ahaha
avsm has quit [Quit: Leaving.]
<Albe> .I need to write a CAML prog ( not OCAML) that given three 3-letter words serch if the letters are present in the given words and in that case it will return true otherwise false. The program must use the deterministic automata.
<Albe> i have made a code without automata
fds has joined #ocaml
<Drup> you mean caml-light I suppose ?
<Albe> yes
<Albe> http://goo.gl/dXsU1J --> code
<Albe> first sorry for bad english
Xenasis has joined #ocaml
<smiler> lol, it doesn't let me view it because I have an adblocker enabled >_<
<Drup> same here >_>
<Albe> yeah i've to stop adblock too..
<Drup> just use another paste website.
<whitequark> gist.github.com
<Albe> this one is good with adblock :D
gargaml has joined #ocaml
ollehar has quit [Ping timeout: 260 seconds]
talzeus has quit [Read error: Connection reset by peer]
<adrien_oww> nicoo: not sure
<adrien_oww> nicoo: club mat(e|é) is awesome :D
<nicoo> adrien_oww: 1) (e|é) looks like a very strange face; use [eé] :þ
<nicoo> 2) let's agree to disagree.
<adrien_oww> fine, I'll write using the phonetic alphabet next time ;p
<adrien_oww> nicoo: 2) you simply haven't drunk enough of it; everyone agrees it's bad but then you get used to it :D
<nicoo> adrien_oww: I don't want to get used to it.
<adrien_oww> ='(
<adrien_oww> we could probably do the same conversation with s/club mate/perl/ ;p
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
dant3 has quit [Read error: Connection reset by peer]
dant3 has joined #ocaml
<Drup> Albe: first, don't use index_char
<Albe> Drup: why?
dant3 has quit [Ping timeout: 240 seconds]
<Drup> because it's "cheating", and because you don't need it
<whitequark> nicoo: could you help me with GADTs?
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
travisbrady has joined #ocaml
<ericbmerritt> a quick style question. I realize that in general opening Core.Std and Async.Std is accepted and good. However, what about Async_unix?
<ericbmerritt> trying to be a good style citizen here
<nicoo> whitequark: Oh, yes, sorry.
groovy2shoes has joined #ocaml
* nicoo forgot.
<nicoo> whitequark: So you wanted to extend https://gist.github.com/whitequark/c3ebfb38620b7ff30194 with polymorphism, right ?
<whitequark> yes
skchrko has quit [Remote host closed the connection]
cago has left #ocaml []
<gasche_> whitequark: what kind of polymorphism?
<whitequark> gasche_: I want to represent val append : 'a stream -> 'a stream -> 'a stream as an operation
<nicoo> whitequark: Oh, this one should be more doable
* nicoo scraps the code he was writing.
<whitequark> nicoo: sorry I wasn't clear
<nicoo> whitequark: No problem. My fault
<whitequark> (what were you writing ?)
<gasche_> which code are you starting from?
<whitequark> gasche_: your snippet
<whitequark> pretty much
thomasga has quit [Quit: Leaving.]
<Drup> gasche_: since you are here, can you at least answer to my macaque pull request ? :)
<Drup> I don't care if you don't merge it, but I would like to know why.
<gasche_> ah
<gasche_> I remember looking at it
Albe_ has joined #ocaml
<gasche_> and thinking "hm, It would require more thinking to know whether it breaks code"
<gasche_> then nothing
<Drup> ok
<Drup> that's also my opinion :)
<gasche_> I'm not strongly against it
<Drup> I just wanted to know if you didn't just missed it
<gasche_> I don't think I have that many users to break code from
<adrien_oww> users only speak when things break
<adrien_oww> (and even then, they may remain silent)
thomasga has joined #ocaml
<gasche_> also there is something else Drup
Albe has quit [Quit: Page closed]
Albe_ has quit [Client Quit]
<gasche_> you turn a %s into a \"%s\", and I'm wondering what happens if there is a \" in the input
<Drup> that's a very good question
thomasga has quit [Client Quit]
<adrien_oww> %S ?
snyp has joined #ocaml
<gasche_> I just added that on github
<nicoo> whitequark: Actually, this seem tricky to get right (i.e. without adding too specifics constructors to _ typ)
<gasche_> yeah, I wanted to say just that
<gasche_> embedding System-F polymorphism as GADTs is *not easy*
<gasche_> Sam Lindley has a paper about that
<nicoo> whitequark: I imported gasche's snippet in a gist : https://gist.github.com/nbraud/497b4e8928da3775ca29
<nicoo> whitequark: I will push to it if/when I do something constructive
<whitequark> nicoo: thanks
<whitequark> gasche_: yes, I have noticed
<nicoo> gasche_: Thanks, couldn't remember the ref to the paper (I suspect we are thinking about the same one)
<whitequark> there's a paper Drup recommended to me, http://cs.au.dk/~mpuech/typeful.pdf
<whitequark> but it's quite dense and I'm still digesting it
<Drup> it's very lousely related
<Drup> loosely*
<Drup> I didn't remember the original interesting paper, it's probably in the references
<gasche_> that said
<gasche_> you can hack your way around it
<Drup> gasche_: tbh, I just put this PR with my hack solving my specific issue as a bug report and I was counting on your grumpy side to tell me what was wrong with it :D
shinnya has quit [Ping timeout: 245 seconds]
mchqwerty has quit [Quit: Odcházím]
pango has quit [Ping timeout: 245 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Remote host closed the connection]
<gasche_> thanks for asking, I would certainly have forgotten it otherwise
<Drup> no problem
thomasga has joined #ocaml
Neros has joined #ocaml
thomasga1 has joined #ocaml
thomasga has quit [Ping timeout: 272 seconds]
jonludlam has quit [Ping timeout: 252 seconds]
travisbrady has quit [Quit: travisbrady]
<gasche_> (the code now generates "non-exhaustive pattern" warnings but I'm too lazy to fix that properly)
<whitequark> gasche_: hmmm, I wrote almost same code myself (it didn't quite work though)
<whitequark> is there a way to not have explicit TypeApply nodes ?
<nicoo> gasche_: Nice
<nicoo> gasche_: My solution wasn't exactly as pretty.
cesar_ has joined #ocaml
snyp has quit [Quit: leaving]
cesar_ is now known as Guest40457
travisbrady has joined #ocaml
<gasche_> whitequark: well you can implement type inference
<gasche_> (I have to go now)
<Drup> if you implement type inference and all that, I don't really see the point of having a embending like that
<Drup> (except that it's cool :D)
<companion_cube> well, it becomes runtime type inference, doesn't it?
Guest40457 has quit [Remote host closed the connection]
zpe has joined #ocaml
<whitequark> gasche_: actually, if I decide to do it, I see how I can make it based on your code
<whitequark> thanks again!
Neros has quit [Ping timeout: 245 seconds]
milosn_ has joined #ocaml
ygrek has quit [Ping timeout: 264 seconds]
zpe has quit [Ping timeout: 265 seconds]
Kakadu has joined #ocaml
rwmjones_ has joined #ocaml
milosn has quit [*.net *.split]
nze has quit [*.net *.split]
rwmjones has quit [*.net *.split]
groovy2shoes has quit [Quit: groovy2shoes]
pango has joined #ocaml
<nicoo> Drup: To have a safe interpreter /
<nicoo> ?*
nze has joined #ocaml
<Drup> lots of work for little
contempt has quit [Ping timeout: 246 seconds]
iorivur has quit [Ping timeout: 264 seconds]
<nicoo> Drup: Tail rec^W^W Type-safety is its own reward :>
mika1 has quit [Quit: Leaving.]
contempt has joined #ocaml
<Drup> the joke doesn't work as well :(
iorivur has joined #ocaml
<nicoo> Yes :3
nze has quit [*.net *.split]
sepp2k has quit [Quit: Konversation terminated!]
boogie has joined #ocaml
WraithM_ has quit [Ping timeout: 240 seconds]
nze has joined #ocaml
yacks has joined #ocaml
16WABRXT9 has joined #ocaml
16WABRXT9 has quit [Client Quit]
WraithM_ has joined #ocaml
contempt has quit [Ping timeout: 250 seconds]
contempt has joined #ocaml
nze has quit [*.net *.split]
nikki93_ has quit [Remote host closed the connection]
nikki93 has joined #ocaml
milosn_ has quit [Ping timeout: 264 seconds]
rand000 has quit [Quit: leaving]
nikki93 has quit [Ping timeout: 248 seconds]
nze has joined #ocaml
manizzle has joined #ocaml
contempt has quit [Ping timeout: 250 seconds]
contempt has joined #ocaml
dant3 has joined #ocaml
chingfantsou has joined #ocaml
thomasga1 has quit [Ping timeout: 252 seconds]
contempt has quit [Ping timeout: 250 seconds]
contempt has joined #ocaml
ousado_ has joined #ocaml
ousado has quit [Ping timeout: 246 seconds]
AltGr has joined #ocaml
d2biG has quit [Ping timeout: 246 seconds]
contempt has quit [Ping timeout: 246 seconds]
dRbiG has joined #ocaml
contempt has joined #ocaml
nikki93 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
AltGr has left #ocaml []
oriba has joined #ocaml
zpe has joined #ocaml
AltGr has joined #ocaml
oriba has quit [Client Quit]
Xenasis has quit [Remote host closed the connection]
zpe has quit [Ping timeout: 272 seconds]
Simn has quit [Ping timeout: 252 seconds]
milosn has joined #ocaml
snyp has joined #ocaml
stevej has joined #ocaml
Simn has joined #ocaml
ocp has quit [Ping timeout: 260 seconds]
snyp has quit [Quit: Leaving]
milosn has quit [Ping timeout: 246 seconds]
chingfantsou has left #ocaml []
thomasga has joined #ocaml
kyrylo has quit [Ping timeout: 250 seconds]
Axord has quit [Quit: I'm sure it's perfectly safe]
reynir is now known as grandparent
grandparent is now known as reynir
zpe has joined #ocaml
zpe has quit [Ping timeout: 250 seconds]
ttamttam has joined #ocaml
palomer has joined #ocaml
<palomer> hey guys
<palomer> I'm writing a websert in lwt
<palomer> and I want to be able to run it from the emacs compile function
<palomer> and close it when the buffer is closed
<palomer> emacs sends a sighup when it closes a process
<palomer> now my process is Unix.binding to a port
<palomer> unfortunately, if you close it, the port is not released
<palomer> so I write this bit: ignore(Lwt_unix.on_signal 1 (fun _ -> ignore(Lwt_unix.shutdown server_sock Lwt_unix.SHUTDOWN_ALL); 1));
<palomer> where server_sock is the socket the port is bound to
<palomer> doesn't work though
<smondet> palomer: have you tried setting socket-options? there is one for re-using ports easily i think
<palomer> how do I do that?
<smondet> i'm not sure it solves exactly your problem but it's worth a try
ttamttam has quit [Ping timeout: 240 seconds]
ttamttam has joined #ocaml
<smondet> on my ubuntu, the doc about the sockopts is in `man 7 socket`
<palomer> it works:)
<palomer> yay
sheijk has joined #ocaml
<palomer> thanks
sheijk has quit [Ping timeout: 240 seconds]
sheijk has joined #ocaml
malvarez has joined #ocaml
ggole has quit []
zpe has joined #ocaml
zpe has quit [Ping timeout: 248 seconds]
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
palomer has quit [Ping timeout: 248 seconds]
milosn has joined #ocaml
boogie has quit [Remote host closed the connection]
lasts has joined #ocaml
lasts__ has quit [Read error: Connection reset by peer]
dant3_ has joined #ocaml
Xenasis has joined #ocaml
dant3 has quit [Ping timeout: 252 seconds]
oriba has joined #ocaml
bjorkintosh has joined #ocaml
dant3_ has quit [Remote host closed the connection]
dant3 has joined #ocaml
mort___ has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest84189
nlucaroni has left #ocaml []
zpe has joined #ocaml
bjorkintosh has quit [Read error: Connection reset by peer]
ulfdoz has joined #ocaml
Kakadu has quit []
zpe has quit [Ping timeout: 264 seconds]
mort___ has quit [Ping timeout: 272 seconds]
tane has joined #ocaml
q66 has quit [Quit: Leaving]
mort___ has joined #ocaml
ttamttam has quit [Quit: ttamttam]
ollehar has joined #ocaml
q66 has joined #ocaml
mort___ has quit [Ping timeout: 240 seconds]
mort___ has joined #ocaml
kyrylo has joined #ocaml
mort___ has quit [Ping timeout: 252 seconds]
ousado_ is now known as ousado
ousado has quit [Changing host]
ousado has joined #ocaml
tane has quit [Quit: Verlassend]
sheijk has quit [Ping timeout: 245 seconds]
mort___ has joined #ocaml
kyrylo has quit [Ping timeout: 246 seconds]
mort___ has quit [Read error: Connection reset by peer]
kyrylo has joined #ocaml
zpe has joined #ocaml
AltGr has left #ocaml []
Guest84189 has quit [Remote host closed the connection]
zpe has quit [Ping timeout: 246 seconds]
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
bjorkintosh has joined #ocaml
habnabit is now known as _habnabit
nikki93 has joined #ocaml
nikki93 has quit [Ping timeout: 272 seconds]
snyp has joined #ocaml
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 246 seconds]
strobegen has quit [Quit: Leaving.]
avsm has joined #ocaml
zpe has joined #ocaml
ulfdoz has quit [Ping timeout: 246 seconds]
zpe has quit [Ping timeout: 272 seconds]
nikki93 has joined #ocaml
mreca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
travisbrady has quit [Quit: travisbrady]
snyp has quit [Quit: Leaving]
nikki93 has quit [Ping timeout: 250 seconds]
Xenasis has quit [Remote host closed the connection]
adrien_oww has quit [Ping timeout: 250 seconds]
WraithM_ has quit [Ping timeout: 246 seconds]
adrien_oww has joined #ocaml
darkf has joined #ocaml
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 265 seconds]
palomer has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
nikki93 has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
sheijk has joined #ocaml
kyrylo has quit [Ping timeout: 252 seconds]
Xenasis has joined #ocaml
thomasga has quit [Quit: Leaving.]
demonimin has quit [Remote host closed the connection]
nikki93_ has joined #ocaml
madroach has quit [Ping timeout: 252 seconds]
mcclurmc has joined #ocaml
nikki93 has quit [Ping timeout: 246 seconds]
madroach has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
Xenasis has quit [Read error: Connection reset by peer]
jao has joined #ocaml
nikki93_ has quit [Remote host closed the connection]
jao has quit [Changing host]
jao has joined #ocaml
zpe has joined #ocaml