<eikke>
larhat: thanks! interesting stuff. eta-expansion does the trick indeed
<adrien>
rwmjones, sgnb: maybe you can comment on this new META file for lablgtk: http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=lablgtk/lablgtk.git;a=blob;f=META;h=5143cb9944ac8a55b0905b99d68be2257d4ea27b;hb=refs/heads/adrien/META
<adrien>
rwmjones, sgnb: I have at least two things to change: exists_if shouldn't depend on .cmxa and .cmxs files, only .cma I guess; and the next version won't link gtkInit.cmx by default
lopex has joined #ocaml
avsm has quit [Quit: Leaving.]
<rwmjones>
adrien: addition of gtkInit is an improvement
<rwmjones>
I don't really know enough about META files to comment intelligently on the rest
<adrien>
rwmjones: thelema thinks that it's always possible that you don't want to init gtk immediately and I think I agree
<rwmjones>
guess so, I can't really imagine when that would arise in any programs I wrote though
<adrien>
in godi, which has gtkInit by default, if you're outside of X, ocamlnet-gtk2 will fail during configure because it's trying to init gtk, I have to check if gtkInit is the cause
<adrien>
I agree it's not the usual case but ... hmmm, maybe it could be default but not force, with a "no auto init" predicate or subpackage
avsm has joined #ocaml
_andre has joined #ocaml
Znudzon has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
dnolen has joined #ocaml
ztfw has joined #ocaml
munga has joined #ocaml
hcarty has joined #ocaml
hcarty has quit [Client Quit]
metasyntax|work has joined #ocaml
hcarty has joined #ocaml
<hcarty>
thelema: http://vpaste.net/HtsWi? -- A patch which should allow flags to be passed to both explicitly installed packages and/or to explicity installed packages + automatically installed packages
<hcarty>
thelema: A patch for odb.ml that is
eb4890 has joined #ocaml
<thelema>
hcarty: thanks, I'll apply this now
<hcarty>
thelema: I also have a --godi flag patch and a Arg.align patch which cleans up the --help output a bit
<hcarty>
thelema: If you are interested in those as well
<thelema>
can you make push requests on github?
chrissbx has joined #ocaml
<thelema>
I'm having trouble `git am`-ing this patch
<thelema>
$ git am configopt.patch
<thelema>
Patch format detection failed.
<adrien>
hcarty: what does the godi-patch do?
<hcarty>
thelema: Oh - maybe due to the commit hash at the top?
<thelema>
hcarty: nope, deleting that still results in failure
<hcarty>
adrien: Not much - it adds a --godi flag which automatically sets "--prefix $GODI_LOCALBASE" for all packages
<hcarty>
thelema: Ok. What's the process to perform a push request?
<adrien>
hcarty: could be used from inside godi,
<adrien>
?
metasyntax|work has quit [Quit: WeeChat [quit]]
<adrien>
meaning, if I made a new package today, I could use that?
<hcarty>
adrien: It, in theory, would make using odb with GODI a bit easier. But it would not ease creating a GODI package.
<hcarty>
thelema: Fork and then send a request?
<adrien>
hcarty: ok, I know how to make godi packages now anyway ;-)
<thelema>
yes
<thelema>
fork, commit to the fork. If you can't figure out the push request, I can pull easily anyway.
<hcarty>
thelema: This is my first time using github as anything other than a tool for working with someone else's project... I forked, pushed and submitted a pull request
<hcarty>
thelema: Let me know if it works and/or if I need to change anything!
<thelema>
the pull worked, I should still look over the other two patches...
<thelema>
but they seem as trivial as the first, so...
<thelema>
very good.
<hcarty>
thelema: Each one is pretty trivial. If one or more of them gets cut later I won't be offended :-)
<thelema>
got it.
<thelema>
hcarty: is --godi needed - can't the existence of the godi environment variable trigger that behavior?
dnolen has quit [Quit: dnolen]
ftrvxmtrx_ has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
hcarty_ has joined #ocaml
<hcarty_>
thelema: The flag would allow a godi user to keep odb packages in the .odb directory
<hcarty_>
I'm not sure which is the best default, but I think it would be good to support both
ftrvxmtrx_ is now known as ftrvxmtrx
<thelema>
is there much of a reason to install packages outside the godi dir if there is one?
<hcarty_>
Mostly for packages with binaries installed in bin I would think
<hcarty_>
Testing and tweaking - it's easier to blow out and rebuild .odb than all of godi if something goes wrong
<thelema>
yes, I've done this often.
metasyntax|work has joined #ocaml
Znudzon has quit [Quit: ASCII a stupid question, get a stupid ANSI!]
ikaros has joined #ocaml
sebz has joined #ocaml
AndChat- has joined #ocaml
hcarty_ has quit [Ping timeout: 255 seconds]
AndChat- has quit [Read error: Connection reset by peer]
ankit9 has quit [Quit: Leaving]
<thelema>
hcarty: what's the command to install utop via odb?
<hcarty>
thelema: It may be utop scanning through the available modules for its completion information
<thelema>
interesting... I'll try this out a bit - its tab completion is definitely better than the lwt toplevel's
<hcarty>
thelema: It even provides a bit of minor syntax highlighting if you copy over one of the example rc files
<hcarty>
NaCl: What bugs have you run up against?
larhat has quit [Quit: Leaving.]
blinky- has joined #ocaml
joewilliams_away is now known as joewilliams
Ptival has joined #ocaml
lopexx has joined #ocaml
eikke has quit [Ping timeout: 276 seconds]
sepp2k has joined #ocaml
rby has quit [Ping timeout: 276 seconds]
iratsu has quit [Ping timeout: 260 seconds]
drake01 has joined #ocaml
avsm has quit [Quit: Leaving.]
junsuijin has joined #ocaml
lopex has quit []
lopexx has quit []
lopex has joined #ocaml
orbitz has quit [Ping timeout: 250 seconds]
metasyntax|work has quit [Read error: Operation timed out]
sebz_ has joined #ocaml
sebz has quit [Read error: Connection reset by peer]
sebz_ is now known as sebz
munga has quit [Ping timeout: 260 seconds]
nimred has quit [Ping timeout: 250 seconds]
nimred has joined #ocaml
drake01 has quit [Ping timeout: 250 seconds]
shachaf has quit [Ping timeout: 240 seconds]
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
eikke has joined #ocaml
shachaf has joined #ocaml
srcerer has joined #ocaml
ulfdoz has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
ikaros has joined #ocaml
eikke has quit [Ping timeout: 246 seconds]
avsm has joined #ocaml
<thelema>
given a list of ([`A|`B|`C]*'a), I want to "sort" it so that any adjacent `A and `B are not ordered `B;`A
<thelema>
i.e. any runs of ABABABAABBB get sorted AAAAABBBBBB, but C's divide these runs
<thelema>
(there's also a reduce function on 'a -> 'a -> 'a that can only be applied to adjacent values with the same tag (i.e. [A,x; A,y] -> [A,reduce x y])
thomasga has quit [Quit: Leaving.]
sepp2k has quit [Ping timeout: 255 seconds]
ftrvxmtrx has joined #ocaml
eikke has joined #ocaml
sepp2k has joined #ocaml
<hcarty>
thelema: Split the list into AB C BA ...; sort each AB/BA list; join the resulting lists back together
<hcarty>
thelema: I think BatList has a group_by or similar function to do the splitting
ftrvxmtrx has quit [Read error: Connection reset by peer]
ftrvxmtrx has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
<thelema>
I wonder how much more efficient my handwritten recursion will be than that
<thelema>
If I had more than three tags, I'd definitely do it that way.
ftrvxmtrx has quit [Quit: Leaving]
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
ygrek has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
orbitz has joined #ocaml
sebz has quit [Client Quit]
sebz has joined #ocaml
avsm has quit [Quit: Leaving.]
ztfw has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
avsm has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
eb4890 has quit [Ping timeout: 240 seconds]
sebz has quit [Quit: Computer has gone to sleep.]
ulfdoz has quit [Ping timeout: 252 seconds]
Snark has quit [Quit: Quitte]
Cyanure has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 250 seconds]
ztfw has joined #ocaml
_andre has quit [Quit: leaving]
ftrvxmtrx has quit [Read error: Connection reset by peer]
ftrvxmtrx has joined #ocaml
edwin has quit [Remote host closed the connection]
<_habnabit>
hmm, is there a better way to write `(flip f) x` ? it seems I've just done that twice in the same patch.
<malouin>
(x |> f) maybe? hold on...
<malouin>
nope nm
<_habnabit>
oh, heh. `flip f x`
avsm has quit [Quit: Leaving.]
blinky- has quit [Quit: /quat]
ztfw has quit [Remote host closed the connection]
sebz has joined #ocaml
ikaros has joined #ocaml
iratsu has joined #ocaml
sebz has quit []
munga has joined #ocaml
ftrvxmtrx has quit [Read error: Operation timed out]
ftrvxmtrx has joined #ocaml
junsuijin has quit [Ping timeout: 250 seconds]
sebz has joined #ocaml
eikke has quit [Ping timeout: 250 seconds]
munga has quit [Quit: Ex-Chat]
junsuijin has joined #ocaml
lopex has quit [Ping timeout: 252 seconds]
dnolen has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
lopex has joined #ocaml
lamawithonel_ has joined #ocaml
lamawithonel has quit [Ping timeout: 250 seconds]
ftrvxmtrx has quit [Read error: Connection reset by peer]