adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.02.3 announced http://ocaml.org/releases/4.02.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
<nicoo> python476: Do you really mean “matching on a length-1 list and returning this thing”? Because that would be so specialized it wouldn't have a name
<nicoo> (Also, getting a length-1 'a list instead of a 'a directly sounds fishy)
rgrinberg has joined #ocaml
rand has joined #ocaml
jonludlam has quit [Ping timeout: 240 seconds]
raphaelss has joined #ocaml
seungjin has joined #ocaml
<python476> not matchin per se, just some unwrapping function
<python476> it feels list-monadic ... but I don't want to sound ..monadic
swgillespie has joined #ocaml
raphaelss has quit [Read error: Connection reset by peer]
seungjin has quit [Ping timeout: 264 seconds]
tmtwd has joined #ocaml
toolslive has quit [Ping timeout: 252 seconds]
nullcatxxx_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nullcatxxx_ has joined #ocaml
nullcatxxx_ has quit [Client Quit]
prepor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
madroach has quit [Ping timeout: 260 seconds]
jackweir_ has quit [Quit: Textual IRC Client: www.textualapp.com]
madroach has joined #ocaml
xificurC has quit [Ping timeout: 260 seconds]
rand has quit [Quit: leaving]
orbifx has quit [Quit: AtomicIRC: The nuclear option.]
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
<jmasseo> so LWT, how do i clean up connections that are client terminated?
<jmasseo> i was getting sigpipe when i tried to write to them, so i 'ignored' sigpipe but i have no way of identifying who has dropped
<jmasseo> i thought i would get an LWT level error
FreeBirdLjj has quit [Client Quit]
FreeBirdLjj has joined #ocaml
<dmbaturin> jmasseo: You can run the connection handling threads in Lwt.on_failure and supply a function that logs the error or does something else.
<jmasseo> hmm
<jmasseo> so what happens normally when there is an on_failure?
<jmasseo> When i hit control-d to stdin it throws an End_of_file
<jmasseo> with the sockets, it was SIGPIPE, and now it's nothing.
<jmasseo> no errors or exceptions
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has joined #ocaml
jeffmo has quit [Quit: jeffmo]
<dmbaturin> jmasseo: The default is to print the exception trace. Could you paste the line?
<jmasseo> there is no exception trace. that's the confusing bit
<jmasseo> it was sigpipe before, and now there are no errors at all.
<dmbaturin> Well, it's hard to tell without the code.
<jmasseo> right
<jmasseo> i'll poke it more tomorrow.
<jmasseo> paste-bin it
<jmasseo> it's pretty ugly
<jmasseo> it's my first effort of anything in ocaml. for self-instruction
<dmbaturin> Does anyone know why debian opam package depends on ocaml?
<dmbaturin> jmasseo: You must have seen my first attempts to use Lwt. Then we could have an ugly code contest. ;)
<jmasseo> heh. I really like OCaml and also Lwt so far.
<jmasseo> i need to spend some time refactoring/restructing into modules
<dmbaturin> jmasseo: I made a little example some time ago: http://baturin.org/code/lwt-counter-server/
<jmasseo> oh i read this already
<dmbaturin> The logging incantation is actually important, without it you may have no logs.
acieroid`` has quit [Read error: Connection reset by peer]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
acieroid`` has joined #ocaml
<dmbaturin> If you need to do some cleanup, you could also insert some error handling there and return Lwt unit after cleaning up.
<dmbaturin> Instead of looping.
python476 has quit [Ping timeout: 246 seconds]
orbitz_ has joined #ocaml
DanielRichman has quit [Ping timeout: 250 seconds]
micro_ has quit [Ping timeout: 240 seconds]
DanielRichman has joined #ocaml
apache2 has quit [Ping timeout: 246 seconds]
apache2_ has joined #ocaml
jlouis has quit [Ping timeout: 260 seconds]
jlouis has joined #ocaml
orbitz has quit [Ping timeout: 260 seconds]
apache2_ has quit [Read error: Connection reset by peer]
apache2 has joined #ocaml
micro_ has joined #ocaml
darkf has joined #ocaml
swgillespie has joined #ocaml
ygrek has quit [Ping timeout: 260 seconds]
t4nk485 has joined #ocaml
t4nk485 has quit [Quit: Page closed]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jobell has joined #ocaml
mac10688 has quit [Ping timeout: 246 seconds]
swgillespie has joined #ocaml
darkf_ has joined #ocaml
cmocanu_ has joined #ocaml
NhanH_ has joined #ocaml
lolisa has joined #ocaml
sgnb` has joined #ocaml
oskarth_ has joined #ocaml
uggwar_ has joined #ocaml
mahem1__ has joined #ocaml
flasheater has joined #ocaml
nchambers has quit [Ping timeout: 240 seconds]
mawuli has quit [Ping timeout: 240 seconds]
abbe has quit [Ping timeout: 240 seconds]
bitbckt has quit [Ping timeout: 240 seconds]
NhanH has quit [Ping timeout: 240 seconds]
igitoor has quit [Ping timeout: 240 seconds]
bugabinga has quit [Remote host closed the connection]
darkf has quit [Ping timeout: 240 seconds]
cmocanu has quit [Ping timeout: 240 seconds]
sigjuice has quit [Ping timeout: 240 seconds]
oskarth has quit [Ping timeout: 240 seconds]
rossberg has quit [Ping timeout: 240 seconds]
sgnb has quit [Ping timeout: 240 seconds]
uggwar has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 240 seconds]
mahem1 has quit [Ping timeout: 240 seconds]
abbe has joined #ocaml
oskarth_ is now known as oskarth
NhanH_ is now known as NhanH
sigjuice has joined #ocaml
bitbckt has joined #ocaml
nchambers has joined #ocaml
igitoor has joined #ocaml
mawuli has joined #ocaml
rossberg has joined #ocaml
igitoor has joined #ocaml
igitoor has quit [Changing host]
AlexRussia has joined #ocaml
MercurialAlchemi has joined #ocaml
darkf_ is now known as darkf
MercurialAlchemi has quit [Ping timeout: 252 seconds]
AltGr has joined #ocaml
igoroliveira has quit [Quit: Connection closed for inactivity]
__uu___ has left #ocaml [#ocaml]
seungjin` has joined #ocaml
rgrinberg has quit [Ping timeout: 260 seconds]
rgrinberg has joined #ocaml
tmtwd has quit [Quit: Leaving]
seungjin` has quit [Ping timeout: 244 seconds]
MercurialAlchemi has joined #ocaml
mrvn has quit [Ping timeout: 265 seconds]
mrvn has joined #ocaml
tmtwd has joined #ocaml
rgrinberg has quit [Ping timeout: 246 seconds]
sigjuice has quit [Ping timeout: 265 seconds]
tmtwd has quit [Remote host closed the connection]
sigjuice has joined #ocaml
python476 has joined #ocaml
AlexRussia has quit [Ping timeout: 272 seconds]
ril has joined #ocaml
lolisa has quit [Quit: meow]
mal`` has quit [*.net *.split]
mal`` has joined #ocaml
tmtwd has joined #ocaml
Haudegen has quit [Ping timeout: 250 seconds]
toolslive has joined #ocaml
tmtwd has quit [Ping timeout: 250 seconds]
ygrek has joined #ocaml
Haudegen has joined #ocaml
jobell has quit [Read error: Connection reset by peer]
AlexRussia has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ggole has joined #ocaml
swgillespie has joined #ocaml
prepor has joined #ocaml
swgillespie has quit [Client Quit]
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pyon has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
octachron has joined #ocaml
kushal has joined #ocaml
ely-se has joined #ocaml
zpe has joined #ocaml
ollehar has joined #ocaml
larhat1 has quit [Quit: Leaving.]
AltGr has left #ocaml [#ocaml]
<companion_cube> ygrek: there's a library for parsing bencode, you know? ;)
<ygrek> ?
superboum has joined #ocaml
<companion_cube> (I saw your 'scraps' repo)
<ygrek> I believe that bencode scrap is older than the library :]
Kakadu has joined #ocaml
<ygrek> I think somewhere around 2010
kushal has quit [Quit: Leaving]
<ygrek> when camlp4 stream parsers were kinda cool
<ygrek> 2009 even, I keep it as a nostalgic memory
<companion_cube> :)
<ygrek> and then anyway I am the keeper of majority of bencode ocaml libraries out there, of total two, counting mldonkey's one
<companion_cube> :D
<companion_cube> mldonkey is counted as a library now?
<ygrek> it uses interned bencode library
<ygrek> it all depends on the pov
<python476> is mldonkey still maintained too ?
<ygrek> "too" as in "ocaml too"?
<ygrek> or as in "python alive too"?
<python476> as in "it's bencode lib is maintained but is the parent project too" :)
<ygrek> every line of it is carefully maintained to stay in place designated by the elders
darkf_ has joined #ocaml
<python476> heh
mort___ has joined #ocaml
darkf has quit [Ping timeout: 250 seconds]
riveter has quit [Ping timeout: 255 seconds]
riveter has joined #ocaml
ely-se has quit [Quit: leaving]
ely-se has joined #ocaml
prepor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ygrek has quit [Ping timeout: 250 seconds]
<companion_cube> https://github.com/ocaml/ocaml/pull/278 so much troll on this PR...
_andre has joined #ocaml
jonludlam has joined #ocaml
<octachron> that it is probably the curse of syntax pr; as a meeting point of strong opinions over minor details
<def`> I am fond of trolls, but syntax pr are not fair play.
<ely-se> octachron: https://wiki.haskell.org/Wadler's_Law
<companion_cube> but the PR's reason to exist is that syntax can favor bugs
FreeBird_ has joined #ocaml
darkf_ is now known as darkf
FreeBirdLjj has quit [Ping timeout: 265 seconds]
FreeBird_ has quit [Ping timeout: 260 seconds]
sepp2k has joined #ocaml
superboum has quit [Ping timeout: 240 seconds]
charpi`` is now known as charpi
pyon has quit [Quit: restart]
djellemah has quit [Read error: Connection reset by peer]
ely-se has quit [Quit: leaving]
mort___1 has joined #ocaml
mort___ has quit [Ping timeout: 246 seconds]
huza has joined #ocaml
prepor has joined #ocaml
Haudegen has quit [Ping timeout: 255 seconds]
rgrinberg has joined #ocaml
Haudegen has joined #ocaml
ely-se has joined #ocaml
rgrinberg has quit [Ping timeout: 260 seconds]
superboum has joined #ocaml
djellemah has joined #ocaml
<libertas> hi, just a beginner question: if date is a record, why does this return a syntax error: let next date = let date.minute = date.minute + 1 in date;;
<flux> "let date.minute =", what should it do?
<flux> if you're thinking 'write a new value to a record field', then no, let doesn't do that
<flux> is the date.minute field mutable in the first place? how is it defined?
<libertas> just to alter the value of a field
<ely-se> I think you want: let next date = { date with minute = date.minute + 1 };;
<libertas> humm, the brackets
<flux> libertas, depending on how the type of 'date' is defined, that may be impossible. but what ely-se is suggesting that return a new version of the date with the one field changed.
<libertas> fine, thanks
sepp2k has quit [Ping timeout: 240 seconds]
ely-se has quit [Quit: leaving]
sepp2k has joined #ocaml
mort___1 has quit [Quit: Leaving.]
mort___ has joined #ocaml
sepp2k has quit [Ping timeout: 260 seconds]
<MercurialAlchemi> Drup: eh, looks like you were right the other day, there are windows binaries for Flow: http://www.ocamlpro.com/pub/ocpwin/flow-builds/
<MercurialAlchemi> from last year though
<MercurialAlchemi> I guess Javascript in 2015 sucks in the same way as Javascript in 2014
huza has quit [Quit: WeeChat 0.3.8]
superboum has quit [Quit: superboum]
Kakadu has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 264 seconds]
AlexRussia has joined #ocaml
mal`` has quit [K-Lined]
Kakadu has joined #ocaml
uggwar_ has left #ocaml [#ocaml]
BitPuffin has joined #ocaml
<Leonidas> Similarly to development on Windows.
<toolslive> hm, c# (or f#) in visual studio is actually superior than ocaml in emacs on linux.
<toolslive> superior to ;)
s1n4 has joined #ocaml
<jmasseo> Studio is pretty nice
<jmasseo> i've not poked F# yet
<jmasseo> i've done lots of other stuff in studio
<toolslive> a teaser: http://www.pexforfun.com/
<MercurialAlchemi> toolslive: well... I don't know
<MercurialAlchemi> I had to disable the git module and codelens to get my CPU back
<MercurialAlchemi> also, you get to work with MSBuild
<MercurialAlchemi> MSBuild would be less shitty without VS, I imagine, because it is clearly made to be edited by clicky people through Visual Studio, which is why doing anything semi-complex (or trying to figure out what the hell it's doing) is such a pain
<MercurialAlchemi> the big things missing for the perfect OCaml experience on Linux are (IMHO): out-of-the-box recompilation, project-wide renaming from merlin, and a debugger which doesn't suck
<companion_cube> same, except recompilation is trivial with inotify ;)
govg has joined #ocaml
<MercurialAlchemi> companion_cube: yeah, I also hacked something together, but "good experience" includes "working out of the box", not "reading 50 pages of how to configure various tools"
<toolslive> and various profiling tools
<toolslive> that don't suck
<MercurialAlchemi> yeah
<MercurialAlchemi> but I use profiling rarely, I'd be happy to be already 90% there
<def`> + I want GUIs, for visualization
<toolslive> I tend to use callgrind, which is ok-ish. but I still need something to find memory leaks in a big codebase
<toolslive> and a decent simple code generation tool (ppx ain't it)
<toolslive> and decent multi core
ely-se has joined #ocaml
tmtwd has joined #ocaml
<MercurialAlchemi> multi core isn't a tooling problem
<MercurialAlchemi> though it can easily make for tooling problems :)
<MercurialAlchemi> def`: visualisation of what?
<toolslive> the thread was "xxx in 2015 sucks the same way as xxx in 2014" so 'multi core in ocaml' qualifies
<def`> MercurialAlchemi: heap values
lyxia has quit [Ping timeout: 252 seconds]
tobiasBora has quit [Ping timeout: 264 seconds]
Maelan has quit [Ping timeout: 264 seconds]
<MercurialAlchemi> toolslive: ah... I had narrowed it down to emacs/vim+merlin vs VS: return of the vengeance of the final battle
sgnb` has quit [Read error: Connection reset by peer]
bernardofpc has quit [Ping timeout: 268 seconds]
sgnb` has joined #ocaml
bernardofpc has joined #ocaml
sepp2k has joined #ocaml
rgrinberg has joined #ocaml
tobiasBora has joined #ocaml
lyxia has joined #ocaml
Maelan has joined #ocaml
<jmasseo> toolslive: i solved that pex problem it fed me. kind of fun.
tmtwd has quit [Ping timeout: 260 seconds]
tmtwd has joined #ocaml
<companion_cube> this moment where you add one type parameter to every type
<jmasseo> can studio speak ocaml?
<jmasseo> is F# close enough?
s1n4 has quit [Quit: leaving]
pacmann has joined #ocaml
darkf has quit [Read error: Connection reset by peer]
darkf has joined #ocaml
sgnb` has quit [Read error: Connection reset by peer]
<Leonidas> last time i saw F#, it looked rather different from ocaml
<Leonidas> like an ML with C# syntax shoveled in.
<Leonidas> jmasseo: what do you mean with "speak"?
<Leonidas> execute it? highlight it?
sgnb has joined #ocaml
<jmasseo> highlight it.
<ggole> companion_cube: isn't it fun when your text editor is more helpful than your language at dealing with your language!
<jmasseo> yeah i know F# had linq and stuff.
<companion_cube> ggole: I'm not sure that my editor is up to the task
<jmasseo> could always write OCaml support for VS.
<Leonidas> toolslive: depends on what you consider. C# does not feel superior to OCaml to me, full of pesky objects ;-)
<jmasseo> kind of like the python tools
<jmasseo> tie in merlin and everything
<Leonidas> jmasseo: I mean, sure you could. But what do you win by it?
<Leonidas> when you start writing your language plugin from scratch, I don't see how much visual studio helps you with that besides providing a widget for displaying syntax highlighted text.
<jmasseo> nothing, really.
<jmasseo> emacs works fine.
<jmasseo> it's got completion and highlighting
<jmasseo> and you can write any feature that is missing.
<jmasseo> a lot easier than you could in VS
<Leonidas> I can see people wanting to have tools like Resharper, but that does not support OCaml either ;-)
<jmasseo> the only benefits would come from a full integration
<jmasseo> VS speaks GDB and LLDB now i think
<toolslive> f# type providers are pretty sexy.
<jmasseo> i might check out F# after i finish the ocaml mooc.
<jmasseo> I like C# a lot for windows work
<jmasseo> or multiplatform gui work
emaphis has joined #ocaml
<jmasseo> i'm a sysadmin though, so that's almost always Pet Project type stuff.
<jmasseo> at this gig we all have macs and all our stuff in debian in aws.
<jmasseo> i would write work stuff in C# just to troll my peers.
<toolslive> travis is annoying me: [ERROR] http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.1.tar.gz not available.....
tmtwd has quit [Ping timeout: 252 seconds]
BitPuffin has quit [Ping timeout: 255 seconds]
ncthom91 has joined #ocaml
kushal has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 272 seconds]
jeffmo has joined #ocaml
mort___1 has joined #ocaml
mort___ has quit [Ping timeout: 246 seconds]
govg has quit [Ping timeout: 264 seconds]
govg has joined #ocaml
octachron has quit [Quit: Leaving]
ril has joined #ocaml
ril is now known as ril[away]
ril[away] is now known as ril
govg has quit [Ping timeout: 252 seconds]
mal`` has joined #ocaml
mal`` has quit [Max SendQ exceeded]
govg has joined #ocaml
mal`` has joined #ocaml
govg has quit [Ping timeout: 260 seconds]
jeffmo has quit [Quit: jeffmo]
ely-se has quit [Quit: leaving]
govg has joined #ocaml
govg has quit [Remote host closed the connection]
govg has joined #ocaml
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mort___1 has quit [Quit: Leaving.]
MercurialAlchemi has joined #ocaml
travisbrady has joined #ocaml
ril has joined #ocaml
mort___ has joined #ocaml
damason_afk has quit [Quit: No Ping reply in 180 seconds.]
damason has joined #ocaml
Guest38 has joined #ocaml
pacmann has quit [Remote host closed the connection]
bjorkintosh has quit [Ping timeout: 250 seconds]
slash^ has joined #ocaml
travisbrady has quit [Ping timeout: 264 seconds]
<charpi> Hi, I am quite new to ocaml and lwt. Looking at lwt documentation I can see that the socket_domain can only be PF_UNIX | PF_INET |PF_INET6. Does anyone know if it is possible to create AF_NETLINK sockets ?
<flux> charpi, you probably want to use a specific ocaml library for it. seems like this might be suitabe, though it uses some C library to do it: https://github.com/xapi-project/ocaml-netlink
<flux> I'm guessing it might not play nice with lwt as-is, though
<charpi> i see
poulpeux has joined #ocaml
ollehar has quit [Ping timeout: 265 seconds]
<charpi> isn't easier to just glue some specific C functions and my Ocaml program ?
ygrek has joined #ocaml
<poulpeux> Hello everyone. I've got a question for those who understand the Unix module. I'm looking for a way to execute a piece of shell code and get the standard output of the command in a separate channel, just like the open_process* function, but I would also like to get the exit code, like the system or create_process functions. However, the system function doesn't redirect stdout and the create_process* functions don't allow an
<poulpeux> arbitrary piece of shell code. What should I do ?
Mercuria1Alchemi has joined #ocaml
beaver_pelt has joined #ocaml
<smondet> poulpeux: use create_process with [| "sh"; "-c"; your_command |] ?
<beaver_pelt> Hello
<charpi> thanks flux. I will have a look to the netlink lib
<poulpeux> smondet: Wonderful ! It does exactly what I was looking for ! Thank you !
<flux> charpi, I'm sure though that if the library doesn't support LWT as is, it would be easy to modify to support it, and probably the changes would be accepted by the library author as well :)
<flux> charpi, good luck! also it might not be the only available library, but it was the first google hit. ;)
<charpi> flux: yes I could have tried google first. I was just a bit surprised that only IP sockets were supported
hugomg has joined #ocaml
beaver_pelt has left #ocaml ["Leaving"]
libertas has quit [Ping timeout: 250 seconds]
zpe has quit [Remote host closed the connection]
<smondet> Drup: I just randomly discovered http://ocsigen.github.io/blog/, could you add it to the planet.ocaml.org? and/or use https://twitter.com/ocsigen?
<Drup> smondet: first is already done
pierpa has joined #ocaml
<Drup> smondet: to be precise, http://ocaml.org/community/planet/ got it, but not the old planet
<Drup> I think I already reported that it was not in synch, and it was a problem, but you could yell again about it :p
<Drup> (as for twitter, I don't practice, so ...)
govg has quit [Ping timeout: 260 seconds]
govg has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
^elyse^ has joined #ocaml
shinnya has joined #ocaml
swgillespie has joined #ocaml
jonludlam has quit [Ping timeout: 264 seconds]
Haudegen has quit [Ping timeout: 240 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mort___ has quit [Ping timeout: 246 seconds]
ril is now known as ril[away]
ggole has quit [Ping timeout: 260 seconds]
zpe has joined #ocaml
Haudegen has joined #ocaml
zpe has quit [Ping timeout: 252 seconds]
poulpeux has quit [Quit: Leaving]
ril[away] has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jabesed has joined #ocaml
bjorkintosh has joined #ocaml
rgrinberg has joined #ocaml
Mercuria1Alchemi has quit [Ping timeout: 250 seconds]
rgrinberg has quit [Ping timeout: 265 seconds]
shinnya has quit [Ping timeout: 272 seconds]
darkf has quit [Quit: Leaving]
jabesed has quit [Remote host closed the connection]
jabesed has joined #ocaml
ril has joined #ocaml
jonludlam has joined #ocaml
orbifx has joined #ocaml
tane has joined #ocaml
ygrek_ has joined #ocaml
ygrek has quit [Ping timeout: 244 seconds]
_andre has quit [Quit: leaving]
pacmann has joined #ocaml
ygrek_ has quit [Ping timeout: 252 seconds]
ril is now known as ril[away]
orbifx has quit [Ping timeout: 265 seconds]
hugomg has quit [Quit: Leaving]
ril[away] is now known as ril
jabesed has quit [Ping timeout: 240 seconds]
jabesed has joined #ocaml
kushal has quit [Ping timeout: 250 seconds]
prepor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
prepor has joined #ocaml
Kakadu has quit [Remote host closed the connection]
Kakadu has joined #ocaml
jabesed has quit [Ping timeout: 246 seconds]
ygrek_ has joined #ocaml
eni_ has joined #ocaml
mort___ has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
xificurC has joined #ocaml
tane has quit [Ping timeout: 260 seconds]
larhat1 has joined #ocaml
tane has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
jgjl has joined #ocaml
ollehar has joined #ocaml
^elyse^ has quit [Read error: Connection reset by peer]
igoroliveira has joined #ocaml
^elyse^ has joined #ocaml
mort___ has quit [Quit: Leaving.]
tane has quit [Quit: Verlassend]
tane has joined #ocaml
govg has joined #ocaml
orbifx has joined #ocaml
prepor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgjl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
prepor has joined #ocaml
rgrinberg has joined #ocaml
mort___ has joined #ocaml
rgrinberg has quit [Ping timeout: 265 seconds]
eni_ has quit [Quit: Leaving]
ygrek_ has quit [Ping timeout: 240 seconds]
orbifx has quit [Quit: AtomicIRC: The nuclear option.]
orbifx has joined #ocaml
<orbifx> kakadu: what is PPX?
<Kakadu> ehm.....
<orbifx> also opam already has a version of lablqt, is it really necessary to add the github repo?
<Kakadu> let's say a syntax extension
<Kakadu> I think opam version should be OK
shinnya has joined #ocaml
<orbifx> kakadu: i thought qtmeth was some kind of QML drug :P
sepp2k has quit [Quit: Leaving.]
<Kakadu> orbifx: If we will create kind of wizard for generating something for lablqt we should name it 'drwhite'
<orbifx> hahah
<orbifx> I am about to try running the build process
<orbifx> have you looked at all the approach where you load the qml file in some ocaml build program? A bit like C++/Qt would do?
<Kakadu> If I remember correctly it is how it works at the moment
MercurialAlchemi has quit [Ping timeout: 264 seconds]
<orbifx> kakadu: in one of the makefiles, with `include .depend` not being optional, the Makefile doesn't run
<orbifx> I had to make it optional include and run `make depend` first
<Kakadu> do you compile manually?
<orbifx> what do you mean by manually?
<Kakadu> no opam
<orbifx> I run the make commands
Denommus has joined #ocaml
<Kakadu> I just installed lablqt.0.3 from opam without errors
<Kakadu> orbifx: What exactly are you compiling?
<orbifx> yeah that is fine
<Kakadu> and with which compiler?
<orbifx> I'm trying to make my own program with lablqt
<Kakadu> based on which sources?
<orbifx> based on the tutorial on github pages and and a Makefile from the examples.
<orbifx> shouldn't this [1] makefile have wildcars for the .cpp.o targets for example? [1]: https://github.com/Kakadu/lablqt/blob/master/qml/tutorial_examples/example2/Makefile
<orbifx> s/wildcars/wildcards
* orbifx thinks about wildcars....
<Kakadu> something is wrong
<Kakadu> I don't know yet what concretely
<Kakadu> orbifx: which tutorial do you use?
<Kakadu> I think that you are using example for the old tutorial
<Kakadu> Interesting, how you got this link form the new tutorial....
tane has quit [Quit: Verlassend]
ygrek_ has joined #ocaml
<Kakadu> yeah, https://github.com/Kakadu/lablqt/tree/master/qml/tutorial_examples are examples for old version of tutorial
<orbifx> maybe delete those to avoid confusion?
<orbifx> also which package includes caml/alloc.h?
<Kakadu> opam package?
<Kakadu> alloc.h should be shipped with compiler
<Kakadu> `ocamlc -where`/caml/alloc.h
<orbifx> ok should that be included in the command: g++ `pkg-config --cflags Qt5Quick` -fPIC -c class2_c.cpp -o class2_c.o
^elyse^ has quit [Quit: Leaving...]
<orbifx> as a pkg-config option if ocaml supports it or as a substritution as provided above?
<orbifx> although to be honest this isn't your commands fault.. this should be in the include path, but Arch doesn't seem to have it. I will raise that to the package manager.
<Kakadu> btw,if you are planning to base your project on lablqt you should probably be based on https://github.com/Kakadu/QOcamlBrowser_quick (it has ocamlbuild integration)
<ollehar> anyone into type promotion?
<orbifx> types will not be getting any promotions, tough times..
<orbifx> kakadu: is that browser tha one installable with opam?
<Kakadu> orbifx: yep
govg has quit [Ping timeout: 240 seconds]
<orbifx> kakadu: and what do you mean by "base" on it? Use it as an example application or for referencing types with it?!
<Kakadu> 1st one
<orbifx> ok, just noticed it is a general reference browser, handy
<orbifx> but it doesn't quit with Ctrl+Q
<Kakadu> Alt+F4
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 268 seconds]
<orbifx> kakadu: are you on windows?
<Kakadu> nope
destrius has quit [Remote host closed the connection]
<Kakadu> Actually I installed some kind of plugin to disable Ctrl+Q in firefox....
<orbifx> ok. I use xmonad, which by default doesn't have alt+f4
<orbifx> most of the apps I use support ctrl+q
<orbifx> have seen a shift+q
<orbifx> so far so good kakadu
<orbifx> i gotta pack it in for tonight but will probably get to continue tomorrow
<orbifx> One suggestion, maybe I can contribute somehow to that eventually, is to make it have less boiler plate. Obscuring the OO stuff might be worth while.
<orbifx> But that is a tricky business.
ril has joined #ocaml
tane has joined #ocaml
<orbifx> kakadu: sweet.. will that be automatically available over opam or will you have to repackage it?
<Kakadu> no, I'm not planning repackaging
<Kakadu> if only we will not use opam's default repo
<orbifx> rephrase the last sentence please.
rgrinberg has joined #ocaml
<nchambers> if not OPAM_DEFAULT_REPO: repackage()
<Kakadu> I will not push to the main opam repo. Maybe I will update the one listed on website
<Kakadu> to make it pull latest git sources
<orbifx> ok
<orbifx> right.. time to go
<orbifx> thanks for all the help kakadu, speak soon.
<Kakadu> seeya
orbifx has quit [Quit: WeeChat 1.3]
tane has quit [Quit: Verlassend]
rgrinberg has quit [Ping timeout: 240 seconds]
Kakadu has quit [Remote host closed the connection]
swgillespie has joined #ocaml
nchambers is now known as telnet
telnet is now known as nchambers
mac10688 has joined #ocaml
toolslive has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml