ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.02.1 announcement at http://ocaml.org/releases/4.02.html | Public channel logs at http://irclog.whitequark.org/ocaml
SrPx has joined #ocaml
ygrek has quit [Ping timeout: 255 seconds]
AltGr has joined #ocaml
BitPuffin has quit [Ping timeout: 255 seconds]
uris77 has quit [Quit: leaving]
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
nullcat has joined #ocaml
araujo has quit [Read error: Connection reset by peer]
lambdahands has joined #ocaml
araujo has joined #ocaml
enitiz has quit [Ping timeout: 264 seconds]
oriba_ has quit [Quit: oriba_]
AlexRussia has quit [Ping timeout: 264 seconds]
lambdahands has quit [Ping timeout: 240 seconds]
waneck has quit [Quit: Leaving]
lambdahands has joined #ocaml
reem has quit [Remote host closed the connection]
reem has joined #ocaml
nojb has joined #ocaml
<nojb> how can I pass arguments to ppx preprocessors ?
mahem1 has quit [Ping timeout: 276 seconds]
AlexRussia has joined #ocaml
swgillespie has joined #ocaml
nojb has quit [Quit: nojb]
<whitequark> do you use ocamlfind?
<pippijn> I want int32 to be unboxed on x86_64 :\
reem has quit [Remote host closed the connection]
tnguyen has quit [Quit: tnguyen]
tnguyen has joined #ocaml
tnguyen has quit [Client Quit]
tnguyen has joined #ocaml
tnguyen has quit [Client Quit]
tnguyen has joined #ocaml
tnguyen has quit [Client Quit]
tnguyen has joined #ocaml
tnguyen has quit [Client Quit]
tnguyen has joined #ocaml
tnguyen has quit [Client Quit]
tnguyen has joined #ocaml
<pippijn> why does Lwt.sendto ask for a Bytes.t?
<pippijn> it doesn't modify it
<pippijn> this whole Bytes thing is broken :( why did it happen?
<pippijn> well, Unix.sendto asks for bytes
<pippijn> why?
<pippijn> oh, sendto_substring is for strings
<pippijn> this is ridiculous, if I want an efficient API, I have to implement everything twice
<pippijn> string just became mostly useless
<pippijn> is the whole a.[n] <- b syntax deprecated now?
enitiz has joined #ocaml
<whitequark> yes, it's deprecated
<pippijn> so now we only use Bytes.set
<pippijn> and a.[n] still maps to String.get?
<whitequark> see http://caml.inria.fr/mantis/view.php?id=6706 for rationale
<whitequark> as for sendto asking for bytes, it makes sense
<whitequark> string is for strings, bytes is for buffers of data
<pippijn> ok I see
<whitequark> the only case where this API is inefficient is when you want to send a literal over the wire
<whitequark> which is not really a common occurrence
<pippijn> that's true
<whitequark> (and you can use Bytes.unsafe_of_string if you REALLY care about it)
<whitequark> although actually that's a worse idea than copying it once
<whitequark> let literal = Bytes.of_string literal;; let send fd = Unix.send fd literal
<whitequark> er
<whitequark> let literal = Bytes.of_string "literal";; let send fd = Unix.send fd literal
<pippijn> yeah, well
<pippijn> I thought it was a nice idea to make the packet decoder operate on strings
<pippijn> because they are immutable
<pippijn> and the decoder doesn't mutate them
<pippijn> idea dropped
<pippijn> bytes all the way
<whitequark> you could drop Bytes.set from the environment for the same effect.
q66 has quit [Quit: Leaving]
<whitequark> module Bytes = Immbytes
<pippijn> yes, and blit
<pippijn> and blit_string
<whitequark> yeah
<pippijn> and I don't know what other things might be there now or in the future
<pippijn> so apparently the Lwt in opam expects string, not bytes
rand000 has quit [Quit: leaving]
* pippijn updates opam, hoping for a new version
<pippijn> - lwt.2.4.5
<pippijn> looks like no
<whitequark> 2.4.7
<whitequark> has bytes
<pippijn> yes
<whitequark> # Available packages for 4.02.1:
<whitequark> lwt 2.4.7 A cooperative threads library for OCaml
<pippijn> available-versions: 2.3.2, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7
<pippijn> you're right.. but it's not default?
<pippijn> oh I see
<whitequark> did you run opam upgrade?
<pippijn> "The following would require downgrades or uninstalls"
<whitequark> what does opam upgrade lwt say?
<pippijn> whitequark: ^
<whitequark> right
<whitequark> what does it want to uninstall?
<pippijn> don't know
<pippijn> --verbose does nothing
<whitequark> huh? opam upgrade lwt should say which actions it will perform
<whitequark> always
<pippijn> it doesn't let me perform it
<whitequark> O_o
<whitequark> which opam version do you have?
<pippijn> 1.2.0
<whitequark> is lwt pinned?
<pippijn> how would I check?
<whitequark> opam pin
<pippijn> empty
<pippijn> no output
<whitequark> wtf
<whitequark> try opam install lwt.2.4.7
<pippijn> okay
<pippijn> that will downgrade a bunch of things
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pippijn> all of jane street's stuff
<pippijn> also sodium.. for some reason
<pippijn> I have no idea why
<pippijn> I don't understand most of these downgrades
<whitequark> do you have aspcud installed?
<pippijn> not that I know
<whitequark> try $ aspcud
<pippijn> nope
<whitequark> ah, that's the answer
<whitequark> opam's builtin solver is shite
* pippijn installs aspcud
<pippijn> I'll let it finish its downgrade
lambdahands has quit [Ping timeout: 252 seconds]
<whitequark> oh?
<pippijn> it's doing stuff
<whitequark> that's pointless
<pippijn> I have bad experience with interrupting opam
<whitequark> oh
<whitequark> didn't it ask you whether to proceed with downgrade?
<pippijn> yes, and I said yes
<pippijn> ocamlbuild really needs to get its parallel build fixed
<pippijn> I could be done by now if not only 1 process was compiling at a time
<pippijn> alternatively: get opam to do parallel builds of independent packages
<whitequark> opam can do it
<pippijn> oh yeah, I see
<pippijn> there is install -j
<whitequark> cat .opam/config
<whitequark> jobs: 4
<whitequark> download-jobs: 8
<pippijn> nice
jabesed has joined #ocaml
jabesed has quit [Client Quit]
kapil__ has joined #ocaml
lambdahands has joined #ocaml
lordkryss has quit [Quit: Connection closed for inactivity]
ygrek has joined #ocaml
lambdahands has quit [Ping timeout: 245 seconds]
lambdahands has joined #ocaml
lambdahands has quit [Ping timeout: 245 seconds]
<pippijn> I'm pleasantly surprised by ocaml
<pippijn> decoding 1 million packets, 238 bytes each, takes 2.9 seconds here
<pippijn> 47% of the time is spent in the decryption function (in C)
<pippijn> I wrote the same code in (naive) C++, which takes 2.4 seconds
ygrek has quit [Remote host closed the connection]
jave has joined #ocaml
swgillespie has joined #ocaml
struktured has quit [Ping timeout: 245 seconds]
struktured has joined #ocaml
martintrojer has quit [Ping timeout: 245 seconds]
<pippijn> I wrote the C++ code in a week, and the ocaml code in a day
myyst has quit [Ping timeout: 265 seconds]
myyst has joined #ocaml
martintrojer has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
NoNNaN has joined #ocaml
jao has quit [Ping timeout: 264 seconds]
ygrek has joined #ocaml
lambdahands has joined #ocaml
SrPx has quit [Quit: Page closed]
enitiz has quit [Ping timeout: 244 seconds]
samrat has joined #ocaml
contempt has quit [Ping timeout: 245 seconds]
ebzzry has quit [Remote host closed the connection]
contempt has joined #ocaml
lambdahands has quit [Ping timeout: 264 seconds]
mcc has joined #ocaml
badkins has quit [Remote host closed the connection]
<nullcat> so sad i waste all my time working on my JavaScript homework. I feel like for every line of JavaScript I wrote, i should 10 lines of OCaml to get sane again. sigh
jonludlam has quit [Ping timeout: 265 seconds]
myyst has quit [Ping timeout: 265 seconds]
myyst has joined #ocaml
<frawgie> nullcat: and 10 lines of javascript can be done in 1 line of ocaml? :>
<mcc> Hellos, I am interested in writing a ppx extension, i found whitequark's article which was very helpful, i'm trying to find a reference however which corresponds exactly to what i would get in ocaml 4.02.1.
<mcc> I think the thing to do is just check out the 4.02 sources and then find the MLIs?
<mcc> frawgie: i think rather 10 lines of ocaml can be done in 1 line of javascript, but you won't want to read that one line.
hhugo has quit [Quit: Leaving.]
swgillespie has joined #ocaml
nojb has joined #ocaml
<whitequark> mcc: the article is written against 4.02
<whitequark> well, 4.02.0, but the ppx interfaces did not change between .0 and .1
vanila has joined #ocaml
<mcc> cool
nojb has quit [Ping timeout: 245 seconds]
<mcc> whitequark: i'm at this moment looking at parsetree.mli in the 4.02 source and trying to figure out what Ppat would be for, say, the expression a - z
<mcc> whitequark I wound up in there because the existing source for sedlex had Ppat_or (p1, p2) -> Sedlex.alt (aux p1) (aux p2)
<whitequark> Ppat is for "Parsetree pattern"
<whitequark> thus it does not correspond to any expression :D
<whitequark> an example of Ppat_or would be...
<whitequark> match x with (1 | 2) -> ...
hhugo has joined #ocaml
<mcc> yeah, i know
<mcc> that is one of the defined things in sedlex
<mcc> so i'm trying to add -
<mcc> oh!
<mcc> wait.
<mcc> - is not legal in a pattern expression.
<whitequark> exactly
<mcc> therefore it will not be in parsetree.mli.
<mcc> hm
<whitequark> remind me, what does - do?
<whitequark> subtract?
<mcc> subtract
nojb has joined #ocaml
<whitequark> then do something like Sub (p1, p2)
<mcc> yeah.
<whitequark> there are already things like Compl in sedlex
<nojb> whitequark: yes, using ocamlfind, how do i pass arguments to ppx ?
<whitequark> nojb: -ppxopt PKGNAME,-opt,val,...
<mcc> tell me if i have this right: - is impossible in concept because ppx transforms ASTs to ASTs and the AST is specific enough that minus would never be allowed inside of a match expression...?
<nojb> thanks!
<whitequark> mcc: simpler
<whitequark> - is not valid syntax in patterns
<mcc> ok sure
<whitequark> it doesn't really matter whether there is ppx or not
<whitequark> since ppx doesn't add any syntax apart from extension nodes/attributes ([%x]/[@x])
<mcc> and the %x can reshape the asts but it can't make something that wasn't a valid ast before. ok.
<whitequark> the inside of extension/attribute node is a valid expression, pattern or structure item, yes
<whitequark> er
<whitequark> type, pattern or structure item
<mcc> so i guess what i'm looking for is Lident "Sub" followed by a Ppat_tuple
<whitequark> no
<whitequark> Ppat_constr ({ txt = Lident "Sub" }, [p1; p2])
<mcc> p1 and p2 are thus my two arguments?
<mcc> can you help me understand how you knew that it would be that particular structure followed by a list?
alkoma has joined #ocaml
<mcc> and come to think of it, um, which structure is that? this is why i don't use open D:
MercurialAlchemi has joined #ocaml
<mcc> Location.loc ?
<whitequark> yes, p1 and p2 are your arguments
<whitequark> I, uh ... just knew. I kinda wrote a lot of ppx code
<whitequark> but, if you want to know too, you can use Pprintast
<mcc> ok
<mcc> what is Pprintast?
<whitequark> errr, sorry, not Pprintast
<mcc> normally my way of getting my orientation here would be Merlin
<mcc> but in the presence of ppx, Merlin keeps abandoning me
<whitequark> ok, so, open utop
<whitequark> #require "ppx_tools.metaquot";;
<whitequark> [%pat? Sub (p1, p2)];;
<whitequark> you'll see what it amounts to
<mcc> oh thank GOODNESS.
<whitequark> that is a lot of output as you can see, there is a module in compiler-libs that gives you a shorter form
<mcc> sorry, that re merlin-ppx
<mcc> what's the # mean in context of a git url? branch?
<whitequark> any reference
<whitequark> branch, tag, commit
<flux> does git itself support those urls, though?
<flux> a few years back it didn't..
<whitequark> what would git do with such an url?
<flux> well, perhaps upon checkout it would checkout to that particular reference
<flux> for example: you have a build server that retrieves git://..#bleh
<whitequark> huh?
<flux> (but the integration system we used supported those #references itself)
<whitequark> do you mean clone?
<flux> ah, yes
<mcc> maybe hg-git could treat it as the equivalent of an -r argument on clone.
<mcc> i don't know how git is used.
<whitequark> it could be useful, but I don't think git does this currently
<whitequark> git-clone switches to the contents of remote HEAD
girrig has joined #ocaml
nojb has quit [Quit: nojb]
booly-yam-6137 has quit [Ping timeout: 256 seconds]
matason has joined #ocaml
Kakadu has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
larhat has joined #ocaml
swgillespie has joined #ocaml
Haudegen has quit [Ping timeout: 264 seconds]
Haudegen has joined #ocaml
matason has quit [Ping timeout: 252 seconds]
nojb has joined #ocaml
nojb has quit [Client Quit]
AlexRussia has quit [Ping timeout: 245 seconds]
badkins has joined #ocaml
ollehar has joined #ocaml
badkins has quit [Ping timeout: 252 seconds]
alkoma has quit [Ping timeout: 244 seconds]
dsheets has quit [Ping timeout: 245 seconds]
jneen is now known as jneen|zzz
samrat has quit [Quit: Computer has gone to sleep.]
jneen|zzz is now known as jneen
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matason has joined #ocaml
samrat has joined #ocaml
matason has quit [Client Quit]
<tcpc> does the compilator transform every recursive function in a tail-recursive function?
booly-yam-6137 has joined #ocaml
<dmbaturin> tcpc: No, it doesn't.
<tcpc> is there a rule?
<tcpc> (or every recursive function will be just recursive and not tail-rec because of the compilator?)
<dmbaturin> If it's in tail position, it does get optimized. You can check in 'ocamlc -annot' output if you doubt if yours were tail recursive.
<tcpc> thanks
<tcpc> last question : how do you tell to ocamlc "hey, link me str.cma to my program plz"?
<dmbaturin> ocamlc str.cma file.ml
<tcpc> thanks
mcc has quit [Quit: This computer has gone to sleep]
<tcpc> hm, why 'ocamlc -annot' return me nothing?
<dmbaturin> Didn't product a .annot file?
<dmbaturin> * produce
<tcpc> oups, i didn't understand the process :-°
<tcpc> that's work, thx
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ygrek_ has joined #ocaml
ygrek has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 245 seconds]
lambdahands has joined #ocaml
hhugo has quit [Quit: Leaving.]
lordkryss has joined #ocaml
lambdahands has quit [Ping timeout: 255 seconds]
ggole has joined #ocaml
nonuby has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
vodkaInf1rno has joined #ocaml
vodkaInferno has quit [Read error: Connection reset by peer]
alkoma has joined #ocaml
nonuby has quit [Ping timeout: 245 seconds]
matason has joined #ocaml
dsheets has joined #ocaml
alkoma has quit [Ping timeout: 264 seconds]
Submarine has quit [Remote host closed the connection]
nonuby has joined #ocaml
nonuby has joined #ocaml
chinglish has joined #ocaml
govg has joined #ocaml
darkf has quit [Quit: Leaving]
mort___ has joined #ocaml
ygrek_ has quit [Ping timeout: 240 seconds]
ebzzry has joined #ocaml
alkoma has joined #ocaml
Haudegen has quit [Ping timeout: 246 seconds]
emias has joined #ocaml
Haudegen has joined #ocaml
alkoma has quit [Ping timeout: 276 seconds]
AltGr has left #ocaml [#ocaml]
alkoma has joined #ocaml
yomimono has joined #ocaml
siddharthv_away is now known as siddharthv
samrat has quit [Ping timeout: 265 seconds]
alkoma has quit [Ping timeout: 272 seconds]
oscar_toro has joined #ocaml
oscar_toro has quit [Read error: Connection reset by peer]
octachron has joined #ocaml
oscar_toro has joined #ocaml
psy_ has joined #ocaml
psy_ has quit [Max SendQ exceeded]
psy_ has joined #ocaml
ebzzry has quit [Remote host closed the connection]
mort___ has quit [Quit: Leaving.]
ebzzry has joined #ocaml
Simn has joined #ocaml
govg has quit [Ping timeout: 264 seconds]
govg has joined #ocaml
nonuby has quit [Ping timeout: 244 seconds]
govg has quit [Ping timeout: 245 seconds]
govg has joined #ocaml
govg is now known as Guest93143
booly-yam-6137 has quit [Ping timeout: 264 seconds]
alkoma has joined #ocaml
alkoma has quit [Ping timeout: 255 seconds]
dario_ has joined #ocaml
booly-yam-6137 has joined #ocaml
ocp has joined #ocaml
zwer_e has joined #ocaml
zwer has quit [Ping timeout: 250 seconds]
larhat has quit [Ping timeout: 240 seconds]
larhat has joined #ocaml
larhat has quit [Ping timeout: 240 seconds]
antegallya has joined #ocaml
kalzz has quit [Ping timeout: 245 seconds]
larhat has joined #ocaml
alkoma has joined #ocaml
larhat has quit [Ping timeout: 265 seconds]
alkoma has quit [Ping timeout: 264 seconds]
kalzz has joined #ocaml
troydm has joined #ocaml
vanila has quit [Quit: Leaving]
oriba has joined #ocaml
dsheets has quit [Ping timeout: 245 seconds]
ohama has quit [Ping timeout: 265 seconds]
matason has quit [Ping timeout: 264 seconds]
Haudegen has quit [Ping timeout: 276 seconds]
Haudegen has joined #ocaml
alkoma has joined #ocaml
NoNNaN has quit [Ping timeout: 250 seconds]
<chris2> why does corebuild compile both .cmo and .cmx for a .native build? shouldnt .cmx be enough?
<whitequark> I think it builds .cmo as a side effect of building a .cmi
<chris2> can i make it not build a cmi if my program is in a single file?
alkoma has quit [Ping timeout: 246 seconds]
enitiz has joined #ocaml
ski has quit [Ping timeout: 252 seconds]
<whitequark> why does it bother you?
_5kg has quit [Ping timeout: 276 seconds]
Guest93143 has quit [Quit: leaving]
mort___ has joined #ocaml
asmanur has joined #ocaml
jonludlam has joined #ocaml
matason has joined #ocaml
rand000 has joined #ocaml
enitiz has quit [Ping timeout: 252 seconds]
ohama has joined #ocaml
uris77 has joined #ocaml
psy_ has quit [Quit: Leaving]
alkoma has joined #ocaml
alkoma has quit [Ping timeout: 264 seconds]
_5kg has joined #ocaml
Hannibal_Smith has joined #ocaml
hhugo has joined #ocaml
hhugo1 has joined #ocaml
hhugo has quit [Read error: Connection reset by peer]
jonludla` has joined #ocaml
hhugo1 has quit [Read error: Connection reset by peer]
hhugo has joined #ocaml
kalzz has quit [Ping timeout: 245 seconds]
Hannibal_Smith has quit [Quit: Leaving]
jonludlam has quit [Ping timeout: 264 seconds]
lordkryss has quit [Quit: Connection closed for inactivity]
hhugo1 has joined #ocaml
hhugo has quit [Read error: Connection reset by peer]
reem has joined #ocaml
hhugo1 has quit [Read error: Connection reset by peer]
hhugo has joined #ocaml
lambdahands has joined #ocaml
jonludla` is now known as jonludlam
ebzzry has quit [Remote host closed the connection]
mort___ has quit [Quit: Leaving.]
BitPuffin has joined #ocaml
kalzz has joined #ocaml
ebzzry has joined #ocaml
lambdahands has quit [Ping timeout: 265 seconds]
hhugo1 has joined #ocaml
hhugo has quit [Read error: Connection reset by peer]
hhugo has joined #ocaml
hhugo1 has quit [Read error: Connection reset by peer]
myst|work has quit [Quit: Lost terminal]
reem has quit [Remote host closed the connection]
enitiz has joined #ocaml
zozozo has joined #ocaml
struktured has quit [Ping timeout: 245 seconds]
myst|work has joined #ocaml
alkoma has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
hhugo1 has joined #ocaml
hhugo has quit [Read error: Connection reset by peer]
malc_ has joined #ocaml
alkoma has quit [Ping timeout: 252 seconds]
badkins has joined #ocaml
matason has quit [Ping timeout: 245 seconds]
antegallya has quit [Ping timeout: 245 seconds]
george___ has joined #ocaml
psy_ has joined #ocaml
<jonludlam> hi all. When packaging ocaml libraries for distros, the usual advice has been to include .mli files in the dev package. With the existence of .cmt/cmti, is that still best practice?
<Drup> yes
<jonludlam> I ask because the opam install doesn't install them
<Drup> opam install doesn't do anything more than what the package is doing
<jonludlam> that is, when packaging opam, the 'opam-lib' ocamlfind package doesn't have the .mli files installed
<Drup> bug report :p
pyon has quit [Ping timeout: 245 seconds]
booly-yam-6137 has quit [Ping timeout: 255 seconds]
hhugo1 has quit [Quit: Leaving.]
lambdahands has joined #ocaml
booly-yam-6137 has joined #ocaml
<flux> holy cow, 1953 issues, but of course each pull request for each new packet is an issue..
<Drup> flux: not on this repository
<Drup> new packets are on another repository
slash^ has joined #ocaml
<Drup> and it's at 3400+
pyon has joined #ocaml
<flux> soo, how come 1953 issues?-)
<flux> it's just that busy?
<Drup> flux: AltGr uses the model "do a PR for a new feature and merge it"
<flux> well, 1953 features is an impressive number.. P)
<flux> s/P/:/
<Drup> well, there are also bugs :D
<flux> well, let's say 50/50, still impressive :)
reem has joined #ocaml
dario_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
booly-yam-6137 has quit [Ping timeout: 256 seconds]
kapil__ has quit [Quit: Connection closed for inactivity]
mort___ has joined #ocaml
octachron has quit [Quit: Leaving]
malc_ has quit [Quit: leaving]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
mort___ has quit [Quit: Leaving.]
matason has joined #ocaml
dsheets has joined #ocaml
<dbp> What do people recommend for parsing date/time stamps? Is there a way to do this with CalendarLib (I noticed printing, but didn't see parsing)
<Drup> there are parsing functions in calendar
<Drup> (in the module "Printer" ...)
<companion_cube> ...
oscar_toro has quit [Ping timeout: 265 seconds]
<companion_cube> also, the exception Undefined here http://calendar.forge.ocamlcore.org/doc/Date_sig.S.html is funny
<flux> :)
<flux> I bet you're going to handle that
<flux> perhaps better would be exception Out_of_bounds of why
<flux> ..but these things are a bit difficult in OCaml to add afterwards, you end up breaking existing code
<companion_cube> exception AreYouFromThePast
<def`> hmm, calendar is doing a good job at handling date, but I find the interface awful
<def`> (but I never try to find a better one :P)
<dbp> Drup: ahh - from_fstring. Thanks! I was searching for something with the word 'parse' :)
<flux> yes, it needs some setting up first
<companion_cube> https://www.youtube.com/watch?v=rksCTVFtjM4 maybe, longer
<flux> I suppose it's somewhat complete, though
<Drup> def`: I agree
<def`> AND dangerous, dynamic scoping of timezone…
<Drup> def`: but handling dates is such an awful job that reemplementing it is more painful than using calendar =')
<def`> exactly ;)
<companion_cube> can't wait for ezcalendar :>
<Drup> rgrinberg, you have a mission :D
<companion_cube> Drup: you can also fork it with a better interface, I guess
<companion_cube> (cccalendar ;)
<Drup> :D
MrScout has joined #ocaml
<Drup> dsheets: I feel like you have ten priorities at any given time :D
<dsheets> Drup, it's getting painful but opamfu/opam2web are what i'm on tonight
<Drup> (I'm joking but I tend to be the same ._.)
<companion_cube> drup-priority-queue.native
<dsheets> i didn't intend to get to this state... it's just the result of contributions to random things that other people dislike and a lot of project ideas :-/
<Drup> yeah
booly-yam-6137 has joined #ocaml
<companion_cube> Drup: are you stalking dsheets?
<Drup> not on purpose
<dsheets> github is violatin me privates!
<rks`> :D
<Drup> x)
<adrien_znc> definitely!
<companion_cube> but gforges' violatin my eyes
<adrien_znc> good thing you know how to do CSS
<dsheets> it's better than C violatin your segments, i suppose
<companion_cube> 1/ I don't know CSS 2/ it's the whole way the interface is organized
<companion_cube> that said, I was happy the doc for calendar was actually linked
<adrien_znc> I never said you knew CSS
<adrien_znc> I only meant you could ask Drup repeatedly until he answers how to do X in CSS :P
psy_ has quit [Quit: Leaving]
<companion_cube> heh.
<companion_cube> also, anyone tried odate rather than calendar?
tane has joined #ocaml
yomimono has quit [Ping timeout: 256 seconds]
swgillespie has joined #ocaml
swgillespie has quit [Client Quit]
Haudegen has quit [Ping timeout: 264 seconds]
george___ has quit [Quit: Page closed]
Haudegen has joined #ocaml
swgillespie has joined #ocaml
swgillespie has quit [Client Quit]
WraithM has joined #ocaml
NoNNaN has joined #ocaml
alkoma has joined #ocaml
WraithM has quit [Read error: Connection reset by peer]
Submarine has joined #ocaml
ocp has quit [Ping timeout: 245 seconds]
Tekk_` has joined #ocaml
q66 has joined #ocaml
Tekk_` has quit [Ping timeout: 265 seconds]
Denommus has joined #ocaml
<Denommus> hm, ocamlfind can't find camlp4
<Denommus> I installed both from my system's package manager
hhugo has joined #ocaml
lostman_ has quit [Quit: Connection closed for inactivity]
chinglish has quit [Quit: Nettalk6 - www.ntalk.de]
<Denommus> ...
ski has joined #ocaml
reem has quit [Remote host closed the connection]
psy_ has joined #ocaml
reem has joined #ocaml
Simn is now known as simnus
reem has quit [Remote host closed the connection]
<struk|work> Denommus: opam is recommmended install method if possible
hhugo has quit [Ping timeout: 264 seconds]
Denommus has quit [Ping timeout: 265 seconds]
SylvainK has joined #ocaml
reem has joined #ocaml
ygrek has joined #ocaml
Denommus has joined #ocaml
MrScout_ has joined #ocaml
MrScout has quit [Ping timeout: 245 seconds]
lyxia has quit [Ping timeout: 252 seconds]
lyxia has joined #ocaml
lyxia has quit [Ping timeout: 255 seconds]
lyxia has joined #ocaml
govg has joined #ocaml
Hannibal_Smith has joined #ocaml
samuel02 has joined #ocaml
samuel02 has quit [Remote host closed the connection]
lyxia has quit [Ping timeout: 265 seconds]
MrScout_ has quit [Remote host closed the connection]
lyxia has joined #ocaml
MrScout has joined #ocaml
Denommus` has joined #ocaml
lyxia has quit [Ping timeout: 245 seconds]
Denommus has quit [Ping timeout: 245 seconds]
booly-yam-6137 has quit [Ping timeout: 246 seconds]
slash^ has quit [Read error: Connection reset by peer]
Denommus` has quit [Ping timeout: 264 seconds]
siddharthv is now known as siddharthv_away
ggole has quit []
lyxia has joined #ocaml
oscar_toro has joined #ocaml
lyxia has quit [Ping timeout: 252 seconds]
lyxia has joined #ocaml
SylvainK has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
bobry has joined #ocaml
jwatzman|work has joined #ocaml
NoNNaN has quit [Ping timeout: 250 seconds]
lyxia has quit [Ping timeout: 246 seconds]
wwilly has joined #ocaml
lyxia has joined #ocaml
matason has quit [Ping timeout: 245 seconds]
arj has joined #ocaml
Anarchos1 has joined #ocaml
lyxia has quit [Remote host closed the connection]
lyxia has joined #ocaml
Denommus has joined #ocaml
lyxia has quit [Ping timeout: 265 seconds]
ygrek has quit [Ping timeout: 264 seconds]
lyxia has joined #ocaml
tane has quit [Remote host closed the connection]
reem has quit [Remote host closed the connection]
endiruna has joined #ocaml
<endiruna> in this code http://ideone.com/LPtQpv End is never printed. what should be the correct syntax?
<Anarchos1> endiruna let me look
Hannibal_Smith has quit [Quit: Leaving]
swgillespie has joined #ocaml
<Anarchos1> endiruna | _ -> print_endline "many"; print_endline "End" is interpreted as | _ -> begin print_endline "many"; print_endline "End" end
<Anarchos1> endiruna that's why it is never printed
<Anarchos1> endiruna it is a weird behaviour of the ";" in presence of pattern matching.
<Anarchos1> endiruna that's why i always put begin/end or "(" / ")" around pattern matching
mort___ has joined #ocaml
<endiruna> i see! thanks
lyxia has quit [Ping timeout: 252 seconds]
<endiruna> can someone do matching outside the match enviroment? for example if t = Node(x,[]) then ...
<endiruna> say x is defined as 1
<endiruna> so if t = Node(1,[]) then .....
lyxia has joined #ocaml
oscar_toro has quit [Ping timeout: 252 seconds]
<Anarchos1> endiruna « match t with Node(1,[]) » you mean ?
Denommus` has joined #ocaml
Denommus has quit [Ping timeout: 264 seconds]
lyxia has quit [Ping timeout: 246 seconds]
Denommus` has quit [Ping timeout: 264 seconds]
ygrek has joined #ocaml
<endiruna> Anarchos1: but i thought that the compiler would complain if not all the possibilities are possible
<endiruna> but I was wrong
<endiruna> actually i tried some examples and the compiler gives the warning not exhaustive
<Anarchos1> endiruna ocamlc is smarter than many compiler in the pattern matching field :)
Anarchos1 has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bytbox has quit [Remote host closed the connection]
govg has quit [Ping timeout: 264 seconds]
govg has joined #ocaml
ollehar has joined #ocaml
Denommus has joined #ocaml
lyxia has joined #ocaml
lyxia has quit [Ping timeout: 252 seconds]
badon has quit [Quit: Leaving]
Denommus` has joined #ocaml
lyxia has joined #ocaml
Denommus has quit [Ping timeout: 240 seconds]
Denommus` has quit [Ping timeout: 276 seconds]
Hannibal_Smith has joined #ocaml
lyxia has quit [Ping timeout: 244 seconds]
ygrek has quit [Remote host closed the connection]
ygrek_ has joined #ocaml
lyxia has joined #ocaml
badon has joined #ocaml
lyxia has quit [Ping timeout: 272 seconds]
Denommus has joined #ocaml
antegallya has joined #ocaml
enquora has joined #ocaml
antegallya has quit [Client Quit]
bytbox has joined #ocaml
endiruna has quit [Ping timeout: 265 seconds]
badon has quit [Write error: Connection reset by peer]
zwer_e has quit [Write error: Connection reset by peer]
zwer has joined #ocaml
enquora has quit [Remote host closed the connection]
MrScout_ has joined #ocaml
jonludlam has quit [Quit: Coyote finally caught me]
MrScout has quit [Ping timeout: 245 seconds]
reem has joined #ocaml
reem has quit [Read error: Connection reset by peer]
reem has joined #ocaml
bytbox has quit [Ping timeout: 245 seconds]
ygrek_ has quit [Remote host closed the connection]
reem has quit [Read error: Connection reset by peer]
ygrek_ has joined #ocaml
reem has joined #ocaml
NoNNaN has joined #ocaml
Kakadu has quit [Remote host closed the connection]
eventualbuddha_ is now known as eventualbuddha
lyxia has joined #ocaml
reem has quit [Ping timeout: 246 seconds]
arj has quit [Quit: Leaving.]
oriba has quit [Quit: oriba]
reem has joined #ocaml
reem has quit [Read error: Connection reset by peer]
reem has joined #ocaml
reem has quit [Read error: Connection reset by peer]
reem has joined #ocaml
ygrek_ has quit [Ping timeout: 246 seconds]
lyxia has quit [Ping timeout: 245 seconds]
reem has quit [Read error: Connection reset by peer]
reem has joined #ocaml
pyon has quit [Quit: restart]
pyon has joined #ocaml
struktured has joined #ocaml
wwilly has left #ocaml ["Leaving"]
reem has quit [Read error: Connection reset by peer]
reem has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 264 seconds]
lyxia has joined #ocaml
mort___ has quit [Quit: Leaving.]
reem has quit [Read error: Connection reset by peer]
reem has joined #ocaml
reem_ has joined #ocaml
reem has quit [Read error: Connection reset by peer]
jao has quit [Ping timeout: 252 seconds]
lyxia has quit [Ping timeout: 246 seconds]
Thooms has joined #ocaml
bobry has quit [Quit: Connection closed for inactivity]
uris77 has quit [Quit: leaving]
reem_ has quit [Read error: Connection reset by peer]
reem has joined #ocaml
Hannibal_Smith has quit [Quit: Leaving]
lambdahands has quit [Ping timeout: 264 seconds]
MrScout_ has quit [Remote host closed the connection]
lyxia has joined #ocaml
MrScout has joined #ocaml
badon has joined #ocaml
lyxia has quit [Ping timeout: 246 seconds]
ebzzry has quit [Remote host closed the connection]
myyst has quit [Read error: Connection reset by peer]
lyxia has joined #ocaml
lyxia has quit [Ping timeout: 265 seconds]
darkf has joined #ocaml
lambdahands has joined #ocaml
lyxia has joined #ocaml
rand000 has quit [Quit: leaving]
lyxia has quit [Ping timeout: 240 seconds]
milosn has quit [Ping timeout: 255 seconds]
lyxia has joined #ocaml
milosn has joined #ocaml