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
alpounet has joined #ocaml
alpounet has quit [Ping timeout: 240 seconds]
johnnydiabetic has quit [Ping timeout: 255 seconds]
jeregrine has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
philtor has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
Eyyub has quit [Ping timeout: 258 seconds]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
racycle has quit [Quit: ZZZzzz…]
thomasga has joined #ocaml
eikke__ has quit [Ping timeout: 264 seconds]
eikke__ has joined #ocaml
Eyyub has joined #ocaml
ollehar has quit [Ping timeout: 240 seconds]
rgrinberg has joined #ocaml
thomasga has quit [Quit: Leaving.]
tnguyen1 has quit [Ping timeout: 264 seconds]
<tautologico> brew install opam is failing on mavericks
q66 has quit [Quit: Leaving]
<tautologico> hm, not specific to brew
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
hbar has joined #ocaml
Nuki has quit [Remote host closed the connection]
tlockney_away is now known as tlockney
WraithM has joined #ocaml
divyanshu has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
studybot_ has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 240 seconds]
manizzle has quit [Ping timeout: 252 seconds]
sheijk has quit [Quit: .]
philtor has quit [Ping timeout: 252 seconds]
S11001001 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
eikke__ has quit [Ping timeout: 240 seconds]
malo has quit [Quit: Leaving]
alpounet has joined #ocaml
studybot has joined #ocaml
alpounet has quit [Ping timeout: 258 seconds]
araujo has joined #ocaml
araujo has joined #ocaml
araujo has quit [Changing host]
hbar has quit [Quit: WeeChat 0.4.1]
hbar has joined #ocaml
jeregrine has joined #ocaml
jeregrine has quit [Ping timeout: 240 seconds]
racycle_ has joined #ocaml
BitPuffin has quit [Ping timeout: 240 seconds]
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
WraithM has quit [Ping timeout: 240 seconds]
NoNNaN has quit [Remote host closed the connection]
studybot has quit [Write error: Connection reset by peer]
mcclurmc has quit [Remote host closed the connection]
WraithM has joined #ocaml
mcclurmc has joined #ocaml
divyanshu has quit [Quit: Computer has gone to sleep.]
Eyyub has quit [Ping timeout: 276 seconds]
studybot has joined #ocaml
NoNNaN has joined #ocaml
ebzzry has quit []
ebzzry has joined #ocaml
divyanshu has joined #ocaml
axiles has joined #ocaml
jao has quit [Ping timeout: 255 seconds]
racycle_ has quit [Quit: ZZZzzz…]
tlockney is now known as tlockney_away
mcclurmc has quit [Remote host closed the connection]
WraithM has quit [Ping timeout: 240 seconds]
yacks has joined #ocaml
rgrinberg1 has joined #ocaml
rgrinberg has quit [Ping timeout: 264 seconds]
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 252 seconds]
ggole has joined #ocaml
jeregrine has joined #ocaml
rgrinberg1 has quit [Quit: Leaving.]
jeregrine has quit [Ping timeout: 240 seconds]
WraithM has joined #ocaml
WraithM has quit [Ping timeout: 240 seconds]
Simn has joined #ocaml
snaky has joined #ocaml
ygrek has joined #ocaml
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 258 seconds]
manizzle has joined #ocaml
dant3 has joined #ocaml
Kakadu has joined #ocaml
pyon has joined #ocaml
manizzle has quit [Ping timeout: 252 seconds]
alpounet has joined #ocaml
manizzle has joined #ocaml
jerry__ has joined #ocaml
<jerry__> Bonjour à tous
eikke__ has joined #ocaml
<jerry__> j'essaie de compiler ocaml-archive-2.8.4+2
<jerry__> mais je reçois une erreur suite à la commande /usr/bin/ocamlfind ocamlc -c src/Archive_stub.c
<jerry__> je reçois :
<jerry__> src/Archive_stub.c:59:7: error: ‘ARCHIVE_EXTRACT_NO_HFS_COMPRESSION’ undeclared here (not in a function)
<adrien_oww> jerry__: ce canal est anglophone ; parle anglais ici ou va sur #ocaml-fr
<jerry__> sorry
<jerry__> I try to compile ocaml-archive-2.8.4+2 on linux
ustunozgur has joined #ocaml
<jerry__> but I get an error after this command is being execute
<jerry__> /usr/bin/ocamlfind ocamlc -c src/Archive_stub.c
<jerry__> I get : src/Archive_stub.c:59:7: error: ‘ARCHIVE_EXTRACT_NO_HFS_COMPRESSION’ undeclared here (not in a function)
<adrien_oww> jerry__: which version of libarchive (the C library) is installed on your machine?
<jerry__> 3.0.3 I guess it's been installed with ubuntu package
<jerry__> libarchive-dev 3.0.3-6ubuntu1
<jerry__> libarchive12 3.0.3-6ubuntu1
<adrien_oww> hmm
<adrien_oww> nothing more recent? 3.1.2 (or something like that) has been out for more than a year
<adrien_oww> yup, early 2013
<adrien_oww> it could be a difference of API there but I can't guarantee
<jerry__> O k thanks I'm going to try with a more recent libarchive
pyon has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<adrien_oww> jerry__: I've just checked the libarchive history and that appeared on octover 2012
<adrien_oww> october*
<adrien_oww> with commit message
<adrien_oww> Add experimental support for HFS+ Compression.
<adrien_oww> - bsdtar provides --hfsCompression option.
<adrien_oww> if needed it can most probably be disabled in ocaml-archive
pyon has joined #ocaml
<jerry__> adrien_oww thanks It did passed the error
<jerry__> It did resolved my error sorry
<adrien_oww> :)
<adrien_oww> np
<adrien_oww> btw, if you need more API functions, check ocaml-archive's bug tracker, I've sent a few patches there
<jerry__> I've apply already 4 patches oasis-make-it-possible-to-not-build-tests-docs-and-.patch
<jerry__> Bind-extract-set_pathname-and-read_open_memory-strin.patch
<jerry__> stubs-bind-archive_entry_-set_-pathname-through-a-ma.pat
<jerry__> Bind-archive_entry_-set_-hard-sym-link-and-archive_e.patc
<adrien_oww> these :P
axiles has quit [Ping timeout: 264 seconds]
axiles has joined #ocaml
<jerry__> actually i've got some new errors I need to investigate a bit more , In fact I try to install win-build for cross compiling
<jerry__> ocamlfind ocamlmklib is it obsolete or deprecated ?
WraithM has joined #ocaml
BitPuffin has joined #ocaml
<adrien_oww> ah :D
<adrien_oww> explains
<adrien_oww> jerry__: I'm the main dev behind win-builds; nowadays you should probably follow http://win-builds.org/web-test ; it's still officially in beta stage but it's really a matter of hours now
<jerry__> I try to build ocaml-archive-2.8.4+2 and it failed on the command /usr/bin/ocamlfind ocamlmklib -o src/archive-ocaml_stubs -larchive src/Archive_stub.o
<jerry__> and this option do not appear in the ocamlfind help
<adrien_oww> righ
<adrien_oww> t
<adrien_oww> which distribution do you have and which version of ocaml do you have?
<jerry__> 3.12
<adrien_oww> hmmmmmm
<jerry__> alright I'll try with a more recent version
<adrien_oww> if you can, that'd solve your issues
<adrien_oww> oh and actually, which _ocamlfind_ version do you have?
<jerry__> I think i was 1.2.7 from the debian package but I think I'm going to get a new version
ygrek has quit [Ping timeout: 255 seconds]
remy1 has joined #ocaml
alpounet has quit [Read error: Connection reset by peer]
alpounet has joined #ocaml
darkf has quit [Ping timeout: 240 seconds]
<adrien_oww> ok, I'll check more precisely which version is required at least
<adrien_oww> the build system stuff around ocaml has moved a bit in the past few years and with some incompatibilities here and there
jeregrine has joined #ocaml
<adrien_oww> (and the thing you should only need to update is ocamlfind a.k.a. findlib)
eizo has joined #ocaml
jeregrine has quit [Ping timeout: 240 seconds]
ontologiae has joined #ocaml
Thooms has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
remy1 is now known as remyzorg
ygrek has joined #ocaml
ggole_ has joined #ocaml
maattdd has joined #ocaml
ggole has quit [Ping timeout: 264 seconds]
ollehar has joined #ocaml
WraithM has quit [Ping timeout: 240 seconds]
rand000 has joined #ocaml
nitbix has joined #ocaml
baz_ has joined #ocaml
rand000 has quit [Ping timeout: 240 seconds]
dsheets has joined #ocaml
Nuki has joined #ocaml
syntropy has joined #ocaml
ikaros has joined #ocaml
_andre has joined #ocaml
remyzorg has quit [Ping timeout: 255 seconds]
ygrek has quit [Ping timeout: 276 seconds]
tobiasBora has joined #ocaml
<tobiasBora> Hello,
studybot has quit [Remote host closed the connection]
Eyyub has joined #ocaml
<tobiasBora> I would like to test the installation of a program I made with opam. I tried to use opam pin <my package> <my/local/path> but I have "wrong name", while I only use alphanumeric characters
ontologiae has joined #ocaml
<tobiasBora> I think that I may need to have a repo which already provide a version of my program but I don't know if creating my own repo is the good thing to do
<tobiasBora> oh I think this page is the solution https://opam.ocaml.org/doc/Packaging.html
<whitequark> tobiasBora: what's your opam pin command, exactly?
<tobiasBora> whitequark: opam pin phluor_tools /home/tobias/Informatique/Programmation/Ocaml/Sites/phluor/phluor_tools/
<tobiasBora> [ERROR] phluor_tools is not a valid package name.
<whitequark> and opam version?
yacks has quit [Ping timeout: 258 seconds]
<tobiasBora> 1.1.1
<Kakadu> Maybe you need to create recipe for your package
<Kakadu> I bet that you do
<whitequark> yes, likely
sjbx has left #ocaml [#ocaml]
<tobiasBora> In my package I have a folder opam/ with on opam file containing some basic rules
<whitequark> tobiasBora: it's really easy. mkdir -p ~/opam-overlay/packages/phluor_tools.0.1/; put opam file there; opam repository add local ~/opam-overlay
<whitequark> opam really excels at getting out of your way
<Kakadu> have you did `opam remote add path`?
<tobiasBora> No I didn't configure a local repo, only pin I think it's the reason of the problem indeed. Can I put a local url in the url file ?
<whitequark> tobiasBora: "opam repository add local /path/to/repo" should work
<tobiasBora> whitequark: But if I want to have my project files in an other folder ?
yacks has joined #ocaml
Thooms has quit [Ping timeout: 265 seconds]
<whitequark> tobiasBora: oh, then you "opam pin phluor_tools /path/to/project/files"
ollehar has quit [Ping timeout: 240 seconds]
<tobiasBora> whitequark: Great I can add my package thank you !
<whitequark> you're welcome
ggole_ is now known as ggole
<tobiasBora> Is it possible to have a kind of ".ignore" for personnal pin ? Because I've symlinks in the compiled files who cannot be copied
Eyyub has quit [Ping timeout: 255 seconds]
<whitequark> I don't think so
<tobiasBora> Ok thank you. And what is the good way to configure _oasis install path ?
<tobiasBora> Because I just put make, make install in the file "opam" and it wants to install it in /usr/local/bin/phluor_tools
<whitequark> you need to use something like ["./configure" "--prefix" prefix] in your opam file
<Kakadu> tobiasBora: don't forget about ./configure --datarootdir=%{lib}% in opam file (or something like that)
<tobiasBora> whitequark: It works just great, thank you !!!
Kakadu is now known as Kakadu_afk
<tobiasBora> The lib rep is for datarootdir ?
alpounet has quit [Remote host closed the connection]
Eyyub has joined #ocaml
<whitequark> not sure I understand you
<tobiasBora> I ask why I must use %{lib} for a data dir (for a lib dir I can understand)
troydm has quit [Quit: What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset]
<whitequark> from what I can see in opam-repository, it's used to place your data files next to object files installed by findlib
<whitequark> e.g. "--datarootdir=%{lib}%/wyrd/share"
<whitequark> that would place it into ~/.opam/4.02.0/lib/wyrd/share
<whitequark> and .../lib/wyrd is where ocamlfind installs the object files
jeregrine has joined #ocaml
<tobiasBora> Uhm ok... Thank you so much whitequark and Kakadu_afk !
<tobiasBora> I have to go, thank you again !
tobiasBora has quit [Quit: Konversation terminated!]
troydm has joined #ocaml
jeregrine has quit [Ping timeout: 240 seconds]
ollehar has joined #ocaml
manizzle has quit [Read error: Connection timed out]
maattdd has quit [Ping timeout: 255 seconds]
ustunozgur has quit [Remote host closed the connection]
ustunozgur has joined #ocaml
maattdd has joined #ocaml
thomasga has joined #ocaml
ustunozgur has quit [Ping timeout: 265 seconds]
studybot has joined #ocaml
ustunozgur has joined #ocaml
shinnya has joined #ocaml
ontologiae has quit [Ping timeout: 264 seconds]
<gasche> I just tested "make world.opt -j5" on trunk and parallel build seems to work ok
<whitequark> gasche: it breaks kind of randomly
<whitequark> I've encountered it some times while trying out my clang-analyzer stuff
<whitequark> but not always
<Drup> (which is sort of the definition of a race condition)
<gasche> when things are really bad, it breaks all the time
<whitequark> :]
<adrien_oww> gasche: do we get to sort the large changes that will come after 4.02?
<adrien_oww> like first move ocamlbuild then remove Makefile.nt files then merge menhir support then ...
thomasga has quit [Quit: Leaving.]
<gasche> you mean, will trunk development be the result from synchronized collaboration of orderly communicating actors?
<gasche> s/from/of/
<adrien> (and I didn't know the makefiles' portability had already been dropped)
<gasche> it sounds a bit too optimistic
<gasche> I think it was in reaction to your work
<adrien> if we all do everything at the same time we'll get useless conflicts
<gasche> also, menhir will never be merged
<gasche> you probably meant "use a menhir syntax"
<gasche> s/syntax/parser/
johnelse has quit [Ping timeout: 252 seconds]
<gasche> adrien: I think I observed a situation once where a bytecode bootstrap compiler compiled on a 64-bits machine would not run on a 32-bits machine
johnelse has joined #ocaml
<gasche> (which I think I solved by reverting the last bootstrap change and re-doing it from the 32b machine)
eikke__ has quit [Ping timeout: 265 seconds]
johnelse is now known as Guest84618
<adrien> gasche: I bug report precisely about that
<gasche> sent a? saw a?
<gasche> will you be at OUPS tomorrow?
<adrien> "remember a"
<adrien> :P
Guest84618 has quit [Client Quit]
<adrien> yeah, I will; I'm on the other side of the butte aux cailles so I don't have a good excuse to not attend ;-)
<Drup> gasche: do you know if there will be streaming/video for this OUPS ?
johnelse_ has joined #ocaml
<adrien> sure! (we'll stream nyancat)
johnelse_ has quit [Client Quit]
<Drup> adrien : I have multiple agents there, and at least one has your phone number, be gentle :p
<gasche> Drup: I just asked and "yes"
<gasche> streaming no, recording yes
<Drup> to which one ? :D
<Drup> ok
<Drup> nice
<adrien> Drup: you have agents? I'm sure I can bribe them ;-)
<Drup> adrien : you tried already, didn't prevent you to receive night calls :p
<adrien> surprisngly I've always falen asleep right after them
<flux> it's funny how the greatest changes to the language in recent times comes with 4.02.. not with 3.9999 ;-)
<flux> unless this is a way of the future, the 4-series will contain all ground-breaking cool new features at all releases :)
Eyyub has quit [Quit: WeeChat 0.4.1]
<adrien> :)
<gasche> flux: which changes are you thinking of?
<gasche> GADT was a pretty major change
<flux> well, the deprecation of camlp4 for one?
<flux> extensible open datatypes, exception cases, ..
<gasche> (I'd claim it is bigger in scope than extensible variants; at least it make the type system "more unsound" :p)
<flux> all the things mentioned in the announcement on the ml ;)
<gasche> I'm embarrassed about the announcement
<flux> and the Bytes/String separation
<flux> are these all not big changes?-o
<gasche> it has some attribution information, which is precisely the one the only committer that cares about information added with his own commit
<gasche> I wished Damien had told me that he would include the Changes, and I had completed this
<gasche> *wish
<flux> well, it's a beta
<flux> you still have time ;-)
<gasche> flux: I think GADT was a larger change in scope than any of those you mentioned
<gasche> but yeah, they do sum up to an ambitious release
Nuki has quit [Remote host closed the connection]
<flux> but it's only this release that actually is going to also make use of them in the standard library?
<gasche> the semantics of the 4.00 bump may be re-interpreted in the future as "full-steam language evolution starts again"
<flux> the bigaarray functionality making use of them seemed nice
<gasche> correct
mcclurmc has joined #ocaml
eikke__ has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
tnguyen has joined #ocaml
<flux> "Allow opening of first class module", does this change also allow let open Map(Integer) in .. ?
<flux> (or just plain 'open Map(String)')
<gasche> that's probably unrelated
eikke__ has quit [Ping timeout: 240 seconds]
<adrien_oww> gasche: you have plenty of time to add more stuff to the changelog before 4.02 ;-)
<gasche> still
<adrien_oww> right, start working on it now
* adrien_oww gets the flog
<gasche> the other source of embarassment is that I know the beta is almost unusable for any serious format users, because of the various regressions
<adrien_oww> which is why it's beta
eikke__ has joined #ocaml
<gasche> indeed
<adrien_oww> but feedback is needed
<adrien_oww> distributions need to update
<adrien_oww> possibly debian too
<gasche> the most problematic regressions we already know about
<gasche> I think if I had fixed the main reported ones before the beta, furthr reports would have been fairly minors
<adrien_oww> btw, is it possible to get a decision about whether to split or not ocamlbuild before 4.02 is released?
<adrien_oww> so that it can be put in release notes
tnguyen has quit [Quit: tnguyen]
<whitequark> adrien_oww: I have an idea about ocamlbuild.
<whitequark> if the problem, or rather the motivating cause for the split, is that it moves too slow when it only moves with the releases, let's do this
<whitequark> make a *fork* of ocamlbuild and let users install it via opam
<whitequark> I mean, you don't have to kill it in the main repo to make one on github, right?
<whitequark> and it's just a bunch of ml code you can easily build
<Drup> whitequark: that part is already done
<gasche> whitequark: the people that push for splitting ocamlbuild have already suggested installing it under the name "ocamlbuildng" to coexist with a distribution-installed one
<gasche> they coordinate through a github wiki, you should go have a look if you want to participate
<gasche> (it was mentioned in the bugtracker)
<adrien_oww> also it should be possible to build 4.02 without ocamlbuild
<adrien_oww> but we certainly don't want two upstreams
<whitequark> why not?
<adrien_oww> also, what after ocamlbuildng? ocamlbuildds9? :P
<adrien_oww> enough confusion and build systems
<whitequark> adrien_oww: it's been successfully done before in the past
<whitequark> say, eglibc
<adrien_oww> eglibc is merged back
<adrien_oww> and was some kind of last resort
<whitequark> exactly, it's merged back
<whitequark> that's the whole point of a friendly fork
johnelse has joined #ocaml
<adrien_oww> mostly that drepper left rh years ago
<gasche> adrien_oww: re. your question
<gasche> I can try to start a discussion on this but that's secondary wrt. release managment
<adrien_oww> kinda agree
<gasche> (I think making an announce at release time or after release time does not make much of a difference)
<adrien_oww> but a roadmap would be nice
<gasche> well
<adrien_oww> sure, but having it right in the release would be even better
<gasche> there is a roadmap on the wiki I was talking about
<adrien_oww> official one :P
<adrien_oww> a rough one I mean
<gasche> the split won't be in the release
jeregrine has joined #ocaml
alpounet has joined #ocaml
shinnya has quit [Ping timeout: 265 seconds]
<gasche> if your question is how to coordinate your own development work, I think it's best that you discuss it on Mantis/github/whatever directly
divyanshu has quit [Quit: Computer has gone to sleep.]
<companion_cube> o/
mcclurmc_ has joined #ocaml
mcclurmc has quit [Read error: Connection reset by peer]
<adrien_oww> gasche: nope, not for me; well, except that I prefer not to have conflicts all the time
<adrien_oww> and I think it'd be a waste of time to update files that will be removed the week after
<gasche> last time this was discussed (at the time of the camlp4 split), I mentioned that splitting right in the middle of your cross-compilation was not very nice for you
<gasche> but given the long break, that argument lost a bit of its weight :p
<adrien_oww> nah, that was fine since I built without camlp4 anyway :P
<adrien_oww> a warning would have been nice though :P
<adrien_oww> but had it been done before, it would have been *way* nicer
<adrien_oww> same for ocamlbuild, if it gets moved, it means way less work for cross-compilation
Kakadu_afk is now known as Kakadu
thomasga has joined #ocaml
<gasche> alpounet: I hadn't noticed you login lately, are you working with OCaml again?
<companion_cube> he must be waiting for typeclasses
<companion_cube> oops();
mcclurmc_ has quit []
<whitequark> will typeclass-using code be included in ocaml stdlib?
<whitequark> something like: open Implicit;; (=) → ?#eq:('a -> 'a -> bool) -> 'a -> 'a -> bool
<gasche> this is so far in the hypothetical future this question doesn't even make sense :D
thomasga has quit [Ping timeout: 252 seconds]
<jerry__> adrien_oww some updates I successfull most of the install with ocaml 4.01 and findlib 1.4.2 but now the part Build yypkg itself is falling for this reason Package `fileutils.str' not found
<companion_cube> whitequark: it will be included in better stdlibs ;)
<adrien_oww> jerry__: good news; which version of fileutils have you picked? and what does "ocamlfind list | grep fileutils" show?
<whitequark> companion_cube: that's a really bad answer.
<gasche> what about the ocaml-to-LLVM recap? :p
<whitequark> I shouldn't have to use batteries, core, or whatever bloated thing is in fashion now, just to get equality working as it always should have
<jerry__> none I guess
<companion_cube> whitequark: unless the new implicit equality is 100% compatible with the current polymorphic equality, I think the stdlib will have to stick to retrocompatibility
<whitequark> gasche: I actually updated the article just a few days ago
<whitequark> though not quite in the publishing shape yet
<adrien_oww> jerry__: actually I wonder if it will show "fileutils.pcre"
<whitequark> companion_cube: hence "open Implicit" there.
<companion_cube> whitequark: so you're asking for a lightweight, bloat-free alternative stdlib? ^^
SethTisue has joined #ocaml
<companion_cube> indeed.
<companion_cube> maybe 'Implicit' could be a small library though
<whitequark> well, I guess it could be published as a package
<whitequark> not much harm in that.
<jerry__> should this come from ocaml-fileutils-04.5
mcclurmc has joined #ocaml
<jerry__> where should be located this fileutils.str
<adrien_oww> jerry__: ocaml-fileutils can be built against PCRE or Str; I think that if PCRE is available, it is preferred and automatically used
<kaustuv> So it looks like Batteries is pretty broken with the new 4.02 beta.
ustunozgur has quit [Remote host closed the connection]
<kaustuv> But maybe this is expected because of the changes to Format.
ustunozgur has joined #ocaml
<alpounet> gasche: hey, not really, i actually write haskell for a living these days, but i'm just looking around to see how things are going in the ocaml world
<kaustuv> Anything in OCaml you miss in Haskell?
<alpounet> tough question.
<gasche> where do you work now?
<alpounet> kaustuv: i guess I can say I miss the module system, for sure
<adrien_oww> jerry__: I've checked ocaml-fileutils' build system and couldn't spot what I thought; so you've installed ocaml-fileutils and got no error? have you set the environment variables like OCAMLPATH?
<gasche> hopefully Backpack will enter the language at some point
<kaustuv> backpack looks amazing
<alpounet> yeah
<companion_cube> maybe in 15 years haskell and the non-OO part of OCaml will be the same
<companion_cube> ^^
<alpounet> kaustuv: aside from that, to be completely honest, I don't miss much. haskell certainly isn't perfect, and is different from ocaml in various ways, but all in all I just feel I can express myself more easily in Haskell, building up small abstractions and combining them.
tnguyen has joined #ocaml
<alpounet> also, I know this is a quite common comment, but the whole standard library / package management story is better over there, although I think it's __much__ better now with oasis, opam and friends
divyanshu has joined #ocaml
<kaustuv> My own experience with Haskell is that it is quite pleasant to write functional, data structure-heavy things, but when I need to do something nasty like hash tables then I have to delve into the nastiness that is the monad transformers library
<companion_cube> hashtables aren't nasty, they are your friend :)
<jerry__> adrien_oww, should ocaml-fileutils build create the fileutils .str or pcre ??
thomasga has joined #ocaml
<kaustuv> I also think that it is a bit strange that the only way I can have, say, an ST variable as part of a module interface is by using unsafePerformIO
<gasche> hm? I'm surprised
<gasche> ah
<kaustuv> Because "create new ST variable" is an IO action
<adrien_oww> jerry__: "str"; it should always be built
<gasche> you don't want to fix the region type parameter
<gasche> it would work if you could build a functor over it
<gasche> it would work in Coq/Agda/Idris, with the "module" expressed as a dependent record
<gasche> (or in a pure OCaml of course)
<jerry__> adrien_oww I've redeone some part of the install then I get something right I guess my cryptokit was messed up
tnguyen has quit [Quit: tnguyen]
<adrien_oww> hmm, weird; but possible
thomasga has quit [Quit: Leaving.]
<alpounet> kaustuv: I can see what a lot of people dislike, and regarding ST I'm not sure of what you mean, except that it's a bit complex when you first look at it
ollehar1 has joined #ocaml
dsheets has quit [Ping timeout: 276 seconds]
tobiasBora has joined #ocaml
ontologiae has joined #ocaml
<gasche> alpounet: you can't insert a module boundary between the runST and the rest of the region-using code
typedlambda has quit [Ping timeout: 252 seconds]
<gasche> (of course you can use the predef region that makes it equivalent to IO, but it kinds of defeat the purpose)
<gasche> that's a limitation on the scale of runST-using code, when compared to say the State monad
typedlambda has joined #ocaml
<tobiasBora> I'm trying to use oasis and I defined a library with only InternalModules (no Modules), however when I install my project I have a folder which is created in the opam/.../lib directory with this library... Is it normal ?
<pippijn> what is Backpack? is it https://github.com/jimenezrick/ocaml-backpack?
<gasche> google backpack kilpatrick
<pippijn> oh, haskell language, ok
<alpounet> gasche: ah, ok i see yeah, although that hasn't been much of an issue for me so far
<companion_cube> ST is really a region managing monad?
<gasche> in a simplistic form
<companion_cube> I wish I had regions for temporary allocations in OCaml ;)
<alpounet> no, it's more specific, but it uses the same idea
<companion_cube> (otoh I wish many things)
<jerry__> adrien a bit futher I get an error ./win-builds/build 1.4-beta3 native_toolchain-cross_toolchain
<alpounet> gasche: also, I forgot to answer one of your questions: i work for an online fashion company haha (based in south east asia)
<jerry__> yypkg: error while loading shared libraries: libarchive.so.13: cannot open shared object file: No such file or directory
<adrien_oww> jerry__: how did you install libarchive?
<jerry__> Fatal error: exception Failure("Failed process [127]: `yypkg --init --prefix /opt/native_toolchain'
<jerry__> '")
<jerry__> Raised at file "pervasives.ml", line 20, characters 22-33
<jerry__> with the source then ./configure &make & make install
<jerry__> version 3.1.2
<adrien_oww> alright, I guess it went to /usr/local
<adrien_oww> try
<adrien_oww> LD_LIBRARY_PATH=/usr/local/lib ./win-builds/build 1.4-beta3 native_toolchain-cross_toolchain
<adrien_oww> and btw, what is your host system?
<jerry__> ubuntu 12.04 on x86_64 server
<adrien_oww> ok, thanks
<jerry__> Its failed :[native_toolchain] Building efl.
<jerry__> Fatal error: exception Failure("Failed process [1]: `sh -cex cd "slackbuilds.org/efl"; export DESCR="$(sed -n 's;^[-[:alnum:]]\+: ;; p' slack-desc | sed -e 's;";\\\\";g' -e 's;/;\\/;g' | tr '\n' ' ')"; export PREFIX="$(echo "${YYPREFIX}" | sed 's;^/;;')"; if [ -e config ]; then
<jerry__> Raised at file "pervasives.ml", line 20, characters 22-33
<adrien_oww> can you pastebin 1.4-beta3/logs/native_toolchain/efl?
<adrien_oww> takes a couple try to get the full list of build dependencies; btw, have you apt-get install'ed the large list in the documentation?
arj has quit [Quit: Leaving.]
ollehar1 has quit [Ping timeout: 240 seconds]
spip has joined #ocaml
<tobiasBora> Does anyone knows how I can do to copy/paste a whole folder in the Data dir with oasis ? I tried to use DataFiles but it's quite annoying because I need to write each file with *.ext and I can't easily deal with subdirectory (I need to add each directory and I can have lot's of subdirectories...)
Nuki has joined #ocaml
johnnydiabetic has joined #ocaml
<jerry__> adrien_oww, http://pastebin.com/vmKqj8Ts
<jerry__> I've followed the doc from the beginning but at some time I did remove some ocaml p&ackage to install them from the sources
<adrien_oww> jerry__: ok, try "apt-get install libdbus-1-dev"
eizo has quit [Ping timeout: 240 seconds]
S11001001 has joined #ocaml
S11001001 has quit [Changing host]
S11001001 has joined #ocaml
testcocoon has quit [Ping timeout: 240 seconds]
kaustuv has left #ocaml ["ERC Version 5.3 (IRC client for Emacs)"]
roppongininja has joined #ocaml
divyanshu has quit [Quit: Textual IRC Client: www.textualapp.com]
tlockney_away is now known as tlockney
michael_lee has joined #ocaml
thomasga has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
testcocoon has joined #ocaml
Thooms has joined #ocaml
thomasga has quit [Ping timeout: 264 seconds]
tnguyen has joined #ocaml
eikke__ has quit [Ping timeout: 240 seconds]
eikke__ has joined #ocaml
maattdd has quit [Ping timeout: 255 seconds]
<jerry__> adrien_oww, after installing libdbus-1-dev some progress but then it failled on other error thanks for your helphttp://pastebin.com/hssFPkKZ
<adrien_oww> jerry__: ah, good, it almost completed; can you pastebin 1.4-beta3/cross_toolchain/windows_32/mingw-w64-full ?
ontologiae has joined #ocaml
johnnydiabetic has quit [Quit: Leaving]
<jerry__> I do not have that file
<jerry__> 11.4-beta3/logs/cross_toolchain_32/mingw-W64-full will do ?
<adrien_oww> yes, exactly
<adrien_oww> I've been silly :)
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
<jerry__> adrien_oww, http://pastebin.com/LreLbZ2p
rgrinberg has joined #ocaml
philtor has joined #ocaml
<adrien_oww> hmm, an issue higher up the chain; can you tar and compress 1.4-beta3/logs/cross_toolchain_32 and send it at adrien@notk.org?
<adrien_oww> something like "tar czf cross_toolchain_32.tar.gz 1.4-beta3/logs/cross_toolchain_32"
racycle has joined #ocaml
<adrien_oww> ergh, can't find my mantis credentials anymore; for #6411, there might be an issue with intrinsics
<jerry__> adrien_oww, file sent
<adrien_oww> thanks
<jerry__> adrien_oww, I got to go could you reply me be mail when you 'll have time ?
<jerry__> by email sorry
<adrien_oww> jerry__: can you check the versions of the following libraries: gmp, mpfr and mpc?
tane has joined #ocaml
philtor has quit [Ping timeout: 252 seconds]
<adrien_oww> hmmm, "old" version of mpfr
<adrien_oww> and mpc
<jerry__> they don't seem to be installed
<adrien_oww> at all?
<jerry__> i've got a packge libmpfr4 3.1.0-3ubuntu2
<adrien_oww> I guess it's possible; gcc 4.8 requires gmp >= 4.2, mpfr >= 2.4.0 and MPC 0.8.0
<jerry__> libgmp10 2:5.0.2+dfsg-2ubuntu1
tnguyen has quit [Quit: tnguyen]
<adrien_oww> (actually I was wrong on mpfr being too old)
<jerry__> and libmpc2 0.9-4
ollehar has quit [Ping timeout: 240 seconds]
nikki93 has joined #ocaml
<jerry__> should I try to installed them from the sources
<jerry__> ?
spip has quit [Ping timeout: 252 seconds]
bobo has joined #ocaml
<jerry__> I really hyave to go let me know by emmail , I'll get back to you on friday thanks for all you time !
ollehar has joined #ocaml
manizzle has joined #ocaml
<adrien_oww> jerry__: sorry, been a bit busy, will do
<adrien_oww> (the joys of compat up to .... 3 years)
nikki93 has quit [Read error: Connection reset by peer]
<jerry__> thanks bye
jerry__ has quit [Quit: Quitte]
eikke__ has quit [Ping timeout: 252 seconds]
bobo is now known as spip
root_empire has joined #ocaml
Hannibal_Smith has joined #ocaml
michael_lee has quit [Ping timeout: 255 seconds]
jwatzman|work has joined #ocaml
thomasga has joined #ocaml
dsheets has joined #ocaml
syntropy has quit [Quit: Page closed]
ggole has quit [Ping timeout: 240 seconds]
cross has quit [Quit: leaving]
boogie has joined #ocaml
ggole has joined #ocaml
manizzle has quit [Ping timeout: 252 seconds]
WraithM has joined #ocaml
cross has joined #ocaml
eizo has joined #ocaml
jao has quit [Read error: Connection reset by peer]
jeregrine has quit [Ping timeout: 240 seconds]
ggole has quit [Read error: Connection timed out]
boogie has quit [Remote host closed the connection]
ggole has joined #ocaml
johnelse has quit [Ping timeout: 265 seconds]
tobiasBora has quit [Ping timeout: 265 seconds]
johnelse has joined #ocaml
johnelse is now known as Guest83761
tnguyen has joined #ocaml
johnnydiabetic has joined #ocaml
tobiasBora has joined #ocaml
alpounet has quit [Remote host closed the connection]
alpounet has joined #ocaml
alpounet has quit [Remote host closed the connection]
alpounet has joined #ocaml
ontologiae has quit [Ping timeout: 264 seconds]
Thooms has quit [Quit: WeeChat 0.3.8]
malo has joined #ocaml
dsheets has quit [Ping timeout: 240 seconds]
Kakadu has quit [Ping timeout: 240 seconds]
tobiasBora has quit [Ping timeout: 265 seconds]
tobiasBora has joined #ocaml
Simn has quit [Quit: Leaving]
SethTisue has quit [Quit: SethTisue]
manizzle has joined #ocaml
jeregrine has joined #ocaml
q66 has joined #ocaml
Submarine has joined #ocaml
Submarine has joined #ocaml
Kakadu has joined #ocaml
manizzle has quit [Ping timeout: 252 seconds]
root_empire has quit [Ping timeout: 265 seconds]
mort___ has joined #ocaml
boogie has joined #ocaml
Nuki has quit [Remote host closed the connection]
kmicinski has joined #ocaml
<kmicinski> I've installed a package (batteries) via opam, but whenever I use ocamlfind, I still get a error "Package 'batteries' not found." Do I have to do anything special to modify ocamlfind's search path after installing via opam?
johnnydiabetic has quit [Quit: Leaving]
<Enjolras> maybe eval `opam config env`
WraithM has quit [Ping timeout: 265 seconds]
<Enjolras> you should put that in your ~/.profile
<kmicinski> Unfortunately not even that helped, but adding batteries to my path did work
<kmicinski> I'm stuck with a completely uninformative error from ocaml now:
<kmicinski> /Users/micinski/.opam/4.01.0/lib/batteries/ocaml: fork: Resource temporarily unavailable
<kmicinski> oh I'm dumb, please forget I said that :P
<Enjolras> aouch. It's probably fork returning EAGAIN
<kmicinski> I never expected that the batteries lib would contain a binary ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
<kmicinski> Ah I see, this is me misunderstanding Oasis, this project is using it to build and it's not playing well with opam, that's all, it's calling another ocamlfind
<Drup> kmicinski: that's a "opam `opam config env`" error
<Drup> not a "not playing well" issue :)
<Enjolras> s/^opam/eval/
<Drup> yes
<kmicinski> I've run opam `opam config env`, which puts the correct ocamlfind in my path
boogie has quit [Remote host closed the connection]
<kmicinski> however, in this setup.ml with this oasis version, the `prog_best` function is returning
<kmicinski> /Users/micinski/.opam/system/bin/ocamlfind
<kmicinski> rather than /Users/micinski/.opam/4.01.0/bin/ocamlfind
eizo has quit [Ping timeout: 240 seconds]
boogie has joined #ocaml
<kmicinski> should opam config env link that to the proper version?
<kmicinski> (Because if so, it's not...)
<kmicinski> FYI, manually linking it makes the build go through, but this seems like something that opam config env should be doing, ...,?
<Drup> kmicinski: did you run "./configure" again ?
ikaros has quit [Quit: Ex-Chat]
<kmicinski> Ah, no, I didn't know that was an oasis thing, that's probably my mistake then
<kmicinski> Yup, I think you're right, apologies for the wasted time!
manizzle has joined #ocaml
manizzle has quit [Client Quit]
manizzle has joined #ocaml
SethTisue has joined #ocaml
ontologiae has joined #ocaml
kmicinski has quit [Ping timeout: 276 seconds]
thomasga has quit [Ping timeout: 245 seconds]
ontologiae has quit [Ping timeout: 258 seconds]
kmicinski has joined #ocaml
WraithM has joined #ocaml
demonimin has joined #ocaml
philtor has joined #ocaml
tnguyen has quit [Quit: tnguyen]
yacks has quit [Ping timeout: 276 seconds]
tnguyen has joined #ocaml
_andre has quit [Quit: leaving]
shinnya has joined #ocaml
gal_bolle has joined #ocaml
axiles has quit [Remote host closed the connection]
boogie has quit [Remote host closed the connection]
boogie has joined #ocaml
boogie has quit [Remote host closed the connection]
boogie has joined #ocaml
Hannibal_Smith has quit [Quit: Sto andando via]
Eyyub has joined #ocaml
alpounet has quit [Remote host closed the connection]
ggole has quit []
Guest83761 is now known as johnelse
hyPiRion has quit [Ping timeout: 245 seconds]
kmicinski has quit [Ping timeout: 240 seconds]
gal_bolle has quit [Ping timeout: 252 seconds]
tnguyen has quit [Quit: tnguyen]
maattdd has joined #ocaml
hyPiRion has joined #ocaml
spip has quit [Quit: Konversation terminated!]
tnguyen has joined #ocaml
tnguyen has quit [Client Quit]
tnguyen has joined #ocaml
boogie has quit [Quit: Leaving...]
boogie has joined #ocaml
boogie has quit [Remote host closed the connection]
roppongininja has left #ocaml [#ocaml]
Thooms has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
keen____ has joined #ocaml
keen___ has quit [Ping timeout: 240 seconds]
alpounet has joined #ocaml
tane has quit [Quit: Verlassend]
jao has quit [Ping timeout: 255 seconds]
S11001001 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
ustunozgur has quit [Remote host closed the connection]
zozozo has quit [Remote host closed the connection]
thomasga has joined #ocaml
zozozo has joined #ocaml
jeregrine has quit [Ping timeout: 240 seconds]
Submarine has quit [Remote host closed the connection]
Eyyub has quit [Ping timeout: 255 seconds]
jeregrine has joined #ocaml
jeregrine has quit [Ping timeout: 240 seconds]
Eyyub has joined #ocaml
andreypopp has quit [Ping timeout: 265 seconds]
amiller has quit [Excess Flood]
Thooms has quit [Read error: Connection reset by peer]
martintrojer has quit [Ping timeout: 265 seconds]
tov has quit [Ping timeout: 265 seconds]
msch has quit [Ping timeout: 265 seconds]
patronus has quit [Ping timeout: 265 seconds]
_whitelogger_ has joined #ocaml
probado has joined #ocaml
alinab_ has joined #ocaml
msch_ is now known as msch
fraggle__ has joined #ocaml
alinab has quit [Ping timeout: 245 seconds]
inr has quit [Ping timeout: 245 seconds]
smiler has quit [Ping timeout: 245 seconds]
tizoc` has joined #ocaml
araujo_ has joined #ocaml
tizoc` is now known as tizoc_
tizoc has quit [Disconnected by services]
tizoc_ is now known as tizoc
tizoc has quit [Changing host]
tizoc has joined #ocaml
shalicke has joined #ocaml
rgrinberg1 has joined #ocaml
inr has joined #ocaml
AeroNotix_ has joined #ocaml
tlockney_ has joined #ocaml
malo has quit [Ping timeout: 265 seconds]
ddosia has quit [Ping timeout: 265 seconds]
araujo has quit [Ping timeout: 265 seconds]
tautologico has quit [Ping timeout: 265 seconds]
fraggle_ has quit [Ping timeout: 265 seconds]
esden has quit [Ping timeout: 265 seconds]
WraithM has quit [Ping timeout: 265 seconds]
rz has quit [Ping timeout: 265 seconds]
tianon has quit [Ping timeout: 265 seconds]
AeroNotix has quit [Ping timeout: 265 seconds]
alpounet has quit [Ping timeout: 265 seconds]
Cypi has quit [Ping timeout: 265 seconds]
_whitelogger has quit [Ping timeout: 265 seconds]
companion_cube has quit [Ping timeout: 265 seconds]
richinaustin has quit [Ping timeout: 265 seconds]
tlockney has quit [Ping timeout: 265 seconds]
rgrinberg has quit [Ping timeout: 265 seconds]
xitology_ has joined #ocaml
tlockney_ is now known as tlockney
tautologico_ is now known as tautologico
maattdd has quit [Ping timeout: 258 seconds]
tlockney has left #ocaml [#ocaml]
tobiasBora has joined #ocaml
malo has joined #ocaml
esden has joined #ocaml
rand000 has quit [Quit: leaving]
SethTisue has quit [Quit: SethTisue]
araujo_ has quit [Quit: Leaving]
AdmWiggin is now known as tianon
araujo has joined #ocaml
Eyyub has joined #ocaml
Nahra` has joined #ocaml
alpounet_ has quit [Remote host closed the connection]
ustunozgur has joined #ocaml
nicoo has quit [*.net *.split]
ccasin_ has joined #ocaml
alpounet has joined #ocaml
maufred_ has joined #ocaml
ustunozgur has quit [Read error: No route to host]
ustunozgur has joined #ocaml
mort___ has quit [Quit: Leaving.]
shinnya has quit [*.net *.split]
racycle has quit [*.net *.split]
hbar has quit [*.net *.split]
jave has quit [*.net *.split]
Nahra has quit [*.net *.split]
zebr has quit [*.net *.split]
Averell has quit [*.net *.split]
tizoc` has joined #ocaml
tizoc has quit [Disconnected by services]
tizoc` is now known as tizoc
tizoc has quit [Changing host]
tizoc has joined #ocaml
boogie has quit [Remote host closed the connection]
rand000 has joined #ocaml
alpounet has quit [Ping timeout: 240 seconds]
ustunozgur has quit [Ping timeout: 252 seconds]
boogie has joined #ocaml
tizoc is now known as 7JTAAV8E9
Enjolras has quit [Write error: Broken pipe]
robink has quit [Excess Flood]
robink has joined #ocaml
WraithM_ is now known as WraithM
ollehar has quit [Ping timeout: 240 seconds]
boogie has quit [Remote host closed the connection]
nicoo has joined #ocaml
Enjolras has joined #ocaml
Enjolras has quit [Changing host]
Enjolras has joined #ocaml
boogie has joined #ocaml
maufred has quit [Ping timeout: 255 seconds]
ccasin has quit [Ping timeout: 255 seconds]
boogie has quit [Remote host closed the connection]
boogie has joined #ocaml
boogie has quit [Remote host closed the connection]
boogie has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
7JTAAV8E9 is now known as tizoc
Nahra` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
shinnya has joined #ocaml
jave has joined #ocaml
racycle has joined #ocaml
hbar has joined #ocaml
jave has quit [Max SendQ exceeded]
shinnya has quit [Max SendQ exceeded]
Averell has joined #ocaml
shinnya has joined #ocaml
jave has joined #ocaml
Averell has quit [Excess Flood]
darkf has joined #ocaml
zebr has joined #ocaml
Averell has joined #ocaml
Nahra has joined #ocaml
kmicinski has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
rand000 has quit [Quit: leaving]
flx has joined #ocaml
Nahra` has joined #ocaml
flx is now known as Guest31403
manizzle has quit [Ping timeout: 276 seconds]
thomasga has quit [Ping timeout: 240 seconds]
flux has quit [Ping timeout: 240 seconds]
Guest31403 is now known as flux
Nahra` has quit [Remote host closed the connection]
Nahra has quit [Remote host closed the connection]
madroach has quit [Ping timeout: 252 seconds]
Nahra has joined #ocaml
madroach has joined #ocaml
esoto has joined #ocaml
SethTisue has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
shinnya has quit [Ping timeout: 252 seconds]
johnf has joined #ocaml
ustunozgur has joined #ocaml
eikke__ has quit [Ping timeout: 264 seconds]
manizzle has joined #ocaml
ustunozgur has quit [Ping timeout: 276 seconds]
thomasga has joined #ocaml
fraggle_laptop has joined #ocaml
SethTisue has quit [Read error: Connection reset by peer]
johnnydiabetic has joined #ocaml