00:01
Guest58 has joined #ocaml
00:07
Algebr has joined #ocaml
00:07
Algebr has quit [Remote host closed the connection]
00:18
lobo has quit [Quit: leaving]
00:18
emaphis has quit [Ping timeout: 246 seconds]
00:22
^elyse^ has quit [Quit: Leaving...]
00:22
ygrek_ has joined #ocaml
00:25
orbifx has quit [Ping timeout: 265 seconds]
00:33
madroach has quit [Ping timeout: 260 seconds]
00:35
madroach has joined #ocaml
00:42
rgrinberg has joined #ocaml
00:45
Guest58 has quit [Ping timeout: 272 seconds]
00:46
teknozulu has joined #ocaml
00:48
Tekilla has quit [Ping timeout: 272 seconds]
01:21
yegods has joined #ocaml
01:24
madroach has quit [Ping timeout: 260 seconds]
01:24
sepp2k has quit [Quit: Leaving.]
01:26
madroach has joined #ocaml
01:28
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:32
swgillespie[GT] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:50
emaphis has joined #ocaml
01:57
ollehar has quit [Ping timeout: 252 seconds]
01:58
jeffmo has quit [Read error: Connection reset by peer]
01:59
jeffmo has joined #ocaml
02:02
ollehar has joined #ocaml
02:08
rand has quit [Quit: leaving]
02:17
swgillespie has joined #ocaml
02:18
ollehar has quit [Remote host closed the connection]
02:25
echo-area has joined #ocaml
02:31
<
python476 >
can ocaml pattern match array slices ?
02:31
<
python476 >
like [| fst; rest... |] ?
02:33
<
Drup >
only fixed size
02:33
<
Drup >
[| foo ; bar |]
02:34
<
python476 >
is there a fundamental problem as for why this isn't in the language ?
02:34
<
Drup >
well, yes and no. arrays are not slices
02:35
<
Drup >
so, taking a slice induce a copy
02:35
<
Drup >
(for the array in the stdlib, there are other implementations)
02:35
<
python476 >
it seems straightforward to have typing rules [| x ; y ; z... |] as A where y is A.(<prefix>, A.length). It look typeable
02:35
swgillespie is now known as swgillespie[GT]
02:37
pacmann has quit [Remote host closed the connection]
02:41
jeroud has quit [Remote host closed the connection]
02:41
bobpoekert has quit [Remote host closed the connection]
02:41
metadave has quit [Remote host closed the connection]
02:41
andreypopp has quit [Remote host closed the connection]
02:41
mariusae has quit [Remote host closed the connection]
02:41
S11001001 has quit [Remote host closed the connection]
02:47
rgrinberg has quit [Ping timeout: 240 seconds]
02:53
ncthom91 has joined #ocaml
02:57
infinity0 has quit [Ping timeout: 244 seconds]
03:12
infinity0 has joined #ocaml
03:14
rgrinberg has joined #ocaml
03:20
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:21
infinity0 has quit [Remote host closed the connection]
03:23
infinity0 has joined #ocaml
03:25
rgrinberg has quit [Ping timeout: 240 seconds]
03:36
netrobyatmobile has joined #ocaml
03:38
shinnya has quit [Ping timeout: 244 seconds]
03:53
pyon has joined #ocaml
04:01
jeffmo has quit [Quit: jeffmo]
04:11
darkf has joined #ocaml
04:18
BitPuffin|osx has quit [Ping timeout: 240 seconds]
04:31
python476 has quit [Ping timeout: 246 seconds]
04:36
rgrinberg has joined #ocaml
04:40
rgrinberg has quit [Ping timeout: 250 seconds]
04:57
inr has quit [Ping timeout: 272 seconds]
05:01
Bahman has joined #ocaml
05:24
inr has joined #ocaml
05:29
tmtwd has quit [Ping timeout: 250 seconds]
05:36
rgrinberg has joined #ocaml
05:41
rgrinberg has quit [Ping timeout: 240 seconds]
05:54
nchambers is now known as dtscode
05:55
govg has joined #ocaml
06:29
slash^ has joined #ocaml
06:35
ril has joined #ocaml
06:51
swgillespie[GT] has quit [Read error: Connection reset by peer]
06:52
swgillespie has joined #ocaml
07:01
ori has joined #ocaml
07:16
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:22
teknozulu has quit [Ping timeout: 244 seconds]
07:25
govg has quit [Quit: leaving]
07:30
python476 has joined #ocaml
07:35
pierpa has quit [Ping timeout: 264 seconds]
07:37
rgrinberg has joined #ocaml
07:38
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:39
emaphis has quit [Ping timeout: 265 seconds]
07:42
rgrinberg has quit [Ping timeout: 240 seconds]
08:15
MercurialAlchemi has joined #ocaml
08:22
jeroud has joined #ocaml
08:26
Kakadu has joined #ocaml
08:31
ori has quit [Quit: Bye.]
08:32
slash^ has quit [Read error: Connection reset by peer]
08:40
slash^ has joined #ocaml
08:48
FreeBirdLjj has joined #ocaml
08:56
rgrinberg has joined #ocaml
08:59
ygrek_ has quit [Ping timeout: 265 seconds]
08:59
tvaalen has joined #ocaml
09:03
troydm has quit [Ping timeout: 260 seconds]
09:14
Fleurety has quit [Ping timeout: 265 seconds]
09:21
rgrinberg has quit [Ping timeout: 260 seconds]
09:25
mort___ has joined #ocaml
09:28
troydm has joined #ocaml
09:44
ori has joined #ocaml
09:46
Bahman has quit [Read error: Connection reset by peer]
09:59
Bahman has joined #ocaml
10:17
rgrinberg has joined #ocaml
10:21
rgrinberg has quit [Ping timeout: 240 seconds]
10:23
Bahman has quit [Quit: Ave atque vale]
10:26
Lis has quit [Read error: Connection reset by peer]
10:37
Haudegen has quit [Ping timeout: 252 seconds]
10:49
Haudegen has joined #ocaml
10:56
orbifx has joined #ocaml
11:00
^elyse^ has joined #ocaml
11:02
ivan\ has quit [Ping timeout: 246 seconds]
11:04
mort___ has quit [Quit: Leaving.]
11:05
tane has joined #ocaml
11:11
psy_ has quit [Ping timeout: 272 seconds]
11:30
fds_ is now known as fds
11:30
fds has quit [Changing host]
11:30
fds has joined #ocaml
11:34
ivan\ has joined #ocaml
11:39
^elyse^ has quit [Quit: Leaving]
11:40
mort___ has joined #ocaml
11:52
mort___ has quit [Quit: Leaving.]
12:00
tane has quit [Ping timeout: 260 seconds]
12:03
jeroud has quit [Remote host closed the connection]
12:03
tane has joined #ocaml
12:06
yegods has quit [Remote host closed the connection]
12:07
mort___ has joined #ocaml
12:11
tane has quit [Ping timeout: 240 seconds]
12:14
tane has joined #ocaml
12:18
rgrinberg has joined #ocaml
12:18
rgrinberg has quit [Read error: Connection reset by peer]
12:25
mort___ has quit [Quit: Leaving.]
12:35
emaphis has joined #ocaml
12:35
jeroud has joined #ocaml
12:46
andreypopp has joined #ocaml
12:47
ggole has joined #ocaml
12:49
ollehar has joined #ocaml
12:49
mariusae has joined #ocaml
12:51
metadave has joined #ocaml
13:02
S11001001 has joined #ocaml
13:06
Guest58 has joined #ocaml
13:07
yegods has joined #ocaml
13:11
mort___ has joined #ocaml
13:12
yegods has quit [Ping timeout: 250 seconds]
13:13
bobpoekert has joined #ocaml
13:16
govg has joined #ocaml
13:18
orbifx has quit [Ping timeout: 252 seconds]
13:19
pacmann has joined #ocaml
13:43
BitPuffin|osx has joined #ocaml
13:45
tane has quit [Ping timeout: 255 seconds]
13:49
emaphis has quit [Ping timeout: 250 seconds]
13:51
theblatte has quit [Quit: brb]
13:52
pacmann has quit [Remote host closed the connection]
13:58
tane has joined #ocaml
13:59
theblatte has joined #ocaml
14:07
mort___ has quit [Quit: Leaving.]
14:11
yegods has joined #ocaml
14:14
echo-area has quit [Remote host closed the connection]
14:18
rgrinberg has joined #ocaml
14:19
beginner has joined #ocaml
14:19
<
beginner >
how i can i define include folders with obuild
14:23
rgrinberg has quit [Ping timeout: 240 seconds]
14:23
orbifx has joined #ocaml
14:24
mort___ has joined #ocaml
14:30
orbifx has quit [Remote host closed the connection]
14:31
orbifx has joined #ocaml
14:31
MercurialAlchemi has quit [Ping timeout: 244 seconds]
14:33
ollehar has quit [Ping timeout: 252 seconds]
14:40
orbifx has left #ocaml [#ocaml]
14:47
tane has quit [Ping timeout: 250 seconds]
14:59
tane has joined #ocaml
15:01
ollehar has joined #ocaml
15:03
darkf_ has joined #ocaml
15:04
<
beginner >
is someone here using obuild?
15:05
<
companion_cube >
sorry, I'm not
15:06
<
beginner >
companion_cube: what are you using instead?
15:06
darkf has quit [Ping timeout: 246 seconds]
15:06
fraggle_ has joined #ocaml
15:06
<
companion_cube >
ocamlbuld
15:07
<
companion_cube >
well, oasis in fact
15:07
<
companion_cube >
but it relies upon ocamlbuild
15:07
Guest58 has quit [Ping timeout: 272 seconds]
15:10
darkf_ is now known as darkf
15:11
Derobos has joined #ocaml
15:12
ollehar has quit [Quit: ollehar]
15:42
^elyse^ has joined #ocaml
15:45
^elyse^ has quit [Client Quit]
15:49
tmtwd has joined #ocaml
15:54
pierpa has joined #ocaml
15:56
netrobyatmobile has quit [Quit: Connection closed for inactivity]
15:58
tani has joined #ocaml
15:58
tane is now known as Guest50115
15:58
Guest50115 has quit [Killed (verne.freenode.net (Nickname regained by services))]
15:58
tani is now known as tane
16:09
Guest58 has joined #ocaml
16:15
orbifx has joined #ocaml
16:20
rgrinberg has joined #ocaml
16:22
contempt has quit [Ping timeout: 255 seconds]
16:25
rgrinberg has quit [Ping timeout: 250 seconds]
16:32
lobo has joined #ocaml
16:34
ollehar has joined #ocaml
16:38
pyon has quit [Quit: Angels fall, all for you, heretic! Demon heart, bleed for us! (My soul is yours, Dark Master. I will fight for you.)]
16:39
pyon has joined #ocaml
16:43
^elyse^ has joined #ocaml
16:44
ncthom91 has joined #ocaml
16:49
palomer has joined #ocaml
16:49
<
palomer >
anyone know how to set warnings to all using ocamlbuild’s _tags ?
16:51
darkf has quit [Quit: Leaving]
16:55
mort___ has quit [Quit: Leaving.]
17:04
FreeBirdLjj has quit [Remote host closed the connection]
17:07
swgillespie has joined #ocaml
17:22
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:23
MercurialAlchemi has joined #ocaml
17:35
rgrinberg has joined #ocaml
17:48
palomer has quit [Ping timeout: 252 seconds]
17:48
palomer_ has joined #ocaml
17:50
tmtwd has quit [Ping timeout: 260 seconds]
17:56
mahem1__ is now known as mahem1
17:57
ril has joined #ocaml
18:00
<
infinity0 >
anyone using merlin here?
18:00
<
infinity0 >
in emacs, i can type annotate with C-c C-t
18:00
<
infinity0 >
how do i have it do that automatically under my cursor
18:00
<
infinity0 >
so i don't have to keep typing that in and getting RSI from it
18:01
<
infinity0 >
(also would be nice to display it underneath the cursor, like how company-mode does it)
18:01
ncthom91 has joined #ocaml
18:01
<
ggole >
That would be immensely annoying for large types, wouldn't it?
18:02
<
flux >
in those cases you could use C-c C-t?
18:02
yegods has quit [Remote host closed the connection]
18:02
<
flux >
otherwise truncate and put it to modeline. if the user wants, of course.
18:02
Guest58 has quit [Ping timeout: 240 seconds]
18:02
<
ggole >
Yeah, truncating would work
18:02
<
flux >
but I too would like to try it to see if I would like it :)
18:03
<
flux >
there might be other things to show, such as which module and function am I currently in
18:04
<
ggole >
I'd find something like eldoc more useful tbh
18:04
<
infinity0 >
i like annoying stuff like that
18:05
<
ggole >
Although it might not be all that easy to determine which application the cursor should be "in"... hmm.
18:06
tmtwd has joined #ocaml
18:08
<
infinity0 >
but yeah.. does anyone have some ideas on how i could do it?
18:10
<
ggole >
The cheap, nasty way to do that would be to run merlin-type-enclosing in post-command-hook
18:11
<
ggole >
You'd probably also have to turn off the interactive stuff or it would interfere with normal commands
18:15
clockish has quit [Quit: bye]
18:15
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:15
clockish has joined #ocaml
18:17
<
infinity0 >
hm ok i'll have a play with it thanks
18:20
<
ggole >
(add-hook 'post-command-hook 'merlin-type-enclosing nil t) (setq merlin-arrow-keys-type-enclosing nil)
18:20
<
ggole >
Sort of does it
18:21
<
ggole >
Both of those need to be run buffer locally, eg, in the tuareg-mode hook
18:24
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:25
<
infinity0 >
what is merlin-arrow-keys-type-enclosing?
18:25
<
infinity0 >
oh, found it
18:26
<
ggole >
type-enclosing isn't intended to be used in this way, so it isn't likely to be very usable
18:27
<
ggole >
If you try it and think it would be useful if done properly, consider asking the merlin peeps to add it as a feature.
18:28
yegods has joined #ocaml
18:29
swgillespie has joined #ocaml
18:29
<
infinity0 >
right, makes sense
18:31
<
flux >
it would need to be stufed to the modeline as in not to interfere the other messages..
18:31
<
ggole >
There isn't really a good way to do that
18:31
<
ggole >
Existing emacs modes which use the modeline just stomp messages and be done with it
18:31
Derobos has quit [Quit: Leaving]
18:32
<
ggole >
(The user can still see a history of other messages with C-h e, although that isn't terribly convenient.)
18:33
xet7 has quit [Ping timeout: 240 seconds]
18:37
palomer_ has quit [Quit: palomer_]
18:38
contempt has joined #ocaml
18:41
ori has left #ocaml ["Leaving..."]
18:44
Guest58 has joined #ocaml
18:46
<
flux >
isn't that the minibuffer
18:46
<
flux >
modeline is the place where your current mode is, along with (say) line number?
18:48
<
ggole >
Yeah, I forgot the terminology :)
18:50
palomer has joined #ocaml
18:52
<
infinity0 >
ah, works roughly ok
18:52
<
infinity0 >
except if i click on a module name, then it messes things up because it doesn't use the minibuffer
18:54
<
ggole >
Yep. That's what I had in mind when I mentioned "huge types" before.
18:55
rgrinberg has quit [Ping timeout: 240 seconds]
18:56
<
infinity0 >
i imagine there's a branch in there that decides whether to use the minibuffer or start a new window, and i'd basically just reimplement merlin-type-enclosing until i get to that branch
18:57
<
ggole >
It's in merlin--type-display
18:59
<
infinity0 >
cool thanks, i shall play with that in more detail at some point then
19:00
<
infinity0 >
for now, back to learning the basics ¬.¬
19:00
<
infinity0 >
but going back a bit (and disabling this auto-types thing we're messing with) how does merlin-arrow-keys-type-enclosing actually work
19:01
<
infinity0 >
i tried (setq merlin-arrow-keys-type-enclosing t), using C-c C-t and pressing up/down and the cursor just moved like normal
19:01
yegods has quit [Remote host closed the connection]
19:02
<
ggole >
With the post-command-hook hack removed?
19:03
<
ggole >
Hmm. It's supposed to let you move up and down the tree of expressions that contain point.
19:05
rgrinberg has joined #ocaml
19:07
<
infinity0 >
(if (version< emacs-version "24.4")
19:07
<
infinity0 >
i'm running 24.5
19:08
<
infinity0 >
(in merlin--type-enclosing-after)
19:08
<
ggole >
Seems you have both a more recent emacs and a more recent merlin than I do.
19:09
<
infinity0 >
still, not sure why merlin-arrow-keys-type-enclosing doesn't work here
19:12
beginner has quit [Ping timeout: 246 seconds]
19:21
emaphis has joined #ocaml
19:21
<
infinity0 >
oh nice, i can do this for the post-command-hook hack
19:22
orbifx has quit [Ping timeout: 264 seconds]
19:23
rgrinberg has quit [Ping timeout: 246 seconds]
19:27
Kakadu has quit [Remote host closed the connection]
19:27
Kakadu has joined #ocaml
19:37
TBads has joined #ocaml
19:38
TBads has quit [Quit: WeeChat 1.3]
19:39
TBads has joined #ocaml
19:45
Kakadu has quit [Remote host closed the connection]
19:46
Kakadu has joined #ocaml
19:46
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:49
orbifx has joined #ocaml
19:54
yegods has joined #ocaml
19:56
<
def` >
infinity0: hi
19:56
<
def` >
I developed large parts of merlin.el, you have questions?
19:57
<
infinity0 >
not right now thanks, still trying to learn emacs :)
19:57
<
infinity0 >
eventually i will play with this auto-type-annotating thing
19:58
<
def` >
ok, just ask if you have questions, I will try my best :)
19:58
<
infinity0 >
def`: oh i guess it would help if you have any idea how i can debug this arrow-keys-type-enclosing not-working-for-me
20:03
slash^ has quit [Read error: Connection reset by peer]
20:07
<
def` >
infinity0: the doc is wrong, it is Ctrl+key
20:07
mort___ has joined #ocaml
20:08
<
infinity0 >
ahhh that works :)
20:08
<
def` >
Ctrl+up, Ctrl+down to navigate, C+w to copy to kill ring, C+d to destructure the expression
20:13
mcmillhj has quit [Ping timeout: 264 seconds]
20:15
TBads has quit [Quit: WeeChat 1.3]
20:19
rgrinberg has joined #ocaml
20:24
rgrinberg has quit [Ping timeout: 250 seconds]
20:28
rgrinberg has joined #ocaml
20:30
igoroliveira has joined #ocaml
20:35
Guest58 has quit [Ping timeout: 250 seconds]
20:39
hath has joined #ocaml
20:40
ryanartecona has joined #ocaml
20:41
tmtwd has quit [Ping timeout: 244 seconds]
20:48
damason has quit [Remote host closed the connection]
20:49
tane has quit [Ping timeout: 240 seconds]
20:51
tane has joined #ocaml
20:54
mort___ has quit [Quit: Leaving.]
21:03
^elyse^ has quit [Read error: Connection reset by peer]
21:05
palomer has quit [Ping timeout: 240 seconds]
21:09
yegods has quit [Remote host closed the connection]
21:09
yegods has joined #ocaml
21:12
Guest58 has joined #ocaml
21:13
Haudegen has quit [Ping timeout: 255 seconds]
21:18
tane has quit [Quit: Verlassend]
21:19
tane has joined #ocaml
21:22
<
infinity0 >
flux: ^
21:22
<
infinity0 >
c+p into your init.el
21:23
<
infinity0 >
if people like it, perhaps def` will merge it into merlin :)
21:28
mort___ has joined #ocaml
21:28
^elyse^ has joined #ocaml
21:38
Haudegen has joined #ocaml
21:45
orbifx has quit [Ping timeout: 264 seconds]
21:46
MercurialAlchemi has quit [Ping timeout: 240 seconds]
21:51
ncthom91 has joined #ocaml
22:02
tane has quit [Quit: Verlassend]
22:15
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:20
ncthom91 has joined #ocaml
22:25
<
nicoo >
o/ infinity0 :)
22:25
<
nicoo >
Didn't knew you were a fellow OCaml-er
22:25
<
infinity0 >
oh i'm just starting it :)
22:28
aphprentice has joined #ocaml
22:30
<
hannes >
infinity0: I'm glad you start..
22:49
jonludlam has joined #ocaml
22:53
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:53
hath has quit [Ping timeout: 246 seconds]
22:55
ncthom91 has joined #ocaml
22:58
tmtwd has joined #ocaml
22:58
Guest58 has quit [Ping timeout: 240 seconds]
23:00
rgrinberg has quit [Ping timeout: 250 seconds]
23:00
damason has joined #ocaml
23:00
cmocanu_ has quit [Quit: Connection closed for inactivity]
23:02
ril has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:08
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:09
igoroliveira has quit [Quit: Connection closed for inactivity]
23:11
raphaelss has joined #ocaml
23:13
^elyse^ has quit [Quit: Leaving...]
23:14
contempt has quit [Ping timeout: 272 seconds]
23:15
contempt has joined #ocaml
23:24
ryanartecona has quit [Quit: ryanartecona]
23:24
ril has joined #ocaml
23:26
netrobyatmobile has joined #ocaml
23:27
yegods has quit [Remote host closed the connection]
23:32
yegods has joined #ocaml
23:45
Guest58 has joined #ocaml
23:45
swgillespie has joined #ocaml
23:53
rgrinberg has joined #ocaml
23:56
lobo has quit [Ping timeout: 260 seconds]
23:59
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]