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)]