gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
lopexx has joined #ocaml
lopex has quit [Ping timeout: 260 seconds]
pdhborges1 has left #ocaml []
ymasory has joined #ocaml
boscop_ has quit [Ping timeout: 246 seconds]
boscop_ has joined #ocaml
boscop_ has quit [Excess Flood]
boscop_ has joined #ocaml
boscop_ has quit [Excess Flood]
dnolen has quit [Quit: dnolen]
boscop_ has joined #ocaml
fourier has quit [Remote host closed the connection]
boscop_ has quit [Ping timeout: 246 seconds]
boscop_ has joined #ocaml
raphscallion has joined #ocaml
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
smerz has quit [Remote host closed the connection]
boscop_ has quit [Ping timeout: 246 seconds]
boscop_ has joined #ocaml
alfa_y_omega has quit [Ping timeout: 258 seconds]
alfa_y_omega has joined #ocaml
boscop_ has quit [Ping timeout: 246 seconds]
dnolen has joined #ocaml
ymasory has quit [Quit: Leaving]
ulfdoz has joined #ocaml
boscop has joined #ocaml
lamawithonel has quit [Ping timeout: 246 seconds]
lamawithonel has joined #ocaml
boscop has quit [Read error: Connection reset by peer]
boscop_ has joined #ocaml
ankit9 has quit [Ping timeout: 246 seconds]
boscop__ has joined #ocaml
boscop_ has quit [Read error: Connection reset by peer]
dnolen has quit [Quit: dnolen]
ankit9 has joined #ocaml
avsm has joined #ocaml
ymasory has joined #ocaml
philtor has joined #ocaml
raphscallion has quit [Quit: raphscallion]
raphscallion has joined #ocaml
boscop__ has quit [Ping timeout: 246 seconds]
boscop__ has joined #ocaml
ankit9 has quit [Remote host closed the connection]
jderque has joined #ocaml
ulfdoz has quit [Ping timeout: 248 seconds]
boscop__ has quit [Ping timeout: 246 seconds]
ankit9 has joined #ocaml
joelr has joined #ocaml
<joelr> moin
<joelr> gildor: i'm here if you need me
ikaros has joined #ocaml
<joelr> gildor: i have a patch for you that solves yesterday's issue
Yoric has joined #ocaml
raphscallion has quit [Quit: raphscallion]
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
raphscallion has joined #ocaml
vivanov has joined #ocaml
<joelr> here's a patch that greatly speeds up oasis 0.2.0: https://gist.github.com/994781
<joelr> gildor: ^
<joelr> thelema: ^
Tianon has quit [Quit: brb]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
hto has quit [Ping timeout: 276 seconds]
joewilliams is now known as joewilliams_away
Cyanure has joined #ocaml
Yoric has quit [Quit: Leaving.]
jderque has quit [Quit: leaving]
philtor has quit [Read error: Operation timed out]
<f[x]> strange to see ocamlbuild-specific logic in base
<joelr> f[x]: are you talking about my patch or about existing oasis code?
<joelr> f[x]: because i'm not doing anything differently from what oasis does already
<f[x]> ok
<joelr> f[x]: if you look at your setup.ml, i simply copied the code that figured out the extension from a bit further down in setup.ml to a bit further up
<f[x]> ok :)
<joelr> f[x]: the benefit for us is that rather than having ocamlbuild run 14 (or 28) times it now runs just once
<joelr> we have 13 executables and then there are libraries which is another run of ocamlbuild, that makes 14. in some cases (byte/native?) it can actually run twice
<joelr> which is 28
<f[x]> this is nice
impy has quit [Ping timeout: 246 seconds]
<flux> I guess running it only once gives it better parallelizing opportunities as well?
<joelr> the "some cases" is when you run 'make test'
<joelr> f[x]: ^
<joelr> flux: yes, that too
<joelr> and it only figured out the dependency graph once
seafood has joined #ocaml
seafood has quit [Client Quit]
boscop has joined #ocaml
Yoric has joined #ocaml
boscop has quit [Read error: Connection reset by peer]
edwin has joined #ocaml
boscop has joined #ocaml
boscop has quit [Ping timeout: 250 seconds]
boscop has joined #ocaml
larhat has joined #ocaml
ftrvxmtrx has joined #ocaml
<joelr> has anyone used camomile? utf8?
<joelr> i need to escape utf8 characters in a string
ikaros has quit [Quit: Ex-Chat]
<joelr> never mind, camomile has the functionality
raphscallion has quit [Quit: raphscallion]
oriba has joined #ocaml
jderque has joined #ocaml
vivanov has quit [Quit: Changing server]
vivanov has joined #ocaml
vivanov has quit [Client Quit]
vivanov has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 240 seconds]
lopexx has quit [Ping timeout: 240 seconds]
avsm has joined #ocaml
avsm1 has quit [Ping timeout: 260 seconds]
DimitryKakadu has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Read error: Connection reset by peer]
lopex has joined #ocaml
avsm has joined #ocaml
avsm1 has quit [Ping timeout: 246 seconds]
avsm has quit [Quit: Leaving.]
Yoric1 has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
hto has joined #ocaml
ygrek has joined #ocaml
Tianon has quit [Read error: Operation timed out]
jld has quit [Read error: Operation timed out]
vivanov has quit [Quit: Lost terminal]
vivanov has joined #ocaml
vivanov has quit [Client Quit]
vivanov has joined #ocaml
mnabil has joined #ocaml
vivanov has quit [Read error: No route to host]
_andre has joined #ocaml
emmanuelux has joined #ocaml
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
jld has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
mnabil has quit [Ping timeout: 244 seconds]
chegibari has joined #ocaml
jld has quit [Read error: Operation timed out]
jderque has quit [Quit: leaving]
Tianon has quit [Ping timeout: 248 seconds]
chegibari has quit [Remote host closed the connection]
mnabil has joined #ocaml
Yoric has joined #ocaml
Yoric1 has quit [Read error: Connection reset by peer]
Snark_ has joined #ocaml
jld has joined #ocaml
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
mnabil has quit [Ping timeout: 248 seconds]
mnabil has joined #ocaml
Snark_ is now known as Snark
vivanov has joined #ocaml
mnabil has quit [Ping timeout: 246 seconds]
ymasory has quit [Quit: Leaving]
mnabil has joined #ocaml
pdhborges has joined #ocaml
<joelr> gildor: what do you think of my patch?
<gildor> joelr: I take the idea, but does it a little different
<joelr> gildor: how are you doing it?
<joelr> gildor: copy rules in myocamlbuild?
<gildor> I modify evs to take into account the new name and change the name when installing
<gildor> it works (test suite is ok)
<thelema> gildor: did you notice the feature request I put on the bug tracker?
<joelr> gildor: does it invoke ocamlbuild only once?
<joelr> gildor: because that's the result i was looking for with my patch
<gildor> joelr: ocamlbuild once -> yes
<gildor> thelema: yes I notice it
<joelr> gildor: awesome! what do you do in case my executable name is different from MainIs, though?
<joelr> how do you handle that?
<gildor> Executable foo MainIs: bar.ml will call ocamlbuild bar.byte and the value $foo will contain bar.byte
<joelr> gildor: so no copying except for installation. excellent!
<joelr> gildor: no Std and StdRename as well, i gather. correct?
raphscallion has joined #ocaml
<gildor> joelr: yes I completely remove Std and StdRename from the code
<gildor> ~60 lines less
Snark has quit [Quit: Ex-Chat]
jamii has joined #ocaml
vivanov has quit [Quit: Lost terminal]
alfa_y_omega has quit [Ping timeout: 244 seconds]
<joelr> gildor: woot!
<joelr> gildor: when is the next release?
alfa_y_omega has joined #ocaml
<gildor> joelr: I am closing some bug and will do a 0.2.1~alpha1 release
<joelr> gildor: awesome
raphscallion has quit [Quit: raphscallion]
snf has left #ocaml []
raphscallion has joined #ocaml
joewilliams_away is now known as joewilliams
lopex has quit [Ping timeout: 252 seconds]
avsm has joined #ocaml
lopex has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 246 seconds]
joelr has quit [Quit: joelr]
ymasory has joined #ocaml
vivanov has joined #ocaml
ankit9 has quit [Quit: Leaving]
emmanuelux has quit [Remote host closed the connection]
lopexx has joined #ocaml
emmanuelux has joined #ocaml
lopex has quit [Ping timeout: 260 seconds]
tildedave has quit [Read error: Operation timed out]
tildedave has joined #ocaml
impy has joined #ocaml
jderque has joined #ocaml
oriba has quit [Remote host closed the connection]
<vivanov> how to print a record to a channel/file ?
<thelema> vivanov: print each of its components
<vivanov> thelema: ok -- will do -- thx
<thelema> or use Marshal, if you don't care how it's represented, but just want to unpack it later
<vivanov> thelema: ok -- ill have a look at that
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 248 seconds]
DimitryKakadu has quit [Remote host closed the connection]
DimitryKakadu has joined #ocaml
rossberg has quit [Ping timeout: 248 seconds]
DimitryKakadu has quit [Remote host closed the connection]
avsm1 has quit [Quit: Leaving.]
ikaros has joined #ocaml
ymasory has quit [Quit: Leaving]
jamii has quit [Ping timeout: 246 seconds]
rossberg has joined #ocaml
raphscallion has quit [Quit: raphscallion]
DimitryKakadu has joined #ocaml
ankit9 has joined #ocaml
avsm has joined #ocaml
DimitryKakadu has quit [Remote host closed the connection]
rfg has joined #ocaml
ulfdoz has joined #ocaml
<hcarty> Cmdliner looks like a potentially interesting addition to the OCaml world -- http://erratique.ch/software/cmdliner
<hcarty> The automated man-ification is an interesting touch.
<thelema> quite. Although it's not a huge step from building a usage screen to man-ification
<thelema> I'm happy with the idea of having the command-line processor control the running of the program, although I'm not impressed by the API design
<hcarty> It seems rather complex for what it's doing. I haven't looked beyond the documentation intro yet though.
lopexx has quit [Read error: Connection reset by peer]
lopex has joined #ocaml
DimitryKakadu has joined #ocaml
rwmjones is now known as rwmjones_afk
boscop__ has joined #ocaml
<adrien> I found the API not that intuitive but it looks manageable
boscop_ has quit [Ping timeout: 246 seconds]
Yoric has quit [Quit: Leaving.]
<thelema> (* Tries. This implementation also maps any non ambiguous prefix of a key to its value. *)
<thelema> interesting...
<thelema> also, this core code for applicative functors:
<thelema> let app (al, f) (al', v) =
<thelema> List.rev_append al al',
<thelema> fun ei cl -> (f ei cl) (v ei cl)
avsm has quit [Quit: Leaving.]
Cyanure has quit [Remote host closed the connection]
<adrien> gah, using gmail's webmail really doesn't cut it when you get a mail with lines as long as 1000 chars ='(
<thelema> gmail doesn't wrap text?
<adrien> not always it seems, or maybe only when sending
<adrien> hmm, said that poorly: it wraps text but on a 1920px screen, it's too wide anyway, and it won't resize to less than 1100px or so so I'm left with huge columns for Gabriel's message ='(
larhat has quit [Quit: Leaving.]
<thelema> adrien: odd - it wraps fine for me.
<adrien> maybe it's because I'm using the "html" interface, but I really need to get my mails somewhere else
<adrien> anyway
ymasory has joined #ocaml
DimitryKakadu has quit [Remote host closed the connection]
DimitryKakadu has joined #ocaml
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
ymasory has quit [Ping timeout: 276 seconds]
olauzon has joined #ocaml
mnabil has quit [Ping timeout: 264 seconds]
philtor has joined #ocaml
mnabil has joined #ocaml
olauzon has quit [Quit: olauzon]
Yoric has joined #ocaml
enthymeme has joined #ocaml
ygrek has joined #ocaml
DimitryKakadu has quit [Remote host closed the connection]
mnabil has quit [Ping timeout: 244 seconds]
ymasory has joined #ocaml
pdhborges has quit [Quit: Leaving.]
ftrvxmtrx has joined #ocaml
oriba has joined #ocaml
chambart has quit [Read error: Operation timed out]
ftrvxmtrx has quit [Read error: Connection reset by peer]
ftrvxmtrx has joined #ocaml
oriba_ has joined #ocaml
chambart has joined #ocaml
oriba has quit [Ping timeout: 276 seconds]
lamawithonel has quit [Ping timeout: 246 seconds]
ymasory has quit [Quit: Leaving]
vivanov has quit [Ping timeout: 276 seconds]
<hcarty> adrien: If you're feeling keyboardy, you could use mutt to connect to gmail through IMAP
<hcarty> Assuming mutt offers some method to wrap long lines
<adrien> hcarty: I'm probably going to use mutt, but what I need some time to get a nice setup (plus I need to download all my emails, which will take some time...)
<hcarty> adrien: You can use mutt to connect to Google's IMAP server(s) directly
<hcarty> And/or copy the mail to be read locally using offlineimap or similar
<adrien> yes, will do something like that when my mind is free of other concerns, and it'll take some time to download the 3GB of data ;-)
<hcarty> I've wanted to try sup, but that would require me to give up easy access to my email from anywhere
<adrien> as far as I'm concerned, I've stopped connecting from public computers ;-)
<hcarty> I'm thinking more from a phone, family member's home or work :-)
<hcarty> Though those all have their potential troubles
<adrien> I don't trust family members', probably because they usually run windows
<hcarty> I would love to find a mail server, supporting IMAP or similar, with reasonable support for server-side search. Something to dump everything in to and still have Gmail-like search available
<adrien> to be honest, I haven't found gmail's search to be great
<adrien> in particular, searching for "fooba" won't return "foobar" and I don't think there's a way around that (I haven't looked in details)
<hcarty> My main complaint with the alternatives is that you trade imperfect seach for no (or very slow) search
_andre has quit [Quit: leaving]
<adrien> in the end, I only want one thing: grep =P
<hcarty> You could go all out and build a mail reader in OCaml, using the SQLite bindings + SQLite's full text search support :-)
<adrien> heheh =)
<adrien> reminds me I made a trie/prefix-tree two years ago
jderque has quit [Quit: leaving]
<adrien> bedtime, good night
rfg has quit [Quit: rfg]
bohanlon has joined #ocaml
GETOUT__ has joined #ocaml
hto_ has joined #ocaml
wishi has quit [Quit: No Ping reply in 180 seconds.]
wishi has joined #ocaml
hto_ has quit [Client Quit]
<GETOUT__> Any good ocaml tutorials people can recommend me?
<thelema> GETOUT__: does this apply to you? http://www.soton.ac.uk/~fangohr/software/ocamltutorial/
<thelema> if you want more of a textbook introduction, use this: www.cs.caltech.edu/courses/cs134/cs134b/book.pdf
<GETOUT__> Thank you
<GETOUT__> I actually printed out, hole punched, and put the third one in a binder
<GETOUT__> I just wanted to see if there are others, talking about practical applications, because I heard Practical Ocaml is complete and utter crap
ygrek has quit [Ping timeout: 246 seconds]
<thelema> then maybe you wany the second one, which gets pretty practical. There's also a new translation of an ocaml/unix book
<GETOUT__> Be still my beating heart
<GETOUT__> Thank you
oriba_ has left #ocaml []
ankit9 has quit [Quit: Leaving]
GETOUT__ has quit [Ping timeout: 252 seconds]
dnolen has joined #ocaml
Yoric has quit [Quit: Leaving.]
rfg has joined #ocaml
edwin has quit [Remote host closed the connection]
<_habnabit> thelema, okay, here's something I just wrote that demonstrates my parentheses waterfall: Array.of_list (List.sort (-) (List.map ...)))
<hcarty> _habnabit: List.map ... |> List.sort ... |> Array.of_list
<_habnabit> hcarty, yeah, I don't have batteries, though.
<hcarty> let ( |> ) x f = f x
<_habnabit> I guess!
<hcarty> _habnabit: I defined that in all of my code (and then in my mini extend stdlib) before moving to Batteries
<hcarty> _habnabit: I think ( & ) can be used for the reverse order. I think ocamlbuild defines it that way by default (let ( & ) f x = f x)
ikaros has quit [Quit: Ex-Chat]
lamawithonel has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
Amorphous has quit [Ping timeout: 260 seconds]
raphscallion has joined #ocaml
raphscallion has quit [Client Quit]
raphscallion has joined #ocaml
raphscallion has quit [Quit: raphscallion]
Amorphous has joined #ocaml
raphscallion has joined #ocaml