ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | http://www.ocaml.org | OCaml 4.01.0 announce at http://bit.ly/1851A3R | Logs at http://irclog.whitequark.org/ocaml
penglingbo has joined #ocaml
ontologiae has quit [Ping timeout: 252 seconds]
lordkryss has quit [Ping timeout: 255 seconds]
philtor_ has quit [Ping timeout: 260 seconds]
hhugo has joined #ocaml
hhugo has quit [Client Quit]
Oejet has quit [Quit: Leaving.]
jwatzman|work has quit [Quit: jwatzman|work]
PLATOSCAVE has quit [Ping timeout: 252 seconds]
racycle has quit [Quit: ZZZzzz…]
PLATOSCAVE has joined #ocaml
teiresias has joined #ocaml
olasd has joined #ocaml
leifw has joined #ocaml
jzelinskie has joined #ocaml
__marius____ has joined #ocaml
steshaw_ has joined #ocaml
ontologiae has joined #ocaml
PLATOSCAVE has quit [Ping timeout: 264 seconds]
ontologiae has quit [Ping timeout: 240 seconds]
ggherdov_ has joined #ocaml
ontologiae has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
philtor_ has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
pyx has quit [Quit: WeeChat 0.4.3]
seanmcl has joined #ocaml
alpounet has joined #ocaml
alpounet has quit [Ping timeout: 252 seconds]
eikke__ has quit [Ping timeout: 245 seconds]
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boogie has joined #ocaml
philtor_ has quit [Ping timeout: 264 seconds]
q66 has quit [Quit: Leaving]
tnguyen has quit [Ping timeout: 252 seconds]
seanmcl has joined #ocaml
seanmcl has quit [Client Quit]
claudiuc has quit [Remote host closed the connection]
araujo has quit [Quit: Leaving]
ontologiae has joined #ocaml
vfoley- has quit [Ping timeout: 248 seconds]
ontologiae has quit [Ping timeout: 240 seconds]
alpounet has joined #ocaml
WraithM has quit [Ping timeout: 255 seconds]
alpounet has quit [Ping timeout: 240 seconds]
WraithM has joined #ocaml
racycle has joined #ocaml
penglingbo has quit [Ping timeout: 255 seconds]
jao has quit [Ping timeout: 264 seconds]
johnnydiabetic has joined #ocaml
slash^ has joined #ocaml
vfoley- has joined #ocaml
racycle has quit [Quit: ZZZzzz…]
boogie has quit [Quit: Leaving...]
axiles has joined #ocaml
johnnydiabetic has quit [Ping timeout: 248 seconds]
claudiuc has joined #ocaml
yacks has quit [Ping timeout: 264 seconds]
diethyl has joined #ocaml
wwilly has joined #ocaml
ggole has joined #ocaml
divyanshu has joined #ocaml
yacks has joined #ocaml
Asmadeus_ is now known as Asmadeus
teiresias has quit [Quit: leaving]
teiresias has joined #ocaml
penglingbo has joined #ocaml
Oejet has joined #ocaml
Kakadu has joined #ocaml
flux has joined #ocaml
martintrojer has quit [Max SendQ exceeded]
martintrojer has joined #ocaml
Simn has joined #ocaml
ygrek has joined #ocaml
claudiuc has quit [Remote host closed the connection]
penglingbo has quit [Quit: Leaving]
Arsenik has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
ollehar has joined #ocaml
alpounet has joined #ocaml
fraggle_laptop has quit [Remote host closed the connection]
Kakadu has joined #ocaml
pminten has joined #ocaml
ollehar has quit [Ping timeout: 255 seconds]
hhugo has joined #ocaml
eikke__ has joined #ocaml
hhugo has quit [Quit: Leaving.]
ollehar has joined #ocaml
maattdd has joined #ocaml
pterygota has joined #ocaml
ygrek has quit [Ping timeout: 260 seconds]
pminten has quit [Remote host closed the connection]
ollehar has quit [Ping timeout: 255 seconds]
maattdd has quit [Ping timeout: 255 seconds]
maattdd has joined #ocaml
q66 has joined #ocaml
martintrojer has quit [Max SendQ exceeded]
eikke__ has quit [Ping timeout: 255 seconds]
divyanshu has quit [Quit: Computer has gone to sleep.]
lordkryss has joined #ocaml
Eyyub has joined #ocaml
eikke__ has joined #ocaml
martintrojer has joined #ocaml
Eyyub has quit [Ping timeout: 245 seconds]
jbrown has quit [Remote host closed the connection]
maattdd has quit [Ping timeout: 240 seconds]
flux has quit [Ping timeout: 260 seconds]
flux has joined #ocaml
eikke__ has quit [Ping timeout: 240 seconds]
BitPuffin has joined #ocaml
tane has joined #ocaml
maattdd has joined #ocaml
eikke__ has joined #ocaml
diethyl has quit [Ping timeout: 245 seconds]
diethyl has joined #ocaml
ollehar has joined #ocaml
q66 has quit [Quit: Leaving]
Trollinator has joined #ocaml
companion_square is now known as companion_cube
divyanshu has joined #ocaml
companion_cube is now known as companion_tesser
companion_tesser is now known as companion_kube
ebzzry has quit [Remote host closed the connection]
ygrek has joined #ocaml
huza has joined #ocaml
SethTisue has joined #ocaml
darkf has quit [Quit: Leaving]
divyanshu has quit [Quit: Computer has gone to sleep.]
huza has quit [Quit: WeeChat 0.3.8]
Arsenik has quit [Remote host closed the connection]
Arsenik has joined #ocaml
maattdd has quit [Ping timeout: 260 seconds]
SethTisue has quit [Quit: SethTisue]
Averell has quit [Quit: .]
Averell has joined #ocaml
Averell has quit [Quit: .]
Averell has joined #ocaml
pchaigno has joined #ocaml
divyanshu has joined #ocaml
Kakadu has quit [Quit: Page closed]
maattdd has joined #ocaml
maattdd has quit [Ping timeout: 255 seconds]
vfoley- has quit [Changing host]
vfoley- has joined #ocaml
diethyl has quit [Ping timeout: 260 seconds]
array has joined #ocaml
array is now known as Guest45096
racycle has joined #ocaml
johnnydiabetic has joined #ocaml
Oejet has quit [Quit: Leaving.]
mcclurmc has quit []
Kakadu has joined #ocaml
ollehar has quit [Ping timeout: 255 seconds]
ollehar has joined #ocaml
ygrek has quit [Ping timeout: 252 seconds]
maattdd has joined #ocaml
NoNNaN has quit [Ping timeout: 264 seconds]
vfoley- has quit [Ping timeout: 255 seconds]
maattdd has quit [Ping timeout: 240 seconds]
philtor_ has joined #ocaml
rand000 has joined #ocaml
maattdd has joined #ocaml
divyanshu has quit [Quit: Computer has gone to sleep.]
tane has quit [Quit: Verlassend]
vfoley- has joined #ocaml
philtor_ has quit [Ping timeout: 252 seconds]
vfoley- has quit [Changing host]
vfoley- has joined #ocaml
rand000 has quit [Ping timeout: 255 seconds]
vfoley- has quit [Remote host closed the connection]
vfoley- has joined #ocaml
jbrown has joined #ocaml
martintrojer has quit [Max SendQ exceeded]
martintrojer has joined #ocaml
racycle has quit [Quit: ZZZzzz…]
strmpnk has quit [Quit: Connection closed for inactivity]
ollehar has quit [Ping timeout: 255 seconds]
eikke__ has quit [Ping timeout: 252 seconds]
dsheets has joined #ocaml
racycle has joined #ocaml
eikke__ has joined #ocaml
johnnydiabetic has quit [Quit: Leaving]
racycle has quit [Quit: ZZZzzz…]
rand000 has joined #ocaml
NoNNaN has joined #ocaml
Nahra has joined #ocaml
dsheets has quit [Ping timeout: 255 seconds]
dsheets has joined #ocaml
tane has joined #ocaml
dsheets_ has joined #ocaml
divyanshu has joined #ocaml
dsheets has quit [Ping timeout: 240 seconds]
tnguyen has joined #ocaml
ccasin_ is now known as ccasin
pchaigno has left #ocaml [#ocaml]
ollehar has joined #ocaml
hausdorff has joined #ocaml
Guest45096 has quit [Ping timeout: 246 seconds]
waneck has joined #ocaml
Eyyub has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
vfoley- has quit [Changing host]
vfoley- has joined #ocaml
araujo has joined #ocaml
araujo has quit [Changing host]
araujo has joined #ocaml
ebzzry has joined #ocaml
srax has joined #ocaml
Trollinator has quit [Ping timeout: 240 seconds]
divyanshu has quit [Quit: Computer has gone to sleep.]
Hannibal_Smith has joined #ocaml
Arsenik has quit [Remote host closed the connection]
lordkryss has quit [Ping timeout: 255 seconds]
divyanshu has joined #ocaml
Trollinator has joined #ocaml
tani has joined #ocaml
tane has quit [Ping timeout: 240 seconds]
srax has quit [Quit: WeeChat 0.3.8]
srax has joined #ocaml
jprakash has joined #ocaml
Eyyub has quit [Ping timeout: 264 seconds]
jludlam has joined #ocaml
maattdd has quit [Ping timeout: 252 seconds]
bitbckt has joined #ocaml
<BitPuffin> how battle tested is ocaml on windows, I know it works because I got it kinda working but is anyone using it in production?
ontologiae has joined #ocaml
<adrien> if you're after "industry" stuff, lexifi uses it on windows
<adrien> MS too
<BitPuffin> oh MS uses it? :o
<BitPuffin> that's pretty reassuring
<adrien> they made the initial port
<whitequark> wow
<whitequark> before f#?
<adrien> then didn't change version and now are trying to update afaiu
<adrien> more than a decade ago
Eyyub has joined #ocaml
<BitPuffin> well are they still using it for anything you think?
<adrien> iirc they have some product using it
jerith has joined #ocaml
<BitPuffin> aha
<BitPuffin> hope you are right
dsheets__ has joined #ocaml
dsheets_ has quit [Ping timeout: 255 seconds]
Eyyub has quit [Ping timeout: 248 seconds]
ontologiae has quit [Ping timeout: 252 seconds]
ontologiae has joined #ocaml
waneck has quit [Ping timeout: 255 seconds]
bjorkintosh has quit [Ping timeout: 260 seconds]
dsheets__ has quit [Ping timeout: 245 seconds]
dsheets__ has joined #ocaml
waneck has joined #ocaml
jprakash has left #ocaml [#ocaml]
maattdd has joined #ocaml
dsheets__ has quit [Ping timeout: 260 seconds]
dsheets__ has joined #ocaml
dsheets__ has quit [Ping timeout: 252 seconds]
axiles has quit [Remote host closed the connection]
dsheets__ has joined #ocaml
Puffin has joined #ocaml
BitPuffin has quit [Ping timeout: 260 seconds]
alpounet has quit [Remote host closed the connection]
slash^ has quit [Read error: Connection reset by peer]
ollehar has quit [Ping timeout: 255 seconds]
ollehar has joined #ocaml
alexis_ has joined #ocaml
alexis_ has quit [Client Quit]
axiles has joined #ocaml
alpounet has joined #ocaml
Trollinator has left #ocaml ["Konversation terminated!"]
ontologiae has quit [Ping timeout: 255 seconds]
Eyyub has joined #ocaml
divyanshu has quit [Quit: Textual IRC Client: www.textualapp.com]
alpounet has quit [Remote host closed the connection]
ollehar has quit [Ping timeout: 255 seconds]
philtor_ has joined #ocaml
alpounet has joined #ocaml
ollehar has joined #ocaml
<Drup> whitequark: we still don't have a solution for the testing issue and ppx ?
<whitequark> nay
<Drup> grmbl
<whitequark> oh, hm
alpounet has quit [Ping timeout: 252 seconds]
<whitequark> seems I fixed it
<Drup> ok, you cheated
<whitequark> oh?
<Drup> you inlined the ocamlbuild command because oasis refuses do the right one for you :)
alpounet has joined #ocaml
<whitequark> oh, right
SHODAN has quit [Remote host closed the connection]
SHODAN has joined #ocaml
Puffin is now known as BitPuffin
<Drup> whitequark: huhu, I can tell which part are from and which part you did just by the coding style
ollehar has quit [Ping timeout: 255 seconds]
ollehar has joined #ocaml
Hannibal_Smith has quit [Quit: Sto andando via]
ollehar has quit [Ping timeout: 255 seconds]
ollehar has joined #ocaml
axiles has quit [Remote host closed the connection]
philtor_ has quit [Ping timeout: 260 seconds]
wwilly has quit [Quit: This computer has gone to sleep]
jludlam has quit [Read error: Connection reset by peer]
q66 has joined #ocaml
maattdd has quit [Ping timeout: 240 seconds]
<ollehar> is there a front-end library for js_of_ocaml that helps you create common js stuff like paginating, accordions, etc?
vfoley- has quit [Ping timeout: 264 seconds]
<Drup> well, first solution is to use a js library that do that (let's say, bootstrap)
<Drup> that's not very hard
<Drup> if you want to go with the pure ocaml solution, you will be very welcome to contribute your widget to https://github.com/ocsigen/ojwidgets
<Drup> it's not very featureful *yet* but it's starting to be reasonable.
<Drup> but no accordions
Eyyub has quit [Ping timeout: 264 seconds]
tani has quit [Quit: Verlassend]
tobiasBora has joined #ocaml
<tobiasBora> Bonjour !
<tobiasBora> *Hello !
<tobiasBora> I'm building some libraries which have several ml files, and I would like to pack them in a larger module.
<whitequark> Drup: which part of what?
<Drup> whitequark: lwt ppx
<whitequark> ah
<whitequark> yes :)
<tobiasBora> For example I've the "module" - ModuleA, ModuleB, and i would like to access them with Mylib.ModuleA Mylib.ModuleB
<Drup> tobiasBora: in _oasis, "Pack: true"
<tobiasBora> Drup: And if I'm not using oasis ? (it makes me soo crazy, I decided to use my own Makefile ^^)
<eikke__> has any work been done on exhaustiveness checking in face of GADTs since 4.01?
ggole has quit [Ping timeout: 260 seconds]
<Drup> tobiasBora: your own Makefile, haha
<Drup> -pack to the compiler, irrc
<Drup> eikke__: what do you mean ?
<Drup> there is already an exhaustiveness check for gadts
<ollehar> Drup: thanks for the info!
<eikke__> Drup: let the exhaustiveness checker not warn about missing cases which wouldn't be well-typed anyway
<Drup> it's already the case
<eikke__> Drup: hmh. I have some code here where it warns about missing patterns, but when I fill in those patterns, the type-checker (correctly) complains
rand000 has quit [Quit: leaving]
<Drup> type 'a t = Int : int -> int t | String : string -> string t ;;
<Drup> let f (Int i) = i ;;
<Drup> that doesn't complain
rand000 has joined #ocaml
<eikke__> Drup: https://gist.github.com/NicolasT/be19df589166daaf3b7a, e.g. line 227 (but I'll try to reduce to a smaller example)
<eikke__> run using -w +A
Arsenik has joined #ocaml
Arsenik has quit [Remote host closed the connection]
<tobiasBora> Drup: Thank you ! Actually my Makefile works pretty well for my use ! I'm not sure it's always really proper but I don't see bugs for the moment... With it I have a very modulable website structure (with eliom) : Javascript works, the configuration is really easy to do, the dependencies are detected and included in the right order... I will publish it in a few days if you want to give it a look
<Drup> I don't want to look at a makefile, no
Arsenik has joined #ocaml
dsheets__ has quit [Ping timeout: 252 seconds]
alpounet has quit [Remote host closed the connection]
<tobiasBora> You shouldn't read any makefile to create a new module
<Drup> oh, right
<Drup> eikke__: I think it would deserve a bug report
<eikke__> Drup: I tried to reduce it to a simpler case, but that now works without warnings
<eikke__> maybe the fact recursive modules are used is at play
alpounet has joined #ocaml
<Drup> eikke__: the compiler doesn't give you an example of unmatched value for the exhaustiveness warning ?
<eikke__> it does if you remove the _ pattern 3x
<eikke__> but those don't type-check
ontologiae has joined #ocaml
<eikke__> that's a broken-down case
<eikke__> the first part succeeds
<eikke__> the second part, which mimicks the first, but using recursive modules, breaks (compiler shows an unmatched pattern, but that doens't work)
<eikke__> err hold on, might have made a mistake
<eikke__> ok, made a mistake but it doesnt influence the finding ;)
<eikke__> I updated the gist
ontologiae has quit [Ping timeout: 240 seconds]
<eikke__> I'm confusing myself now :(
alpounet has quit [Remote host closed the connection]
alpounet has joined #ocaml
typedlambda has quit [Ping timeout: 252 seconds]
typedlambda has joined #ocaml
Kakadu has quit [Remote host closed the connection]
alpounet has quit [Ping timeout: 248 seconds]
jprakash has joined #ocaml
<eikke__> Drup: updated one last time
<eikke__> now it tells me to add that T.BB clause, even lets me add it, although I don't understand why it doesn't complain about it
Eyyub has joined #ocaml
<eikke__> I added an extra line to check I can't call S.f with a wrapped T.BB, and that's rejected, as expected
<Drup> indeed, that's weird
<Drup> eikke__: it's the same if you let a and b completly abstract ?
<eikke__> Drup: then the 'demo' thing cant work since B.b (the value) can't exist
<Drup> or just make them really different
<eikke__> but commenting that out, not providing any constructors or alias for A.a and B.b, still lets f type-check
<Drup> ok
<Drup> well, you're good for a bug report :p
<eikke__> if I make A.a and B.b still abstract, but type-alias them to int and string in their respective module, still checks
diethyl has joined #ocaml
<Drup> meh :/
<Drup> it's a quite serious bug
<eikke__> I'll send a mail to the list
<Drup> nah, use the bug tracker
<Drup> guarrigue will see it, and that's all what matter (since he's going to be the one to fix it)
<Drup> (did you checked if it was fixed with 4.02 ?)
Oejet has joined #ocaml
tobiasBora has quit [Quit: Konversation terminated!]
racycle has joined #ocaml
<eikke__> hmh
<eikke__> I'll file a ticket when I get no replies on the mail (didnt see your message before)
<Drup> the bugtracker should be the default way to report bugs
<Drup> whitequark: https://github.com/ocsigen/lwt/pull/63/files#diff-1203af9d5839c76c52e74ef57c947114R195 why "(fun exn -> try raise exn with exn -> exn)" ?
<eikke__> fwiw, 4.03.0+trunk accepts the code as well (dont have a 4.02 around)
<whitequark> Drup: add a location to backtrace
<ollehar> Drup: any tutorials for ojwidgets?
<Drup> it's the only way ?
<whitequark> yes
<Drup> meh
<Drup> double dose of exception handlers, it's not pretty
<Drup> ollehar: I think it's used inside some eliom tutorials
<Drup> the graffiti one for example, I think
<ollehar> thanks, will look
<Drup> ollehar: bear in mind, it's still slightly in beta :p
Arsenik has quit [Remote host closed the connection]
<Drup> ( whitequark : technically, there is a 80 char rule in all ocsigen god )
<Drup> ( I don't fully respect it sometimes, but I try to )
eikke__ has quit [Ping timeout: 264 seconds]
philtor_ has joined #ocaml
<Drup> (the code for the try is atrocious x)
<Drup> (but that's not completely your fault)
darkf has joined #ocaml
<Drup> whitequark: I suppose the "has_wildcard" check is there to ensure that the handler is in the backtrace too ?
<Drup> if so, why isn't only done when !debug is true ?
nrlucaroni has joined #ocaml
lordkryss has joined #ocaml
<Drup> whitequark: https://github.com/ocsigen/lwt/pull/63/files#diff-1203af9d5839c76c52e74ef57c947114R162 : the "cases" can't be empty (if it's empty, then there is no wildcard and you add one)
<Drup> (I'm going to comment on github, it will be cleaner)
<nrlucaroni> Looking at a backtrace that stops at a weird point; the exception is raise from a completely different module. I have some open statements and a functor. I didn't try with anything but 4.01.0 right now, was anyone aware of an issue with that?
<Drup> nrlucaroni: using Async/Lwt ?
<nrlucaroni> :-/ nope
<Drup> then it should work
<nrlucaroni> maybe I don't have the debug on those files? my ocamlbuild _tags has true:debug .
<nrlucaroni> I'll play around with it more.
<nrlucaroni> Oh, is there a reason why the otherlibs ml files are not installed like the rest of the stdlib?
<Drup> they should be installed
<Drup> just not loaded by default
<Drup> just add the relevant module
vfoley- has joined #ocaml
<nrlucaroni> yeah, i see str.ml in the build/ directory in opam, not in lib. i guess that's fine.
tnguyen has quit [Ping timeout: 252 seconds]
<Drup> none of the standard library are in lib/
madroach has quit [Ping timeout: 252 seconds]
<Drup> huh, I mean, they are all under lib/ocaml
<Drup> (and str.cmFOO are there too)
<nrlucaroni> yes that's right. str.ml isn't. everything else is.
madroach has joined #ocaml
<nrlucaroni> err, stdlib ml files are, otherlib ml files are not.
<Drup> ah, I see your issue
<Drup> .ml are not installed like that usually
<Drup> nrlucaroni: you could probably file a bug report about that
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
eikke__ has joined #ocaml
vfoley- has quit [Changing host]
vfoley- has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
<nrlucaroni> yeah I didn't think they were either --any library installation i've written excludes them-- but the others were, so it threw me off.
diethyl has quit [Ping timeout: 248 seconds]