adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | Upcoming OCaml MOOC: https://huit.re/ocamlmooc | OCaml 4.03.0 release notes: http://ocaml.org/releases/4.03.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
smondet has quit [Ping timeout: 244 seconds]
Heasummn has joined #ocaml
lpw25[m] has quit [Remote host closed the connection]
timclassic has quit [Remote host closed the connection]
regnat[m] has quit [Remote host closed the connection]
Bluddy[m] has quit [Remote host closed the connection]
M-ErkkiSeppl has quit [Remote host closed the connection]
M-pesterhazy has quit [Write error: Connection reset by peer]
M-martinklepsch has quit [Write error: Broken pipe]
srenatus[m] has quit [Write error: Broken pipe]
barkmadley[m] has quit [Write error: Connection reset by peer]
M-Illandan has quit [Write error: Connection reset by peer]
M-jimt has quit [Write error: Connection reset by peer]
kamog has quit [Quit: Konversation terminated!]
kamog has joined #ocaml
mcc has joined #ocaml
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 264 seconds]
eh_eff_ has quit [Ping timeout: 272 seconds]
segmond has joined #ocaml
Nahra has quit [Ping timeout: 244 seconds]
Simn has quit [Quit: Leaving]
silver has quit [Quit: rakede]
kv has joined #ocaml
tmtwd has joined #ocaml
orbifx-m has joined #ocaml
orbifx-m2 has quit [Ping timeout: 264 seconds]
brunoro has joined #ocaml
fraggle_ has quit [Ping timeout: 272 seconds]
brunoro has quit [Ping timeout: 264 seconds]
mfp_ has quit [Ping timeout: 272 seconds]
jao has quit [Remote host closed the connection]
orbifx-m2 has joined #ocaml
profmaad has quit [Quit: leaving]
orbifx-m has quit [Ping timeout: 264 seconds]
tmtwd has quit [Ping timeout: 264 seconds]
lpw25[m] has joined #ocaml
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 264 seconds]
jao has joined #ocaml
nicholasf has joined #ocaml
fluter has quit [Ping timeout: 244 seconds]
nomicflux has joined #ocaml
ee_ks has quit [Ping timeout: 244 seconds]
Heasummn has quit [Quit: Leaving]
rgrinberg has joined #ocaml
fluter has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
brunoro has joined #ocaml
jao has quit [Ping timeout: 272 seconds]
brunoro has quit [Ping timeout: 272 seconds]
fluter has quit [Ping timeout: 272 seconds]
fluter has joined #ocaml
nomicflux has quit [Quit: nomicflux]
shinnya has quit [Ping timeout: 264 seconds]
shinnya has joined #ocaml
fluter has quit [Ping timeout: 272 seconds]
shinnya has quit [Ping timeout: 244 seconds]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 264 seconds]
smondet has joined #ocaml
myst|fon has quit [Quit: Connection closed for inactivity]
tmtwd has joined #ocaml
average has quit [Ping timeout: 244 seconds]
average has joined #ocaml
malina has joined #ocaml
ygrek_ has quit [Ping timeout: 272 seconds]
brunoro has joined #ocaml
orbifx-m has joined #ocaml
brunoro has quit [Ping timeout: 244 seconds]
fluter has joined #ocaml
orbifx-m2 has quit [Ping timeout: 272 seconds]
ygrek_ has joined #ocaml
orbifx-m has quit [Ping timeout: 264 seconds]
orbifx-m has joined #ocaml
slash^ has joined #ocaml
tmtwd has quit [Ping timeout: 264 seconds]
peddie has joined #ocaml
MercurialAlchemi has joined #ocaml
regnat[m] has joined #ocaml
M-martinklepsch has joined #ocaml
timclassic has joined #ocaml
M-jimt has joined #ocaml
Bluddy[m] has joined #ocaml
barkmadley[m] has joined #ocaml
M-pesterhazy has joined #ocaml
srenatus[m] has joined #ocaml
M-Illandan has joined #ocaml
rgrinberg has quit [Ping timeout: 272 seconds]
brunoro has joined #ocaml
orbifx-m2 has joined #ocaml
average has quit [Quit: leaving]
orbifx-m has quit [Ping timeout: 264 seconds]
brunoro has quit [Ping timeout: 264 seconds]
ygrek_ has quit [Ping timeout: 272 seconds]
orbifx-m has joined #ocaml
tane has joined #ocaml
orbifx-m2 has quit [Ping timeout: 264 seconds]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 244 seconds]
ggole has joined #ocaml
rossberg has quit [Ping timeout: 265 seconds]
ggole_ has joined #ocaml
ggole has quit [Ping timeout: 264 seconds]
copy` has quit [Quit: Connection closed for inactivity]
rossberg has joined #ocaml
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 264 seconds]
M-ErkkiSeppl has joined #ocaml
shinnya has joined #ocaml
brunoro has joined #ocaml
orbifx-m2 has joined #ocaml
average has joined #ocaml
orbifx-m has quit [Ping timeout: 244 seconds]
brunoro has quit [Ping timeout: 272 seconds]
Simn has joined #ocaml
nicholasf has quit [Remote host closed the connection]
AlexRussia_ has quit [Ping timeout: 244 seconds]
nicholasf has joined #ocaml
AlexRussia_ has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 244 seconds]
kv has quit [Quit: Textual IRC Client: www.textualapp.com]
fluter has quit [Ping timeout: 272 seconds]
freusque has joined #ocaml
freusque has quit [Ping timeout: 244 seconds]
fluter has joined #ocaml
freusque has joined #ocaml
Algebr has joined #ocaml
brunoro has joined #ocaml
orbitz_ has quit [Quit: Reconnecting]
orbitz has joined #ocaml
brunoro has quit [Ping timeout: 272 seconds]
orbifx-m has joined #ocaml
freusque has quit [Ping timeout: 272 seconds]
orbifx-m2 has quit [Ping timeout: 244 seconds]
orbifx-m2 has joined #ocaml
freusque has joined #ocaml
orbifx-m has quit [Ping timeout: 244 seconds]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 272 seconds]
orbifx-m has joined #ocaml
freusque has quit [Ping timeout: 272 seconds]
freusque has joined #ocaml
orbifx-m2 has quit [Ping timeout: 244 seconds]
Nahra has joined #ocaml
freusque has quit [Ping timeout: 244 seconds]
freusque has joined #ocaml
freusque has quit [Client Quit]
lolisa has joined #ocaml
malina has quit [Remote host closed the connection]
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
tane has quit [Quit: Leaving]
mfp_ has joined #ocaml
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 264 seconds]
mfp_ is now known as mfp
freusque has joined #ocaml
darkf has quit [Ping timeout: 264 seconds]
darkf has joined #ocaml
malina has joined #ocaml
Lastpixl has quit [Quit: Lastpixl]
freusque has quit [Ping timeout: 272 seconds]
brunoro has joined #ocaml
myst|fon has joined #ocaml
zpe has joined #ocaml
brunoro has quit [Ping timeout: 264 seconds]
lolisa has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
silver has joined #ocaml
frug72 has joined #ocaml
slash_ has joined #ocaml
fraggle_ has joined #ocaml
slash^ has quit [Ping timeout: 272 seconds]
<theblatte> jmasseo_: wow, a liquidsoap user! did you really use it?
Simn has quit [Read error: Network is unreachable]
Simn has joined #ocaml
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 244 seconds]
AlexRussia_ has quit [Ping timeout: 264 seconds]
spion has quit [Ping timeout: 276 seconds]
<zozozo> what would be the simplest way to get a real date from a timestamp *without* using the Unix module (because js_of_ocaml) ?
<reynir> argh, merlin has started completing e.g. int_of_fl to Pervasives.int_of_float
<reynir> How did I do that :o
spion has joined #ocaml
minn has joined #ocaml
<jmasseo_> theblatte: yeah for some internet radio stuff i was doing
<jmasseo_> theblatte: i used it to create an IRC based turntable.fm clone
<theblatte> jmasseo_: awesome! :)
<jmasseo_> at the time it was the best or only tool that did the sort of slice and dicing on media streams i wanted
zpe has quit [Remote host closed the connection]
brunoro has joined #ocaml
Slash has joined #ocaml
brunoro has quit [Ping timeout: 244 seconds]
slash_ has quit [Ping timeout: 272 seconds]
Sim_n has joined #ocaml
Simn has quit [Ping timeout: 272 seconds]
<flux> theblatte, I use liquidsoad as well! when I have people over at summer I have two mpds, one with user-accessible playlist and the other playing network streams. when the first one ends, it cross-fades to the second one (and back if it restarts). works great.
<theblatte> amazing!
<theblatte> this was developed at my school, for a school radio piloted via IRC :)
vapid has quit [Ping timeout: 272 seconds]
<theblatte> jmasseo_: yes I believe that's right
kamog` has joined #ocaml
kamog has quit [Ping timeout: 264 seconds]
Algebr has quit [Remote host closed the connection]
Algebr has joined #ocaml
Slash has quit [Ping timeout: 272 seconds]
Algebr has quit [Ping timeout: 264 seconds]
llamatarianism has joined #ocaml
<llamatarianism> hullo
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 244 seconds]
nomicflux has joined #ocaml
AlexRussia_ has joined #ocaml
rgrinberg has joined #ocaml
AlexRussia_ has quit [Ping timeout: 244 seconds]
nomicflux has quit [Quit: nomicflux]
AlexRussia_ has joined #ocaml
Algebr has joined #ocaml
Algebr has quit [Remote host closed the connection]
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 272 seconds]
nomicflux has joined #ocaml
ocaml848 has joined #ocaml
tmtwd has joined #ocaml
ocaml848 has quit [Ping timeout: 240 seconds]
brunoro has joined #ocaml
sh0t has joined #ocaml
copy` has joined #ocaml
orbifx-m2 has joined #ocaml
brunoro has quit [Ping timeout: 244 seconds]
orbifx-m has quit [Ping timeout: 272 seconds]
nomicflux has quit [Quit: nomicflux]
nicholasf has quit []
<reynir> Hmm, is int and nativeint the same?
orbifx-m2 has quit [Read error: Connection reset by peer]
orbifx-m2 has joined #ocaml
Sim_n has quit [Read error: Network is unreachable]
Sim_n has joined #ocaml
TheLemonMan has joined #ocaml
orbifx-m3 has joined #ocaml
fraggle-boate_ is now known as fraggle_boate
fraggle_boate is now known as fraggle-boate
orbifx-m2 has quit [Ping timeout: 244 seconds]
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 244 seconds]
Algebr has joined #ocaml
yomimono has joined #ocaml
maufred has quit [Remote host closed the connection]
tmtwd has quit [Ping timeout: 244 seconds]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 265 seconds]
tmtwd has joined #ocaml
kamog` is now known as kamog
jhaberku has joined #ocaml
<jhaberku> Topkg and odig together are really great.
<llamatarianism> I've never used/heard of either of those things
<jhaberku> llamatarianism: Both fron Erratique. Topkg is like a high-level packager/build runner that works with ocamlbuild. odig invokes ocamldoc but aggregates docs for all installed packages on the system.
<llamatarianism> jhaberku: those both sound pretty great
<llamatarianism> I'll have a look into them. thanks for letting me know about their existence :)
<jhaberku> :-)
<jhaberku> Actually, I have a question. If I have a single-module library, what's the difference from ocamlbuild's perspective of including an *.mllib file or not?
tmtwd has quit [Ping timeout: 252 seconds]
yomimono has quit [Ping timeout: 252 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
octachron has joined #ocaml
AlexDenisov has joined #ocaml
yomimono has joined #ocaml
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 252 seconds]
yomimono has quit [Ping timeout: 252 seconds]
nomicflux has joined #ocaml
rgrinberg has quit [Quit: WeeChat 1.5]
rgrinberg has joined #ocaml
tane has joined #ocaml
<llamatarianism> can anyone help me out with this parser I'm writing
<llamatarianism> I'm trying to parse an ocaml-like language (you can basically just treat it like ocaml)
fraggle_ has quit [Read error: Connection reset by peer]
maufred has joined #ocaml
ygrek_ has joined #ocaml
ygrek_ has quit [Ping timeout: 272 seconds]
Algebr has quit [Ping timeout: 265 seconds]
<octachron> llamatarianism, if I understand you correctly, you want newlines token after = to be ignored?
<llamatarianism> octachron: I want newlines in the middle of any statement to be ignored
<llamatarianism> I just want to check for newlines after entire statements
<llamatarianism> let me make a longer example:
<octachron> question, do you have top level expression in your language?
<llamatarianism> top level expressions?
<llamatarianism> like, being to put stuff anywhere rather than having an entry point/
<octachron> f() ;;
<octachron> for instance
<llamatarianism> yeah
<octachron> then how do you distinguish for "f \n x" between f; x and (f x) ?
<llamatarianism> fair point
brunoro has joined #ocaml
slash^ has joined #ocaml
brunoro has quit [Ping timeout: 272 seconds]
fraggle_ has joined #ocaml
sh0t has quit [Ping timeout: 272 seconds]
jhaberku has quit [Ping timeout: 265 seconds]
<llamatarianism> hrm.
<llamatarianism> `;;` is ugly as sin and I'd really like to get rid of it in this language I'm making, but I can't think of a better alternative.
<llamatarianism> maybe `.` could be used for ending statements and `:` could be used for module access, erlang-style? `lists:seq(1, 10, 3)`
<octachron> llamatarianism, at the same time, I don't remember the last time I used ";;" outside of the toplevel in OCaml
<llamatarianism> me neither
<llamatarianism> but if I'm going to have toplevel expressions, I think I kinda need it.
<llamatarianism> https://gist.github.com/llamatarianism/c08dca69a626cc6fa45c908c1ed6185a <- this is a decent solution I think
<llamatarianism> you don't need a separator between actual statements
<llamatarianism> but toplevel expressions are separated with dots
<octachron> not necessarily, for instance, the revised syntax used "do {e1; ...; en }" for toplevel expressions
<llamatarianism> I did consider that
<llamatarianism> might do that
<llamatarianism> ideally I'd use a word other than `do` though
<llamatarianism> because at some point in the future, I might try to add haskell-style `do` notation
<llamatarianism> and `begin` and `end` are already taken.
<llamatarianism> I could just remove toplevel expressions and make people use `let () = ...`
sh0t has joined #ocaml
hhx has joined #ocaml
groovy2shoes has joined #ocaml
hhx has quit [Ping timeout: 248 seconds]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 265 seconds]
Algebr has joined #ocaml
malina has quit [Ping timeout: 264 seconds]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 264 seconds]
<ggole_> * todo: name them less disastrously
octachron has quit [Remote host closed the connection]
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pierpa has quit [Ping timeout: 244 seconds]
Algebr has quit [Ping timeout: 248 seconds]
octachron has joined #ocaml
Algebr has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
jao has joined #ocaml
pandorax has joined #ocaml
pandorax has left #ocaml [#ocaml]
pandorax has joined #ocaml
pandorax has left #ocaml [#ocaml]
rgrinberg has quit [Quit: WeeChat 1.5]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
brunoro has joined #ocaml
Algebr has quit [Ping timeout: 252 seconds]
kakadu has joined #ocaml
ggole_ has quit []
brunoro has quit [Ping timeout: 248 seconds]
Algebr has joined #ocaml
hhx has joined #ocaml
Algebr has quit [Ping timeout: 272 seconds]
hhx has quit [Ping timeout: 265 seconds]
vapid has joined #ocaml
Algebr has joined #ocaml
hhx has joined #ocaml
vapid is now known as soros_gyurka
Algebr has quit [Ping timeout: 265 seconds]
dmj` has joined #ocaml
orbifx has joined #ocaml
Algebr has joined #ocaml
orbifx-m has joined #ocaml
Algebr has quit [Ping timeout: 244 seconds]
orbifx-m3 has quit [Ping timeout: 264 seconds]
hhx has quit [Ping timeout: 265 seconds]
noethics has joined #ocaml
<orbifx> rgrinberg: there?
struk|desk has quit [Read error: Connection reset by peer]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 265 seconds]
<orbifx> Quoi de neuf?
chris2 has quit [Ping timeout: 272 seconds]
<rgrinberg> orbifx: hey
MercurialAlchemi has joined #ocaml
orbifx-m2 has joined #ocaml
<orbifx> quick question rgrinberg: using Lwt's >>= wraps the values in Lwt.t
<orbifx> is that ok for opium's routing functions?
<orbifx> Ow i see, respond' is Lwt.t wrapped already
<rgrinberg> yeah
<orbifx> And I will change the other expressions too, to >>=
orbifx-m has quit [Ping timeout: 265 seconds]
soros_gyurka is now known as vapid
orbifx-m has joined #ocaml
chris2 has joined #ocaml
orbifx-m2 has quit [Ping timeout: 265 seconds]
<rgrinberg> makes sense. just make sure you're doing IO with lwt
dmj` has quit [Ping timeout: 252 seconds]
hhx has joined #ocaml
<orbifx> will do
al-damiri has joined #ocaml
tane has quit [Quit: Leaving]
orbifx-m has quit [Ping timeout: 264 seconds]
orbifx-m has joined #ocaml
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 264 seconds]
llamatarianism has quit [Quit: Page closed]
dmj` has joined #ocaml
<orbifx> rgrinberg: is the a function for urldecoding in opium? Or cohttp?
<vapid> wtf
<vapid> opium
<vapid> thats illegal
<vapid> why name your library
<vapid> after an illegal drug
brunoro has joined #ocaml
<vapid> this seriously makes no sense
vapid is now known as xen3
<orbifx> xen3: opium is used to feed camels, it's fine
<xen3> do you have a single fact to back that up?
brunoro has quit [Ping timeout: 248 seconds]
<nicoo> xen3: People have named perfume after opium
<xen3> those people were retarded
<nicoo> Or, you know, perhaps you are just a “tiny bit” anal-retentive about something that is ultimately irrelevant?
<xen3> no?
<xen3> perhaps they are retarded
<xen3> i mean extremely retarded
nomicflux has quit [Quit: nomicflux]
dmj` has quit [Remote host closed the connection]
<xen3> next time i write something i'll call it monosodium glutamate
<xen3> or maybe "dog"
<xen3> or perhaps "a carefully decorated wall"
<noethics> why cant i find the operator |> defined anywhere
<noethics> i know what it does but it's not in the manual as far as i can tell
<nicoo> noethics: x |> f is usually f x
<noethics> nicoo, i know but is it built in?
<noethics> it seems to be
<rgrinberg> search for |>
<noethics> oh thanks
<nicoo> rgrinberg: Dang, you were too fast
<nicoo> noethics: In general, things that are in-scope without opening any module come from Pervasives
<noethics> right ok
MercurialAlchemi has quit [Ping timeout: 252 seconds]
hhx has quit [Ping timeout: 265 seconds]
<orbifx> rgrinberg: any url string decoding functions?
brunoro has joined #ocaml
fraggle_ has quit [Remote host closed the connection]
Algebr has joined #ocaml
brunoro has quit [Ping timeout: 244 seconds]
silver_ has joined #ocaml
fraggle_ has joined #ocaml
Algebr has quit [Ping timeout: 252 seconds]
silver has quit [Ping timeout: 272 seconds]
|jbrown| is now known as jbrown
kakadu has quit [Remote host closed the connection]
Heasummn has joined #ocaml
orbifx-m2 has joined #ocaml
orbifx-m has quit [Ping timeout: 248 seconds]
silver_ is now known as silver
Heasummn has quit [Quit: Leaving]
Heasummn has joined #ocaml
Heasummn has quit [Client Quit]
Heasummn has joined #ocaml
orbifx-m has joined #ocaml
orbifx-m2 has quit [Ping timeout: 265 seconds]
rgrinberg has quit [Ping timeout: 265 seconds]
octachron has quit [Quit: Leaving]
brunoro has joined #ocaml
struk|desk has joined #ocaml
Algebr has joined #ocaml
Algebr is now known as Guest70602
brunoro has quit [Ping timeout: 264 seconds]
Guest70602 has quit [Ping timeout: 265 seconds]
hhx has joined #ocaml
orbifx has quit [Ping timeout: 248 seconds]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 244 seconds]