adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | Current MOOC: https://huit.re/ocamlmooc | OCaml 4.04.0 release notes: http://ocaml.org/releases/4.04.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
tennix has quit [Client Quit]
pandabo has joined #ocaml
tennix has joined #ocaml
tennix has quit [Client Quit]
chamar_ has quit [Read error: Connection reset by peer]
<tautologico> I think "Heavy" was a nickname, officially it was just Caml
jabroney has left #ocaml [#ocaml]
<tautologico> but "Caml Light" was in opposition to this heavy Caml
<tautologico> actually CAML (Categorical Abstract Machine ML)
<tautologico> or just CAM Language, idk
richi235 has quit [Ping timeout: 260 seconds]
apache2 has joined #ocaml
apache2_ has quit [Ping timeout: 258 seconds]
pandabo has quit [Quit: pandabo]
ngWalrus has quit [Ping timeout: 240 seconds]
ngWalrus has joined #ocaml
AndChat504 has joined #ocaml
AndChat|504 has joined #ocaml
tristero has left #ocaml ["WeeChat 1.6"]
AndChat504 has quit [Ping timeout: 255 seconds]
pandabo has joined #ocaml
Denommus has joined #ocaml
Denommus has quit [Client Quit]
Denommus has joined #ocaml
selite has joined #ocaml
Denommus has quit [Read error: Connection reset by peer]
copy` has quit [Quit: Connection closed for inactivity]
pandabo has quit [Quit: pandabo]
pilne has quit [Quit: Quitting!]
Denommus has joined #ocaml
mfp has quit [Ping timeout: 260 seconds]
selite has quit [Quit: Page closed]
Denommus has quit [Quit: rebooting]
Denommus has joined #ocaml
AndChat504 has joined #ocaml
AndChat-504 has joined #ocaml
AndChat|504 has quit [Read error: Connection reset by peer]
AndChat|504 has joined #ocaml
AndChat504 has quit [Ping timeout: 240 seconds]
AndChat504 has joined #ocaml
AndChat-504 has quit [Ping timeout: 258 seconds]
AndChat|504 has quit [Ping timeout: 240 seconds]
AndChat|504 has joined #ocaml
AndChat504 has quit [Ping timeout: 255 seconds]
pandabo has joined #ocaml
cdidd has quit [Ping timeout: 260 seconds]
AndChat504 has joined #ocaml
AndChat-504 has joined #ocaml
AndChat|504 has quit [Ping timeout: 258 seconds]
AndChat504 has quit [Ping timeout: 260 seconds]
AndChat504 has joined #ocaml
AndChat-504 has quit [Ping timeout: 260 seconds]
mengu has quit [Remote host closed the connection]
pandabo has left #ocaml [#ocaml]
AndChat|504 has joined #ocaml
AndChat-504 has joined #ocaml
AndChat504 has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
AndChat|504 has quit [Ping timeout: 258 seconds]
AndChat504 has joined #ocaml
AndChat-504 has quit [Read error: Connection reset by peer]
AndChat|504 has joined #ocaml
AndChat504 has quit [Ping timeout: 258 seconds]
AndChat504 has joined #ocaml
AndChat-504 has joined #ocaml
AndChat|504 has quit [Ping timeout: 258 seconds]
AndChat504 has quit [Ping timeout: 255 seconds]
AndChat-504 has quit [Ping timeout: 240 seconds]
AndChat504 has joined #ocaml
infinity0_ has joined #ocaml
infinity0 has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
infinity0 has joined #ocaml
infinity0_ is now known as infinity0
infinity0 has quit [Changing host]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
AndChat504 has quit [Ping timeout: 240 seconds]
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
Fistine has quit [Ping timeout: 260 seconds]
_y has quit [Ping timeout: 240 seconds]
tobiasBora has quit [Ping timeout: 252 seconds]
Fistine has joined #ocaml
tobiasBora has joined #ocaml
robertc has quit [Ping timeout: 260 seconds]
_y has joined #ocaml
MercurialAlchemi has joined #ocaml
ryanartecona has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
average has quit [Quit: leaving]
freusque has joined #ocaml
alfredo has joined #ocaml
dmi3y has joined #ocaml
cdidd has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
orbifx has joined #ocaml
TheLemonMan has joined #ocaml
orbifx has quit [Ping timeout: 240 seconds]
AltGr has joined #ocaml
gshrikant has joined #ocaml
<gshrikant> Hi! I'm new to OCaml (and to functional programming in general). I'm having a little trouble understanding the list constructor operation '::'. Can I pattern match on a list to be broken down into the first, middle and the last elements like hd : md : tl ? Intuitively, can the compiler figure out that 'hd' and 'tl' refer to a type 'a and not 'a list?
<TheLemonMan> no, the compiler knows nothing about the length of the list so it can't possibly understand what the middle element is
<gshrikant> TheLemonMan: Thanks! Am I correct in understanding the constructor operator :: as one for 'breaking' down an existing list while '@' as a way to 'build up' the list?
maattdd_ has joined #ocaml
<TheLemonMan> not quite, (::) is 'a -> 'a list -> 'a list which is the usual element-prepend operation while (@) is 'a list -> 'a list -> 'a list the list concatenation operator
<TheLemonMan> the :: has a slightly different meaning when used in the arms of a match expression where it lets you destructure the list
<gshrikant> TheLemonMan: Ah! Got it. Thank you.
argent_smith has joined #ocaml
maattdd has quit [Ping timeout: 240 seconds]
MK__ has joined #ocaml
infinity0 has joined #ocaml
gshrikant has quit [Ping timeout: 240 seconds]
gshrikant has joined #ocaml
govg has joined #ocaml
kakadu has joined #ocaml
richi235 has joined #ocaml
larhat has joined #ocaml
gshrikant has quit [Ping timeout: 260 seconds]
whirm has joined #ocaml
<whirm> Hi all
<whirm> (newbie here) I'm attempting to use an ocamlbuild plugin on my project (https://github.com/rgrinberg/ocamlbuild-atdgen) I'm using topkg to manage it and I can't find a way to specify extra arguments to be passed to ocamlbuild when building myocamlbuild.ml. The ocamlbuild-atdgen example project just uses the Makefile to build it. But I would like to let topkg do everything. Is that possible?
<apache2> how is ocamlbuild currently launched?
<apache2> do you have a link to your work in progress?
<whirm> I execute `topkg build` and topkg attempts to build myocamlbuild and fails because of the missing args
<whirm> apache2: let me push it somewhere
mfp has joined #ocaml
<whirm> apache2: git@github.com:whirm/ssword.git
<whirm> I need to add `-plugin-tag "package(ocamlbuild_atdgen)"` to the ocamlbuild args used to compile myocamlbuild.ml
octachron has joined #ocaml
mengu has joined #ocaml
sepp2k has joined #ocaml
richi235 has quit [Ping timeout: 260 seconds]
_andre has joined #ocaml
whirm has quit [Ping timeout: 260 seconds]
dhil has joined #ocaml
richi235 has joined #ocaml
shon has quit [Remote host closed the connection]
richi235 has quit [Ping timeout: 240 seconds]
zpe has joined #ocaml
segmond has joined #ocaml
shon has joined #ocaml
Denommus` has joined #ocaml
Denommus` has quit [Max SendQ exceeded]
Denommus has quit [Ping timeout: 252 seconds]
maxirater has joined #ocaml
AlexRussia has quit [Ping timeout: 260 seconds]
maxirater has quit [Quit: Leaving]
argent_smith1 has joined #ocaml
zpe has quit [Remote host closed the connection]
argent_smith has quit [Ping timeout: 255 seconds]
_y has quit [Ping timeout: 240 seconds]
Fistine has quit [Ping timeout: 240 seconds]
_y has joined #ocaml
Fistine has joined #ocaml
ryanartecona has joined #ocaml
dhil has quit [Ping timeout: 255 seconds]
cdidd has quit [Ping timeout: 240 seconds]
dmi3y_ has joined #ocaml
dmi3y has quit [Ping timeout: 268 seconds]
sh0t has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 260 seconds]
MK__ has quit [Remote host closed the connection]
Denommus has joined #ocaml
ziyourenxiang has joined #ocaml
AlexRussia has joined #ocaml
manizzle has joined #ocaml
whirm has joined #ocaml
whirm is now known as Guest26135
copy` has joined #ocaml
MercurialAlchemi has joined #ocaml
AlexRussia has quit [Ping timeout: 258 seconds]
<reynir> I don't know, is this something you can put in _tags?
Mercuria1Alchemi has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 240 seconds]
dmi3y has joined #ocaml
dmi3y_ has quit [Ping timeout: 255 seconds]
larhat has quit [Quit: Leaving.]
manizzle has quit [Ping timeout: 255 seconds]
dmi3y has quit [Quit: dmi3y]
ryanartecona has quit [Quit: ryanartecona]
Denommus has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
al-damiri has joined #ocaml
alfredo has quit [Quit: Textual IRC Client: www.textualapp.com]
Denommus has joined #ocaml
Guest26135 has quit [Ping timeout: 268 seconds]
AlexRussia has joined #ocaml
shinnya has joined #ocaml
MK__ has joined #ocaml
dsheets has joined #ocaml
jao has joined #ocaml
AlexRussia has quit [Ping timeout: 240 seconds]
dsheets has quit []
jabroney has joined #ocaml
johnelse has quit [Read error: Connection reset by peer]
dhil has joined #ocaml
johnelse has joined #ocaml
ryanartecona has joined #ocaml
Denommus has quit [Read error: Connection reset by peer]
dhil has quit [Ping timeout: 252 seconds]
jabroney1 has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
sz0 has joined #ocaml
jabroney has quit [Ping timeout: 240 seconds]
ryanartecona has joined #ocaml
xmonader has joined #ocaml
pilne has joined #ocaml
ziyourenxiang has quit [Quit: Leaving]
<hannes> AltGr: the output of opam2web (https://opam.ocaml.org/packages/afl-persistent/) is slightly broken... I can see &nbsp; all over...
AlexRussia has joined #ocaml
xmonader has quit [Ping timeout: 240 seconds]
dhil has joined #ocaml
MK__ has quit [Remote host closed the connection]
jabroney has joined #ocaml
Denommus has joined #ocaml
jabroney1 has quit [Ping timeout: 240 seconds]
xmonader has joined #ocaml
<orbitz> Drup: are you a sedlex user?
<Drup> orbitz: why ?
manizzle has joined #ocaml
<orbitz> Drup: i am running into an issue with it and I see you commenting on an issue
<orbitz> Drup: And you're closer at hand than me creating an issue :)
ryanartecona has quit [Quit: ryanartecona]
zpe has joined #ocaml
<Drup> Ask, don't ask to ask ;)
ryanartecona has joined #ocaml
<orbitz> In this simple tokenizer, the String ctor always has empty strings despite the length and array representaion being non-empty.
<orbitz> Am I missing something about this?
<orbitz> My expectation is that line 9 is how I get the values I just consumed with the regex
sepp2k has quit [Quit: Leaving.]
<Drup> no idea.
<orbitz> dang
maattdd has joined #ocaml
richi235 has joined #ocaml
maattdd_ has quit [Ping timeout: 240 seconds]
<orbitz> Drup: Ha! Stupid me. The tail got evaluated before the cons
<orbitz> So I was consuming the whole buffer!
<orbitz> nothing to do with sedlex!
<orbitz> damned mutability
average has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
kamog has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
orbifx has joined #ocaml
orbifx has quit [Ping timeout: 252 seconds]
vramana has joined #ocaml
dmi3y has joined #ocaml
zpe has quit [Remote host closed the connection]
vramana has quit [Client Quit]
Denommus has quit [Read error: Connection reset by peer]
Denommus has joined #ocaml
dmi3y has quit [Quit: dmi3y]
freyr has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
dhil has quit [Ping timeout: 260 seconds]
kakadu has joined #ocaml
ollehar has joined #ocaml
dmi3y has joined #ocaml
ryanartecona has joined #ocaml
moei has joined #ocaml
dhil has joined #ocaml
aantron_ has joined #ocaml
<aantron_> after a torturous process, Lwt 3.0.0 is out https://sympa.inria.fr/sympa/arc/caml-list/2017-04/msg00078.html
<aantron_> thanks to any contributors that may lurking here, and to all users :)
<companion_cube> \o/
ollehar has quit [Quit: ollehar]
foo30303 has joined #ocaml
dhil has quit [Ping timeout: 258 seconds]
AltGr has left #ocaml [#ocaml]
orbifx has joined #ocaml
dmi3y has quit [Quit: dmi3y]
Plazma has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
<reynir> I noticed; recompile ALL the things =D
<reynir> (happy release)
_andre has quit [Quit: leaving]
Mercuria1Alchemi has quit [Ping timeout: 240 seconds]
<leah2> is ocaml 4.05 out already?
Denommus has quit [Ping timeout: 252 seconds]
Denommus` has joined #ocaml
<companion_cube> I don't think so
<leah2> ok, i just saw the number popping up here and there
<companion_cube> it's in beta
Denommus` has quit [Ping timeout: 252 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<octachron> leah2, not yet, 4.04.1 was released first, and 4.05 should follow soon
<leah2> ok
freyr has quit [Remote host closed the connection]
<aantron_> reynir: :D ..and thanks :)
ryanartecona has joined #ocaml
moei has quit [Quit: Leaving...]
AlexRussia has quit [Ping timeout: 252 seconds]
AlexRussia has joined #ocaml
NJBS has joined #ocaml
octachron has quit [Quit: Leaving]
xmonader has quit [Ping timeout: 260 seconds]
foo30303 has quit [Quit: leaving]
NJBS has quit [Quit: Catastrophic failure.]
kakadu has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
maattdd has quit [Ping timeout: 240 seconds]
spew has joined #ocaml
jmiven has quit [Quit: WeeChat 1.7]
al-damiri has quit [Quit: Connection closed for inactivity]
jmiven has joined #ocaml
infinity0 has quit [Ping timeout: 240 seconds]
strykerkkd has joined #ocaml
sh0t has quit [Remote host closed the connection]
aantron_ has quit [Quit: Page closed]
argent_smith1 has quit [Quit: Leaving.]
govg has quit [Ping timeout: 260 seconds]
infinity0 has joined #ocaml
atsampson has quit [Ping timeout: 260 seconds]