adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org and http://caml.inria.fr | http://ocaml.org/releases/4.02.0.html | Public channel logs at http://irclog.whitequark.org/ocaml
<oriba> gasche, you wrote: "on my test file, just sharing strings by caching them in a hashtable divided memory usage by 2 when using Csv.load"
<oriba> can you explain me this, or show some code?
<oriba> A hash is a key-value store... so I would use it to look up an item by key
<oriba> how do you use it sto save memory usage?
<oriba> hmhhh, when data has multiple strings with same contents... hmhhh...
manizzle has quit [Quit: Leaving]
manizzle has joined #ocaml
Simn has quit [Quit: Leaving]
manizzle has quit [Client Quit]
manizzle has joined #ocaml
shinnya has joined #ocaml
johnelse has quit [Quit: leaving]
bezirg has quit [Ping timeout: 246 seconds]
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 246 seconds]
oriba has quit [Quit: oriba]
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 258 seconds]
ygrek has joined #ocaml
badkins has quit []
[zedascouves] has joined #ocaml
[zedascouves] has quit [Ping timeout: 260 seconds]
bytbox has quit [Remote host closed the connection]
rgrinberg1 has quit [Quit: Leaving.]
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 260 seconds]
rgrinberg has joined #ocaml
axiles has joined #ocaml
philtom has joined #ocaml
waneck_ has joined #ocaml
waneck has quit [Ping timeout: 260 seconds]
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 240 seconds]
__w_a_n_e_c_k__ has joined #ocaml
waneck_ has quit [Ping timeout: 244 seconds]
__w_a_n_e_c_k__ has quit [Read error: Connection reset by peer]
rand000 has quit [Quit: leaving]
ygrek has quit [Ping timeout: 272 seconds]
MercurialAlchemi has joined #ocaml
keen____ has joined #ocaml
keen___ has quit [Ping timeout: 246 seconds]
taion809 has quit [Ping timeout: 258 seconds]
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 258 seconds]
philtom has quit [Ping timeout: 246 seconds]
philtom has joined #ocaml
thetabyte has quit [Quit: Leaving.]
philtom has quit [Ping timeout: 245 seconds]
morphles has joined #ocaml
Kakadu has joined #ocaml
ygrek has joined #ocaml
rgrinberg has left #ocaml [#ocaml]
mcclurmc has joined #ocaml
darkf_ has joined #ocaml
darkf has quit [Disconnected by services]
darkf_ is now known as darkf
mcclurmc has quit [Ping timeout: 260 seconds]
yacks has quit [Quit: Leaving]
tane has joined #ocaml
ygrek has quit [Ping timeout: 258 seconds]
sinelaw has joined #ocaml
mort___ has joined #ocaml
jc1 has joined #ocaml
jc1 has left #ocaml [#ocaml]
lordkryss has joined #ocaml
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 260 seconds]
yacks has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
Simn has joined #ocaml
mort___ has quit [Quit: Leaving.]
tani has joined #ocaml
tane has quit [Ping timeout: 250 seconds]
Submarine has quit [Read error: Connection reset by peer]
hhugo has joined #ocaml
eugene_klm has joined #ocaml
mcclurmc has joined #ocaml
ggole has joined #ocaml
mcclurmc has quit [Ping timeout: 246 seconds]
marynate has joined #ocaml
q66[lap] has quit [Ping timeout: 250 seconds]
<whitequark> Drup: so I'm looking to update findlib now to allow for ppx drivers
<whitequark> Gerd's suggestion of archive(ppx) = "./whatever.cma" doesn't take into account the fact that there could be several ppx loaded...
q66 has joined #ocaml
zpe has joined #ocaml
ddosia1 has quit [Ping timeout: 240 seconds]
<dmbaturin> Is it possible to write a nontrivial function with 'a -> 'a signature? :)
pminten has joined #ocaml
srcerer_ has joined #ocaml
srcerer has quit [Ping timeout: 272 seconds]
<axiles> dmaturbin: if you can have side effects, yes
Kakadu has quit [Quit: Konversation terminated!]
<axiles> dmbaturin
<axiles> on a purely functional programming, I d'ont think there are any other functions beside the identity function
ddosia has joined #ocaml
<whitequark> I wonder how would one go at proving that 'a -> 'a has an unique inhabitant
<axiles> whitequark: in a formal context, for example System F, I think we can prove that the only normal closed term M of type \forall a . a -> a, is the identity function \lambda x . x
<whitequark> axiles: yes, sure, but how?
<nicoo> axiles: Even with side effects, if you don't have something aking to ocaml-ty, I don't see how you would do it.
<whitequark> nicoo: well, it would just return its argument, and do something else.
<axiles> nicoo: let f x = print_endline "Hello World"; x
<dmbaturin> But side effects are not fun.
<nicoo> Yes, I didn't think of side-channels
<ggole> There's always variations on let id x = (fun _ -> x) ()
<ggole> Is that "the same"?
* nicoo was trying to think of a function which doesn't (always) return x when fed x.
<whitequark> nicoo: you can do that too.
<nicoo> ggole: Sure, it normalises to the same thing.
<axiles> whitequark: In System F, ssume we have a close normal term M of type \forall a . a -> a
<nicoo> whitequark: I'm pretty sure I can, but I don't find how (without run-time type information)
<whitequark> nicoo: let x = ref None;; let f y = match !x with Some z -> z | None -> x := y; y
<dmbaturin> Suppose there's more than one 'a -> 'a functions. Then composition of those functions is 'a -> 'a too.
<marynate> hi, newbie try to build OCaml on windows (VC toolchain) but got error: make[1]: Entering directory '/cygdrive/e/dev/tools/OCaml/ocaml-4.02.0/byterun'
<marynate> flexlink -merge-manifest -stack 16777216 -exe -o ocamlrun.exe prims.obj ws2_32.lib \
<marynate> libcamlrun.lib
<marynate> ** Fatal error: Cannot find file "ws2_32.lib"
<ggole> And there's nontermination, too
<ggole> let id x = if Random.bits () = 0 then infloop () else x
<whitequark> indeed
<marynate> ooop, sorry for mess up ur coversation
<nicoo> whitequark: I thought of it, but this isn't of type 'a. 'a -> 'a
<axiles> By the fact that M is normal it is othe the form \lambda x . x of x M_1 ... M_n.
<dmbaturin> marynate: It's fine.
<ggole> I suppose the purists would argue that nontermination is an effect.
<gasche> yes!
<axiles> By the fact that M is closed, M is of the form \lambda x . M_1
<whitequark> nicoo: oh, right, value restriction
<ggole> axiles: so "unique" refers to a class of programs, not a single program
<axiles> ggole: modulo beta-equivalence
<nicoo> whitequark: Yes, this would definitely be unsound :3
<gasche> in a pure lambda-calculus, each term has an equivalent beta-short, eta-long normal form
<ggole> Right, I suppose that's inevitable, can't really rule out various encodings of the same thing
<whitequark> axiles: hmmm
<gasche> you can prove that (forall a . a -> a) is uniquely inhabited by a direct syntactic search
<axiles> correction: By the fact that M is normal it is othe the form \lambda x . M_1 of x M_1 ... M_n.
<gasche> in the space of beta-short, eta-long normal forms
<axiles> from here you can continue the proof
<whitequark> axiles: gotcha!
<gasche> namely, the normal constructor of (forall a. ...) is (Lambda . ..), the normal constructor of (a -> ...) is (fun (x:a) -> ...), and at this point there is a single possible way to prove (a) in context (x : a), which is to use (x).
<gasche> (parametricity is another way to prove this but it is more complex)
ysz has joined #ocaml
<gasche> You might need ws2_32.lib to compile some libraries. You can find this in some of the free development packages from Microsoft.
<gasche> "
<gasche> (funny how incredibly crappy Windows tech advice on the web can be; http://pcsupport.about.com/od/findbyerrormessage/a/ws2_32-dll-not-found-missing-error.htm )
<whitequark> >about.com
mcclurmc has joined #ocaml
<gasche> marynate: I would try something like http://www.microsoft.com/en-us/download/details.aspx?id=8279
<ggole> s/Windows tech //
<gasche> well if you google for random linux issues, you don't get this kind of crap
<gasche> this one was basically "you're missing a .dll file? run a lot of malware scanners, *then* reinstall your OS from scratch!"
<marynate> gasche, thanks for ur help. I do got ws2_32.lib in "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib"
<gasche> (but first check that it's not in the trashbin, duh)
<marynate> the problem is that flexlink or the build system can't find it
<Leonidas> I am trying to use cohttp from ocamlbuild, but somehow I fail:
<Leonidas> _tags: <src/*.ml{,i}>: package(pkg_cohttp.lwt)
<Leonidas> ocamlbuild -use-ocamlfind deploy.byte
<Leonidas> Error: Unbound module Cohttp_lwt_unix
<gasche> maybe the _tags pattern is too restrictive, does using "true: " instead fixes the problem?
<Leonidas> gasche: oh, right. Thanks. I also removed the "pkg_" prefix
<Leonidas> now it works.
<gasche> ah yeah
<gasche> it's package(name)
mcclurmc has quit [Ping timeout: 245 seconds]
<gasche> one reason why <*.ml> would not be a good pattern is that you also need package() when linking (so going from some *.cmo to a *.byte)
<gasche> on the other hand, if only module Foo needs Cohttp, then <src/foo.*> should work
<gasche> marynate: I don't know about Windows tools, so I'll give up on that one, sorry
<gasche> (note that there is a prepackaged Windows installer that is supposed to work, but I suppose you have a reason for building OCaml manually)
<marynate> gasche, no worry, thanks anyway! Actually I'm building haxe which asking MSVC version of OCaml, and I can only find installers for MingW/Cygwin, so...
<dmbaturin> Speaking of the installers, I was going to verify the ocaml.org/install instruction for OS X and send a pull request. Time to do that.
<Leonidas> gasche: thanks for the hint
<Leonidas> currently fighting with cohttp, which seems to have changed massively between release and git version, same for conduit.
ygrek has joined #ocaml
bezirg has joined #ocaml
ontologiae has joined #ocaml
hhugo has quit [Quit: Leaving.]
tani has quit [Quit: Verlassend]
<Leonidas> https://gist.github.com/Leonidas-from-XIV/ba92b16d5626ec74b543 - it says `callback` wasn't found, but I don't use `callback` anwhere
<Leonidas> how to explain this?
<ggole> Leonidas: the error is claimed to be in deploy.ml, which is not in your gist.
mbac has joined #ocaml
<Leonidas> ggole: sorry, deploy.ml is callback.ml in my gist. I just misnamed it.
<Leonidas> (fixed)
<ggole> I see: but you use Server.callback in line 6
<Leonidas> I can define a `callback` and then it works, but I don't know where it is being used.
<Leonidas> ggole: yes, but if that wouldn't exist it would complain about `Server.callback`, not `callback`
mcclurmc has joined #ocaml
<ggole> Hmm, might still be worth checking out
<ggole> ie, replace that temporarily with Server.callback = assert false;
<ggole> Particularly since the error message references that line
<Leonidas> here's something that compiles: https://gist.github.com/Leonidas-from-XIV/ba92b16d5626ec74b543
jbj has joined #ocaml
<ggole> I suspect it is due to the record shortcut syntax
Kakadu has joined #ocaml
<ggole> Assign Server.callback an explicit value and it will probably go away.
mcclurmc has quit [Ping timeout: 258 seconds]
<ggole> That is, I think the shortcut syntax is desugared as { Server.callback = callback; ... }, and callback of course isn't bound - the fix would be to rewrite it explicitly as { Server.callback = Server.callback; ...} (assuming that is what you want).
slash^ has joined #ocaml
oscar_toro has joined #ocaml
hhugo has joined #ocaml
jave_ has quit [Ping timeout: 240 seconds]
slash^ has quit [Read error: Connection reset by peer]
jc1 has joined #ocaml
dav_ has joined #ocaml
tane has joined #ocaml
dav_ has quit [Client Quit]
jc1 has left #ocaml [#ocaml]
cago has joined #ocaml
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 258 seconds]
hhugo has quit [Quit: Leaving.]
jbj has quit [Ping timeout: 258 seconds]
yacks has quit [Quit: Leaving]
yacks has joined #ocaml
<bernardofpc> whitequar> TeX expands _ into that ... thing -> no, it's not TeX, it's just your macro set (probably some perverted type of LaTeX). TeX just assigns _ to "math-only symbol" and complains about "missing $ inserted" (sorry to necromance that one)
slash^ has joined #ocaml
morphles has quit [Ping timeout: 250 seconds]
qiukun has quit [Ping timeout: 260 seconds]
jbj has joined #ocaml
larhat has quit [Quit: Leaving.]
Thooms has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 244 seconds]
<Drup> whitequark: I'm still a bit confused at ppx drivers
<Drup> I don't see the point.
qiukun has joined #ocaml
pminten has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
johnnydiabetic has joined #ocaml
mcclurmc has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
araujo has joined #ocaml
araujo has joined #ocaml
araujo has quit [Changing host]
taion809 has joined #ocaml
jbj has quit [Quit: Konversation terminated!]
darkf has quit [Quit: Leaving]
ygrek has quit [Ping timeout: 272 seconds]
rand000 has joined #ocaml
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 260 seconds]
oscar_toro has quit [Ping timeout: 260 seconds]
hhugo has joined #ocaml
hhugo has quit [Client Quit]
oscar_toro has joined #ocaml
Simn has quit [Ping timeout: 260 seconds]
Thooms has quit [Ping timeout: 250 seconds]
Thooms has joined #ocaml
bezirg has quit [Ping timeout: 250 seconds]
johnnydiabetic has quit [Quit: Leaving]
olasd has quit [Remote host closed the connection]
olasd has joined #ocaml
oscar_toro has quit [Ping timeout: 260 seconds]
[zedascouves] has joined #ocaml
bezirg has joined #ocaml
iorivur has quit [Quit: No Ping reply in 180 seconds.]
iorivur has joined #ocaml
Hannibal_Smith has joined #ocaml
Submarine_ has joined #ocaml
ygrek has joined #ocaml
<tobiasBora> Hello !
<tobiasBora> Does anyone knows if Opam has a ppa for ubuntu ? I can't install the version 1.2 from the official repo
<Kakadu> avsm has one
<Kakadu> AFAIR
<Kakadu> it is mentioned on website
<tobiasBora> Is it normal if I can read opam 1.1.99 ?
jonludlam has joined #ocaml
<Leonidas> i suppose 1.1.99 means "2.0 prerelease"
<Kakadu> very likely 1.1.99+SNAPSHOT20140918-1ppa1~trusty is what you nee
<Kakadu> need*
<Leonidas> many projects use x.y.90 to denote a prerelease of x.y+1.0
simulacrum has joined #ocaml
<tobiasBora> Ok thank you, I'll give it a try
avsm has joined #ocaml
Hannibal_Smith has quit [Ping timeout: 244 seconds]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
Simn has joined #ocaml
hhugo has joined #ocaml
morphles has joined #ocaml
jc1 has joined #ocaml
cago has quit [Quit: cago]
cago has joined #ocaml
<Leonidas> is there a way to display the type of something in utop?
<Drup> "x ;;"
<Drup> :D
<Leonidas> if I want to see the constructors of a type, eg.
<Leonidas> yeah, quite :p
<ggole> #show <type-or-module>
Thooms has quit [Quit: WeeChat 0.4.3]
cago has quit [Client Quit]
<dmbaturin> ggole: Gives "unknown directive" for me.
<ggole> It's new in 4.02, I think
<nicoo> gasche: Regarding the recent move to int32_t/int64_t, etc ...
<nicoo> Wasn't the whole point not to have to define arithmetic types in config.h ?
<nicoo> gasche: Here is what I get http://dpaste.com/3FP0JGF
jc1 has quit [Ping timeout: 245 seconds]
<adrien> nicoo: backward compat means you can't remove them
<nicoo> adrien: ?
<nicoo> adrien: int32*_t* and friends weren't previously defined in these headers
<nicoo> Their being defined now causes conflicts with libc
<adrien> nicoo: oh, I had misread
<adrien> it is indeed very ugly :)
<nicoo> adrien: I really don't want to be the one who patches config.h though
<adrien> nah
<adrien> don't worry
<adrien> it's configure which you need to patch
<Drup> isn't that .. worse ?
<adrien> don't tell him!
<Drup> x)
yacks has quit [Ping timeout: 250 seconds]
<nicoo> Drup: I realised, yes :(
<nicoo> adrien: I think one could get away with patching config.h
jao has quit [Ping timeout: 244 seconds]
MercurialAlchemi has joined #ocaml
avsm has quit [Read error: Connection reset by peer]
avsm has joined #ocaml
simulacrum has quit [Quit: No Ping reply in 180 seconds.]
simulacrum has joined #ocaml
bytbox has joined #ocaml
<Leonidas> ggole: thanks, that was it.
philtom has joined #ocaml
philtom has quit [Ping timeout: 244 seconds]
<tobiasBora> Does anyone knows why ocaml-gettext cannot be installed on Ocaml > 4.02 ? (It's > and not <)
<tobiasBora> (well >=)
ygrek has quit [Ping timeout: 246 seconds]
eikke has joined #ocaml
ontologiae has quit [Ping timeout: 272 seconds]
oriba has joined #ocaml
Anarchos has joined #ocaml
shinnya has quit [Ping timeout: 245 seconds]
oscar_toro has joined #ocaml
[zedascouves] has quit []
avsm has quit [Quit: Leaving.]
yacks has joined #ocaml
pminten has joined #ocaml
bytbox has quit [Remote host closed the connection]
ontologiae has joined #ocaml
ygrek has joined #ocaml
NoNNaN has joined #ocaml
morphles has quit [Ping timeout: 245 seconds]
johnnydiabetic has joined #ocaml
hhugo has quit [Quit: Leaving.]
larhat has joined #ocaml
eikke has quit [Ping timeout: 250 seconds]
jonludlam has quit [Quit: Coyote finally caught me]
hhugo has joined #ocaml
Submarine_ has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 272 seconds]
pminten has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<whitequark> Drup: well, ppx_deriving is a ppx driver.
<whitequark> a special case, but still one
<Drup> special case enough
johnnydiabetic has quit [Ping timeout: 246 seconds]
ysz has quit [Quit: This computer has gone to sleep]
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
Thooms has joined #ocaml
morphles has joined #ocaml
simulacrum has quit [Remote host closed the connection]
hhugo has quit [Quit: Leaving.]
<tobiasBora> Does anyone here has a write access to the opam-repository ? If so could you please remove the condition on gettext to work on Ocaml < 4.02 ? I emailed the developper and he told me the 0.3.5 version should work on Ocaml >= 4.02.
yomimono has joined #ocaml
<Drup> tobiasBora: just do a pull request
<Kakadu> tobiasBora: you can always test locally
<gasche> a commit message in opam-repository (git log packages/gettext) says
<gasche> " restrict gettext.0.3.4 to <OCaml 4.02 due to format string incompatibility
<gasche> "
morphles has quit [Ping timeout: 260 seconds]
<gasche> it dates back to Aug 29, so before the release, thus the issue may have been fixed if it is on the compiler side
<gasche> gettext 0.3.5 has a commit message saying it "should work on 4.02", but still the same <4.02 version bound
bezirg has quit [Ping timeout: 272 seconds]
<gasche> tobiasBora: you should probably investigate the issue or ask the maintainer (Sylvain?) to make sure it is no more
<gasche> (grepping for format strings in the source could be enough to see where the problem is/was)
<tobiasBora> gasche: I have already asked to Sylvain and he says it should be good
eikke has joined #ocaml
<tobiasBora> Drup: I will
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
bytbox has joined #ocaml
Submarine_ has joined #ocaml
Submarine_ has joined #ocaml
yomimono has quit [Ping timeout: 245 seconds]
yomimono has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
avsm has joined #ocaml
mbac has quit [Quit: bbln]
avsm has quit [Quit: Leaving.]
shinnya has joined #ocaml
morphles has joined #ocaml
tac_ has joined #ocaml
manud has joined #ocaml
morphles has quit [Ping timeout: 245 seconds]
hhugo has joined #ocaml
fezghoul has joined #ocaml
ustunozgur has joined #ocaml
axiles has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 245 seconds]
MercurialAlchemi has quit [Ping timeout: 258 seconds]
<bernardofpc> are there any gentoo people here ?
Submarine_ has quit [Quit: Leaving]
dav has quit [Ping timeout: 246 seconds]
hhugo has quit [Quit: Leaving.]
dav has joined #ocaml
hhugo has joined #ocaml
manud has quit [Quit: manud]
yomimono has quit [Ping timeout: 272 seconds]
evert has joined #ocaml
<tobiasBora> I tried to propose a pull request: https://github.com/ocaml/opam-repository/pull/2826
<tobiasBora> But is wasn't accepted by travis
<tobiasBora> Does anyone knows how is bad with my one-line edit ?
<evert> I'm trying to learn ocaml with the 'ocaml from the very beginning' book, but i don't understand the books answer to one of the first quiz questions: http://dpaste.com/1GM4Y97
<Drup> tobiasBora: why don't you look at the travis results ? :)
<Drup> simply click on the red cross
<Drup> you'll quite clearly see what's wrong.
<ggole> evert: what don't you understand about it?
<evert> my solution seems to work, so what's the need for the extra if?
<Drup> evert: the extra if is simply an optimisation.
<tobiasBora> Drup: Well for the Linux fail the only error I can see is "E: Some index files failed to download. They have been ignored, or old ones used instead.". I don't see any link with my modification...
<Drup> so travis failed miserably, and it's not your fault :p
<Drup> evert: if you ask me, both solution are wrong, because they don't behave well for n < 0 ;)
<tobiasBora> Drup: So should I make another push request ?
<ggole> evert: it doesn't seem necessary, it's either a style thing or a (questionable) optimisation
<Drup> tobiasBora: no, just make a comment
<evert> ok, thanks, in that case i won't sweat over it, hard enough as it is to wrap my head around the recursion stuff
<Drup> evert: https://xkcd.com/1270/ ! :D
<tobiasBora> Ok thank you, hope it will be enough.
<Drup> fezghoul: "ocamlbuild -use-ocamlfind -package core -package whatever_re_package ls.native"
<Drup> replace "whatever_re_package" with the one containing Re2
<Drup> (I don't know it, sorry :p)
philtom has joined #ocaml
<ggole> (Isn't -use-ocamlfind the default since forever?)
<Drup> ggole: no
<Drup> it was briefly the default in ocamlbuild 4.01, I think ?
<Drup> or maybe it didn't even made it into stable
<ggole> That doesn't sound right, I clearly remember it in the docs
<ggole> And the docs of 4.02 suggest that it is still the default
<ggole> (Actually, they are a bit vague on the matter...)
<fezghoul> Drup: thanks, a step in the right direction (new error messages!).
<Drup> fezghoul: that means progress !
<fezghoul> Drup: (2 days into ocaml, the tooling is more complicated than the language imo)
<fezghoul> Drup: :)
avsm has joined #ocaml
<Drup> build systems are a bit complicated, yeah
<Drup> (the rest of the tooling is nice, but build systems ...)
<fezghoul> Drup: is there a reason for that? Or perhaps a consensus of opinion about why?
<Drup> a lack of consensus, actually
<companion_cube> why: because of the absence of consensus about which one to choose
<companion_cube> some people want something simple like ocamlbuild, some other want jenga
<Drup> (but there is a consensus about the fact that the situation is problematic :D)
<ggole> Time to write a new build system that everybody will rally behind!
<companion_cube> yaaaaay
<fezghoul> hah. gimme 10 minutes....
<evert> Drup: is there a nice way to add the option for negative exponent? Can't seem to find a nice solution.
<Drup> evert: I would just raise an error
<Drup> Invalid_argument is designed for this
<ggole> You really need a numeric tower to do a good job of that kind of thing
<companion_cube> after reading a bit the standard library of rust, I realize how sad the lack of typeclasses in OCaml is
philtom has quit [Ping timeout: 245 seconds]
WraithM has joined #ocaml
manud has joined #ocaml
tac_ has quit [Read error: Connection reset by peer]
oscar_toro has quit [Ping timeout: 272 seconds]
fezghoul has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Reventlov has quit [Quit: leaving]
Reventlov has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
thetabyte has joined #ocaml
manud has quit [Quit: manud]
ggole has quit []
manud has joined #ocaml
ustunozgur has quit [Remote host closed the connection]
eugene_klm has quit [Ping timeout: 258 seconds]
WraithM has quit [Ping timeout: 246 seconds]
avsm has quit [Quit: Leaving.]
WraithM has joined #ocaml
hhugo has quit [Quit: Leaving.]
tane has quit [Quit: Verlassend]
lordkryss has quit [Quit: Connection closed for inactivity]
rand000 has quit [Quit: leaving]
Thooms has quit [Ping timeout: 260 seconds]
Simn has quit [Quit: Leaving]
darkf has joined #ocaml
madroach has quit [Ping timeout: 250 seconds]
fezghoul has joined #ocaml
<fezghoul> Any ubuntu users have trouble compiling modules that use re2 to native?
madroach has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
<Drup> fezghoul: what's the error ?
<fezghoul> Drup: but it compiles to bytecode. I've been installing different versions of libstdc++ to no avail. Is there an explicit linking command I need?
q66 has quit [Quit: Leaving]
<Drup> does the bytecode works ? It could just be making errors at runtime when trying to call the C libraries ...
<fezghoul> Drup: thats the weirdness. The bytcode does indeed work. It works in utop too.
<Drup> strange
<Drup> I don't know.
<fezghoul> Drup: re2 just isn't finding the c++ standard library (its what it looks like to me, but I'm no c++ expert). In anycase, just thougth I'd see if other Ubuntu users had problems.
eikke has quit [Ping timeout: 244 seconds]