00:07
claudiuc_ has quit [Remote host closed the connection]
00:08
claudiuc has joined #ocaml
00:12
claudiuc has quit [Ping timeout: 240 seconds]
00:33
jbrown has quit [Ping timeout: 240 seconds]
00:39
jwatzman|work has quit [Quit: jwatzman|work]
00:41
jprakash has quit [Ping timeout: 256 seconds]
00:43
philtor has quit [Ping timeout: 264 seconds]
00:51
jbrown has joined #ocaml
00:51
racycle has quit [Quit: ZZZzzz…]
00:54
matematikaadit has joined #ocaml
00:57
ontologiae_ has joined #ocaml
00:58
ollehar has quit [Ping timeout: 272 seconds]
01:02
ontologiae_ has quit [Ping timeout: 240 seconds]
01:06
BitPuffin has quit [Ping timeout: 240 seconds]
01:08
alpounet has joined #ocaml
01:12
alpounet has quit [Ping timeout: 240 seconds]
01:21
shinnya has quit [Ping timeout: 240 seconds]
01:23
matematikaadit has quit [Quit: back to work]
01:25
jordjordjord has quit [Remote host closed the connection]
01:26
jprakash has joined #ocaml
01:28
shinnya has joined #ocaml
01:33
penglingbo has joined #ocaml
01:42
q66 has quit [Quit: Leaving]
01:47
shinnya has quit [Ping timeout: 240 seconds]
01:54
shinnya has joined #ocaml
01:56
ustunozgur has joined #ocaml
02:03
waneck has joined #ocaml
02:27
jao has joined #ocaml
02:27
philtor_ has quit [Ping timeout: 240 seconds]
02:27
jao has quit [Changing host]
02:27
jao has joined #ocaml
02:28
jprakash has quit [Ping timeout: 264 seconds]
02:30
jprakash has joined #ocaml
02:46
jprakash has quit [Quit: leaving]
02:58
ontologiae_ has joined #ocaml
03:02
ontologiae_ has quit [Ping timeout: 240 seconds]
03:06
araujo has quit [Read error: Connection reset by peer]
03:06
araujo has joined #ocaml
03:12
tnguyen has quit [Quit: tnguyen]
03:13
badon has quit [Read error: Connection reset by peer]
03:14
badon has joined #ocaml
03:22
ygrek has joined #ocaml
03:47
ustunozgur has quit [Remote host closed the connection]
04:02
ustunozgur has joined #ocaml
04:17
WraithM has quit [Quit: Lost terminal]
04:18
WraithM has joined #ocaml
04:23
ygrek has quit [Ping timeout: 240 seconds]
04:33
axiles has quit [Quit: Quitte]
04:34
struktured has quit [Ping timeout: 252 seconds]
04:36
jao has quit [Ping timeout: 256 seconds]
04:40
boogie has quit [Remote host closed the connection]
04:50
divyanshu has joined #ocaml
04:52
slash^ has joined #ocaml
04:53
Arsenik has joined #ocaml
04:56
robink has quit [Ping timeout: 264 seconds]
04:58
robink has joined #ocaml
04:59
ontologiae_ has joined #ocaml
05:01
badon has quit [Ping timeout: 264 seconds]
05:02
araujo has quit [Quit: Leaving]
05:03
ontologiae_ has quit [Ping timeout: 240 seconds]
05:04
Arsenik has quit [Remote host closed the connection]
05:07
WraithM has quit [Ping timeout: 240 seconds]
05:08
penglingbo has quit [Ping timeout: 264 seconds]
05:13
divyanshu has quit [Quit: Computer has gone to sleep.]
05:13
Eyyub has quit [Ping timeout: 240 seconds]
05:18
jordjordjord has joined #ocaml
05:19
divyanshu has joined #ocaml
05:21
badon has joined #ocaml
05:35
alexst has quit [Ping timeout: 256 seconds]
05:37
ygrek has joined #ocaml
05:52
cdidd has quit [Ping timeout: 240 seconds]
06:08
cdidd has joined #ocaml
06:15
malo has joined #ocaml
06:20
ontologiae_ has joined #ocaml
06:23
malo has quit [Quit: Leaving]
06:31
alexst has joined #ocaml
06:36
alexst has quit [Ping timeout: 256 seconds]
06:40
fraggle_ has quit [Remote host closed the connection]
06:41
boogie has joined #ocaml
06:44
fraggle_ has joined #ocaml
06:52
Kakadu has joined #ocaml
06:56
slash^ has quit [Read error: Connection reset by peer]
07:08
jordjordjord has quit [Ping timeout: 240 seconds]
07:12
tidren has joined #ocaml
07:25
ontologiae_ has quit [Ping timeout: 240 seconds]
07:29
alexst has joined #ocaml
07:30
tidren has quit [Remote host closed the connection]
07:34
alexst has quit [Ping timeout: 240 seconds]
07:36
ygrek has quit [Ping timeout: 240 seconds]
07:48
ustunozgur has quit [Remote host closed the connection]
07:53
WraithM has joined #ocaml
08:00
alexst has joined #ocaml
08:01
ustunozgur has joined #ocaml
08:02
ollehar has joined #ocaml
08:05
alexst has quit [Ping timeout: 264 seconds]
08:17
jordjordjord has joined #ocaml
08:22
axiles has joined #ocaml
08:27
ddosia has joined #ocaml
08:38
alexst has joined #ocaml
08:54
pminten has joined #ocaml
08:58
ygu has joined #ocaml
08:59
WraithM has quit [Ping timeout: 256 seconds]
09:02
<
ygu >
Hi all. I defined a type: t1 = A | B of t2. Then I want to test a value of this type, this way : if (x = B(_) && some_condition) then ... just like I do in a pattern matching, but compiler complains (operator expected), why is that ?
09:02
<
Kakadu >
I think you can't do that
09:03
<
Kakadu >
you need pattern-matching
09:07
<
Drup >
ygu: use a pattern match with a guard
09:08
<
ygu >
Hmmm ok, that's what i was going to do, but you can do : if (x = A && some_condition) then ... why ?
09:10
<
adrien >
I don't think it boils down to anything but tastes and arbitrary choices
09:10
<
ygu >
Ok, so you just can't because there is a parameter to B, but not to A, that's it ?
09:11
<
adrien >
yes, that makes it require a pattern-matching for B, but an equailty comparison for B
09:11
<
adrien >
and I'd do something like:
09:11
<
adrien >
let f = function B _ -> true | _ -> false in
09:11
<
adrien >
if f your_value && some_condition then ...
09:12
<
Drup >
(or just use a pattern match :D)
09:12
<
ygu >
Yes Drup :) ok, both solutions came to my mind, but I wanted to be sure there was no possible syntax for the first idea.
09:12
<
ygu >
Thank you all three.
09:13
<
ygu >
(and that was fast ! ^^)
09:14
slash^ has joined #ocaml
09:39
penglingbo has joined #ocaml
09:46
ustunozgur has quit [Remote host closed the connection]
09:48
<
jordjordjord >
Couldn't you consider boolean if/then simple syntactic sugar for boolean pattern matching?
09:48
<
jordjordjord >
So you could say "you're always pattern matching" - it's just a matter of if you're using the syntactic sugar provided for matching booleans.
09:50
struktured has joined #ocaml
10:06
<
Kakadu >
There is no Tgl3.Gl.begin function. Why? How shoould I write glBegin(GL_POLYGON)?
10:16
<
adrien >
Kakadu: afaiu, GL3 doesn't use begin/end
10:16
<
adrien >
and Tgl3.Gl.begin wouldn't be syntactically correct :)
10:30
alpounet has joined #ocaml
10:37
pippijn_ is now known as pippijn
10:42
<
companion_cube >
jordjordjord: in some sense yes
10:43
<
jordjordjord >
Seems they are equivalent - even the semantics of matching which defer evaluation of the RHS of a match case
10:43
<
jordjordjord >
Just like an if/else does.
10:43
BitPuffin has joined #ocaml
10:43
slash^ has quit [Read error: Connection reset by peer]
10:44
<
jordjordjord >
Meaning, you couldn't right an ifThen(cond, firstBranch, secondBranch) function
10:44
<
jordjordjord >
because strictness yada yada
10:53
pminten has quit [Remote host closed the connection]
10:55
q66 has joined #ocaml
10:56
Eyyub has joined #ocaml
11:07
CcxCZ has joined #ocaml
11:12
<
CcxCZ >
hello~ finally decided to delve into this language. is the ocaml.org tutorials page recommended place to start?
11:14
<
jordjordjord >
CcxCZ: It wouldn't hurt.
11:14
<
jordjordjord >
If you want to get serious, I would highly recommend Real World OCaml (online for free)
11:14
<
jordjordjord >
Maybe once you do enough of the quick tutorials to decide you really want to dive in.
11:15
<
jordjordjord >
Everything said there is true, including the recommendation to set up your text editor correctly. Makes all the difference.
11:17
alpounet has quit [Remote host closed the connection]
11:19
penglingbo has quit [Ping timeout: 256 seconds]
11:19
<
CcxCZ >
thanks and thanks
11:26
alpounet has joined #ocaml
11:26
jordjordjord has quit [Ping timeout: 240 seconds]
11:30
tane has joined #ocaml
11:41
ygrek has joined #ocaml
11:47
ggole has joined #ocaml
11:57
ebzzry has joined #ocaml
12:06
badon has quit [*.net *.split]
12:06
yacks has quit [*.net *.split]
12:06
srax has quit [*.net *.split]
12:06
mcclurmc has quit [*.net *.split]
12:06
paddymahoney has quit [*.net *.split]
12:06
meteo2 has quit [*.net *.split]
12:06
zarul has quit [*.net *.split]
12:06
tizoc has quit [*.net *.split]
12:06
IbnFirnas has quit [*.net *.split]
12:06
n0v has quit [*.net *.split]
12:06
alpounet has quit [*.net *.split]
12:06
axiles has quit [*.net *.split]
12:06
ddosia has quit [*.net *.split]
12:06
madroach has quit [*.net *.split]
12:06
pippijn has quit [*.net *.split]
12:06
emias has quit [*.net *.split]
12:06
troydm has quit [*.net *.split]
12:06
typedlambda has quit [*.net *.split]
12:06
ia0 has quit [*.net *.split]
12:06
ollehar has quit [*.net *.split]
12:06
SHODAN has quit [*.net *.split]
12:06
samebchase has quit [*.net *.split]
12:06
ivan\ has quit [*.net *.split]
12:06
mk270 has quit [*.net *.split]
12:06
martintrojer has quit [*.net *.split]
12:06
JokerDoom has quit [*.net *.split]
12:06
brendan has quit [*.net *.split]
12:06
yroeht has quit [*.net *.split]
12:06
osnr has quit [*.net *.split]
12:06
cthuluh has quit [*.net *.split]
12:06
patronus has quit [*.net *.split]
12:06
pjdelport has quit [*.net *.split]
12:06
hyperboreean has quit [*.net *.split]
12:06
rwmjones has quit [*.net *.split]
12:06
emmanueloga has quit [*.net *.split]
12:06
bernardofpc has quit [*.net *.split]
12:06
Cypi has quit [*.net *.split]
12:06
thizanne has quit [*.net *.split]
12:06
TaXules has quit [*.net *.split]
12:06
whitequark has quit [*.net *.split]
12:06
nickmeharry has quit [*.net *.split]
12:06
j0sh has quit [*.net *.split]
12:06
bartbes has quit [*.net *.split]
12:06
ggole has quit [*.net *.split]
12:06
ygrek has quit [*.net *.split]
12:06
fx has quit [*.net *.split]
12:06
alex_nx_ has quit [*.net *.split]
12:06
Derander_ has quit [*.net *.split]
12:06
hcarty has quit [*.net *.split]
12:06
reynir has quit [*.net *.split]
12:06
mdenes2 has quit [*.net *.split]
12:06
ssbr has quit [*.net *.split]
12:06
gasche has quit [*.net *.split]
12:06
puzza007 has quit [*.net *.split]
12:06
jyc has quit [*.net *.split]
12:06
olasd has quit [*.net *.split]
12:06
jzelinskie has quit [*.net *.split]
12:06
__marius____ has quit [*.net *.split]
12:06
leifw has quit [*.net *.split]
12:06
jlouis has quit [*.net *.split]
12:06
SethTisue_______ has quit [*.net *.split]
12:06
steshaw has quit [*.net *.split]
12:06
nk0 has quit [*.net *.split]
12:06
rossberg_ has quit [*.net *.split]
12:06
zozozo has quit [*.net *.split]
12:06
gereedy has quit [*.net *.split]
12:06
mal`` has quit [*.net *.split]
12:06
bitbckt has quit [*.net *.split]
12:06
_habnabit has quit [*.net *.split]
12:06
robink has quit [*.net *.split]
12:06
seliopou has quit [*.net *.split]
12:06
siddhart1v_away has quit [*.net *.split]
12:06
ktoss has quit [*.net *.split]
12:06
gargawel has quit [*.net *.split]
12:06
milosn_ has quit [*.net *.split]
12:06
binarybitme has quit [*.net *.split]
12:06
pollux has quit [*.net *.split]
12:06
iZsh has quit [*.net *.split]
12:06
Arthur_R` has quit [*.net *.split]
12:06
xaimus has quit [*.net *.split]
12:06
mrvn has quit [*.net *.split]
12:06
maufred has quit [*.net *.split]
12:06
rks` has quit [*.net *.split]
12:06
wormphlegm has quit [*.net *.split]
12:06
thorsten` has quit [*.net *.split]
12:06
aggelos_ has quit [*.net *.split]
12:06
rs0 has quit [*.net *.split]
12:06
xenocons has quit [*.net *.split]
12:07
demonimin has quit [Ping timeout: 256 seconds]
12:07
IbnFirnas has joined #ocaml
12:07
ggole has joined #ocaml
12:07
robink has joined #ocaml
12:07
rs0 has joined #ocaml
12:07
ddosia has joined #ocaml
12:07
axiles has joined #ocaml
12:07
xaimus has joined #ocaml
12:07
Asmadeus has joined #ocaml
12:07
mdenes2 has joined #ocaml
12:07
tizoc has joined #ocaml
12:07
thorsten` has joined #ocaml
12:07
Arthur_R` has joined #ocaml
12:07
ktoss has joined #ocaml
12:07
alex_nx_ has joined #ocaml
12:07
ollehar has joined #ocaml
12:07
pollux has joined #ocaml
12:07
zarul has joined #ocaml
12:07
n0v has joined #ocaml
12:07
iZsh has joined #ocaml
12:07
milosn_ has joined #ocaml
12:07
badon has joined #ocaml
12:07
pippijn has joined #ocaml
12:07
mcclurmc has joined #ocaml
12:07
reynir has joined #ocaml
12:07
samebchase has joined #ocaml
12:07
mrvn has joined #ocaml
12:07
ygrek has joined #ocaml
12:07
meteo2 has joined #ocaml
12:07
gasche has joined #ocaml
12:07
maufred has joined #ocaml
12:07
fx has joined #ocaml
12:07
emias has joined #ocaml
12:07
srax has joined #ocaml
12:07
bcuccioli has joined #ocaml
12:07
msch has joined #ocaml
12:07
puzza007 has joined #ocaml
12:07
Derander_ has joined #ocaml
12:07
jyc has joined #ocaml
12:07
binarybitme has joined #ocaml
12:07
xenocons has joined #ocaml
12:07
troydm has joined #ocaml
12:07
martintrojer has joined #ocaml
12:07
brendan has joined #ocaml
12:07
gargawel has joined #ocaml
12:07
JokerDoom has joined #ocaml
12:07
typedlambda has joined #ocaml
12:07
aggelos_ has joined #ocaml
12:07
SHODAN has joined #ocaml
12:07
ssbr has joined #ocaml
12:07
madroach has joined #ocaml
12:07
yacks has joined #ocaml
12:07
rks` has joined #ocaml
12:07
seliopou has joined #ocaml
12:07
hcarty has joined #ocaml
12:07
paddymahoney has joined #ocaml
12:07
alpounet has joined #ocaml
12:07
ia0 has joined #ocaml
12:07
siddhart1v_away has joined #ocaml
12:07
wormphlegm has joined #ocaml
12:07
jzelinskie has joined #ocaml
12:07
mal`` has joined #ocaml
12:07
zozozo has joined #ocaml
12:07
olasd has joined #ocaml
12:07
gereedy has joined #ocaml
12:07
leifw has joined #ocaml
12:07
jlouis has joined #ocaml
12:07
__marius____ has joined #ocaml
12:07
steshaw has joined #ocaml
12:07
bitbckt has joined #ocaml
12:07
SethTisue_______ has joined #ocaml
12:07
patronus has joined #ocaml
12:07
thizanne has joined #ocaml
12:07
osnr has joined #ocaml
12:07
_habnabit has joined #ocaml
12:07
nk0 has joined #ocaml
12:07
hyperboreean has joined #ocaml
12:07
j0sh has joined #ocaml
12:07
TaXules has joined #ocaml
12:07
ivan\ has joined #ocaml
12:07
rossberg_ has joined #ocaml
12:07
yroeht has joined #ocaml
12:07
emmanueloga has joined #ocaml
12:07
bartbes has joined #ocaml
12:07
nickmeharry has joined #ocaml
12:07
rwmjones has joined #ocaml
12:07
Cypi has joined #ocaml
12:07
bernardofpc has joined #ocaml
12:07
pjdelport has joined #ocaml
12:07
cthuluh has joined #ocaml
12:07
mk270 has joined #ocaml
12:07
whitequark has joined #ocaml
12:07
contempt has quit [Max SendQ exceeded]
12:07
ggherdov has quit [Max SendQ exceeded]
12:08
contempt has joined #ocaml
12:13
ygrek has quit [Remote host closed the connection]
12:15
paddymahoney has quit [Excess Flood]
12:15
badon has quit [Excess Flood]
12:16
paddymahoney has joined #ocaml
12:16
badon has joined #ocaml
12:19
ggherdov has joined #ocaml
12:20
typedlambda has quit [Ping timeout: 240 seconds]
12:21
typedlambda has joined #ocaml
12:24
alexst has quit [Ping timeout: 256 seconds]
12:26
Eyyub has quit [Ping timeout: 240 seconds]
12:44
no0y has quit [Remote host closed the connection]
12:50
SethTisue has joined #ocaml
12:54
ustunozgur has joined #ocaml
12:58
darkf has quit [Quit: Leaving]
13:13
SethTisue has quit [Quit: SethTisue]
13:14
SethTisue has joined #ocaml
13:14
ebzzry has quit [Remote host closed the connection]
13:20
ustunozgur has quit [Remote host closed the connection]
13:21
tani has joined #ocaml
13:25
tane has quit [Ping timeout: 256 seconds]
13:35
BitPuffin has quit [Ping timeout: 256 seconds]
13:43
ollehar has quit [Ping timeout: 240 seconds]
13:47
penglingbo has joined #ocaml
13:57
ustunozgur has joined #ocaml
14:04
q66 has quit [Quit: Leaving]
14:04
q66 has joined #ocaml
14:04
shinnya has quit [Ping timeout: 240 seconds]
14:06
Thooms has joined #ocaml
14:09
struktured has quit [Remote host closed the connection]
14:12
milosn_ has quit [Read error: No route to host]
14:13
milosn has joined #ocaml
14:24
contempt has quit [Remote host closed the connection]
14:25
SethTisue has quit [Quit: SethTisue]
14:26
SethTisue has joined #ocaml
14:30
jprakash has joined #ocaml
14:30
contempt has joined #ocaml
14:35
rand000 has joined #ocaml
14:47
SethTisue has quit [Quit: SethTisue]
14:50
SethTisue has joined #ocaml
14:51
SethTisue has quit [Client Quit]
14:55
philtor_ has joined #ocaml
14:55
penglingbo has quit [Ping timeout: 264 seconds]
14:59
badon has quit [Read error: Connection reset by peer]
14:59
badon has joined #ocaml
15:02
penglingbo has joined #ocaml
15:05
ssbr has quit [Ping timeout: 240 seconds]
15:07
ustunozgur has quit [Remote host closed the connection]
15:13
slash^ has joined #ocaml
15:17
<
CcxCZ >
I assume some issue in autoload/merlin.vim in global scope due to how the traceback looks
15:18
ssbr has joined #ocaml
15:24
ustunozgur has joined #ocaml
15:24
ollehar has joined #ocaml
15:26
Lutin` has joined #ocaml
15:27
<
CcxCZ >
... or not - wtf is s:c.merlin_h
15:27
<
CcxCZ >
wtf is s:c.merlin_home."/".v:val supposed to mean when s:c is dictionary? ( I guess I'm babbling to myself, sorry )
15:27
boogie has quit [Read error: Connection reset by peer]
15:28
boogie has joined #ocaml
15:30
boogie has quit [Read error: Connection reset by peer]
15:31
<
def` >
CcxCZ: what's your vim version ?
15:31
<
CcxCZ >
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 18 2014 12:45:48)
15:31
<
CcxCZ >
Included patches: 1-273
15:31
<
CcxCZ >
Modified by Gentoo-7.4.273
15:32
schlegel has joined #ocaml
15:34
BitPuffin has joined #ocaml
15:35
Lutin` has quit [Ping timeout: 240 seconds]
15:36
schlegel is now known as Lutin`
15:40
philtor_ has quit [Ping timeout: 260 seconds]
15:46
ustunozgur has quit [Remote host closed the connection]
15:47
<
CcxCZ >
7.4.326 behaves the same btw
15:48
waneck has quit [Quit: Leaving]
15:56
tidren has joined #ocaml
16:07
penglingbo has quit [Ping timeout: 256 seconds]
16:08
penglingbo has joined #ocaml
16:11
<
def` >
it has an autoload file
16:19
shallow is now known as plytkejsie
16:21
<
CcxCZ >
yes, that's executed. what wasn't was plugin/merlin.vim which has the duty of filling values into g:merlin
16:21
<
CcxCZ >
probably since I changed the rtp in another plugin file, not .vimrc
16:22
no0y has joined #ocaml
16:29
wwilly has joined #ocaml
16:32
jprakash has quit [Ping timeout: 240 seconds]
16:33
Puffin has joined #ocaml
16:33
slash^ has quit [Read error: Connection reset by peer]
16:33
Puffin has quit [Client Quit]
16:35
no0y has quit [Remote host closed the connection]
16:35
BitPuffin has quit [Ping timeout: 240 seconds]
16:38
penglingbo has quit [Ping timeout: 240 seconds]
16:52
BitPuffin has joined #ocaml
16:54
SethTisue has joined #ocaml
16:56
penglingbo has joined #ocaml
16:58
alinab has quit [Quit: leaving]
16:59
hhugo has joined #ocaml
17:04
typedlambda has quit [Ping timeout: 240 seconds]
17:06
typedlambda has joined #ocaml
17:17
alinab has joined #ocaml
17:21
jprakash has joined #ocaml
17:24
hhugo has quit [Quit: Leaving.]
17:40
alexst has joined #ocaml
17:42
ustunozgur has joined #ocaml
17:43
hhugo has joined #ocaml
17:45
Submarine has joined #ocaml
17:45
Submarine has joined #ocaml
17:50
hhugo has quit [Quit: Leaving.]
17:53
alexst has quit [Ping timeout: 256 seconds]
18:08
ollehar has quit [Ping timeout: 240 seconds]
18:08
Thooms has quit [Quit: WeeChat 0.3.8]
18:10
shinnya has joined #ocaml
18:11
penglingbo has quit [Ping timeout: 240 seconds]
18:12
ustunozgur has quit [Quit: Leaving...]
18:18
jprakash has quit [Ping timeout: 240 seconds]
18:19
alexst has joined #ocaml
18:21
Kakadu has quit [Read error: Connection reset by peer]
18:22
Kakadu has joined #ocaml
18:24
alexst has quit [Ping timeout: 260 seconds]
18:27
Submarine has quit [Ping timeout: 240 seconds]
18:28
Submarine has joined #ocaml
18:29
Submarine has quit [Changing host]
18:29
Submarine has joined #ocaml
18:30
shinnya has quit [Read error: Connection reset by peer]
18:34
yarl_ has joined #ocaml
18:39
Lutin` has quit [Read error: Connection reset by peer]
18:40
shinnya has joined #ocaml
18:43
ygrek has joined #ocaml
19:02
fold has quit [Quit: WeeChat 0.4.3]
19:10
<
rwmjones >
hmm, no gildor?
19:11
<
adrien >
he hasn't been active on IRC for a couple years
19:11
<
adrien >
get him by email
19:11
<
rwmjones >
hm, that's a shame
19:12
<
rwmjones >
I was just wondering if ounit needs camlp4, but it seems it does not
19:13
* rwmjones
is currently rebuilding all the Fedora packages on aarch64 & ocaml 4.02.0 beta ... exciting days
19:13
axiles has quit [Quit: Quitte]
19:13
<
adrien >
was wondering whether your NDA had expired :D
19:14
ygrek has quit [Ping timeout: 240 seconds]
19:16
Eyyub has joined #ocaml
19:16
<
rwmjones >
it's great h/w thoug
19:18
<
rwmjones >
it looks like I'll be in Cambridge (UK) at the beginning of August
19:18
<
rwmjones >
for the ARM partner conference
19:19
alexst has joined #ocaml
19:24
alexst has quit [Ping timeout: 240 seconds]
19:24
ygrek has joined #ocaml
19:37
fold has joined #ocaml
19:41
q66_ has joined #ocaml
19:42
q66 has quit [Ping timeout: 240 seconds]
19:53
alpounet has quit [Remote host closed the connection]
19:57
axiles has joined #ocaml
19:59
Eyyub has quit [Quit: WeeChat 0.4.1]
20:04
Eyyub has joined #ocaml
20:05
jprakash has joined #ocaml
20:11
tidren has quit [Remote host closed the connection]
20:12
jprakash has quit [Quit: leaving]
20:12
tidren has joined #ocaml
20:16
tidren has quit [Ping timeout: 240 seconds]
20:20
alexst has joined #ocaml
20:33
tidren has joined #ocaml
20:38
avsm has joined #ocaml
20:41
tidren has quit [Remote host closed the connection]
20:41
ollehar has joined #ocaml
20:42
ygrek has quit [Ping timeout: 240 seconds]
20:47
<
orbitz >
rwmjones: does redhat use ocaml quite a bit? or just a few people?
20:51
Submarine has quit [Remote host closed the connection]
20:59
alpounet has joined #ocaml
21:09
alpounet has quit [Remote host closed the connection]
21:10
alpounet has joined #ocaml
21:10
ollehar has quit [Ping timeout: 240 seconds]
21:14
alpounet has quit [Ping timeout: 264 seconds]
21:16
oriba has joined #ocaml
21:20
_twx_ has quit [Remote host closed the connection]
21:22
mcclurmc has quit [Remote host closed the connection]
21:25
ollehar has joined #ocaml
21:28
Kakadu has quit [Quit: Konversation terminated!]
21:28
tidren has joined #ocaml
21:31
ollehar has quit [Ping timeout: 240 seconds]
21:33
tidren has quit [Ping timeout: 240 seconds]
21:47
BitPuffin has quit [Ping timeout: 240 seconds]
21:47
ollehar has joined #ocaml
21:52
ollehar has quit [Ping timeout: 240 seconds]
21:52
demonimin has joined #ocaml
21:53
oriba has quit [Quit: oriba]
21:57
mcclurmc has joined #ocaml
22:00
mcclurmc has quit [Remote host closed the connection]
22:00
studybot_ has quit [Remote host closed the connection]
22:01
studybot_ has joined #ocaml
22:02
fold has quit [Ping timeout: 240 seconds]
22:02
mcclurmc has joined #ocaml
22:09
mcclurmc has quit [Remote host closed the connection]
22:22
alinab has quit [Quit: leaving]
22:22
tidren has joined #ocaml
22:27
tidren has quit [Ping timeout: 240 seconds]
22:29
mcclurmc has joined #ocaml
22:33
igitoor has quit [Ping timeout: 252 seconds]
22:33
avsm has quit [Quit: Leaving.]
22:35
mcclurmc has quit [Remote host closed the connection]
22:38
tani has quit [Quit: Verlassend]
22:38
igitoor has joined #ocaml
22:41
BitPuffin has joined #ocaml
22:41
waneck has joined #ocaml
22:44
<
BitPuffin >
is it mandatory to specify the type of a first class module?
22:45
alexst has quit [Ping timeout: 240 seconds]
22:45
<
BitPuffin >
if not, then how does ocaml infer if an operator comes from a first class module or some other module you have opened before?
22:45
<
BitPuffin >
For example
22:45
<
BitPuffin >
let open some_first_class_module in ... a ||=><|> b
22:46
igitoor has quit [Changing host]
22:46
igitoor has joined #ocaml
22:46
<
BitPuffin >
I know that you can eventually know where the operator comes from
22:46
<
BitPuffin >
but you'd have to look at the modules in a case by case basis
22:46
<
BitPuffin >
so sometimes the operator is overidden by the module and sometimes it could be a previously opened one
22:46
<
BitPuffin >
so I guess what I'm saying is that opened modules break type inference
22:49
tidren has joined #ocaml
22:50
mcclurmc has joined #ocaml
22:53
tidren has quit [Ping timeout: 240 seconds]
22:54
mcclurmc has quit [Remote host closed the connection]
22:54
<
Drup >
you need to anotate the type of first class modules
22:55
<
Drup >
(at unpacking point, iirc)
22:55
q66_ is now known as q66
22:56
<
BitPuffin >
Drup: ah
22:56
<
BitPuffin >
Drup: incomplete type inference in other words
22:56
<
Drup >
of course, it's not possible (as you pointed out)
22:57
<
Drup >
(I think there is a proof, somewhere is one of garrigue's papers probably)
22:57
<
BitPuffin >
it feels unsolvable
22:57
<
BitPuffin >
unless you have variable results
22:57
<
BitPuffin >
However I feel like it's unfair to have to do it at unpacking
22:58
<
BitPuffin >
it would be better if you had to annotate if you open it
22:58
<
BitPuffin >
of course you could optionally annotate before
22:58
<
BitPuffin >
but it sucks to always have to do it you know
22:58
<
Drup >
open doesn't matter
22:58
<
BitPuffin >
sure it does
22:58
<
BitPuffin >
I mean something like
22:59
<
BitPuffin >
let open fsm: sig ... end in
22:59
<
BitPuffin >
since it's pretty clear where the function comes from when you do: fsm.somefunc ...
23:00
<
Drup >
It doesn't feel much better than at unpacking
23:01
<
Drup >
(and depending on the details of how first class modules are compiled, it may be unsafe)
23:01
<
BitPuffin >
well I don't even think unpacking should be necessary
23:01
<
BitPuffin >
so I guess that's why it doesn't fit in :D
23:02
alexst has joined #ocaml
23:08
<
mbac >
how is (apply + [1 2 3]) different from (reduce + [1 2 3])?
23:08
<
mbac >
wait wrong channel
23:09
darkf has joined #ocaml
23:13
rand000 has quit [Quit: leaving]
23:20
<
pjdelport >
mbac: The former only works because + is n-ary in Scheme (presumably), while the latter works with binary operators.
23:24
jprakash has joined #ocaml
23:33
madroach has quit [Ping timeout: 240 seconds]
23:34
philtor_ has joined #ocaml
23:35
madroach has joined #ocaml
23:40
NoNNaN has quit [Remote host closed the connection]
23:40
Valdo has quit [Ping timeout: 245 seconds]
23:40
NoNNaN has joined #ocaml
23:42
ollehar has joined #ocaml
23:43
tidren has joined #ocaml
23:48
tidren has quit [Ping timeout: 240 seconds]
23:52
seafood has joined #ocaml
23:55
jordjordjord has joined #ocaml
23:58
tnguyen has joined #ocaml