00:01
eh_eff has joined #ocaml
00:05
eh_eff has quit [Ping timeout: 248 seconds]
00:12
sgnb` has joined #ocaml
00:13
sgnb has quit [Ping timeout: 240 seconds]
00:18
Algebr has quit [Ping timeout: 258 seconds]
00:18
<
ELLIOTTCABLE >
figured that out about five minutes after asking. forgot a simple `open Core`. ignore me! ;_;
00:24
enterprisey has quit [Quit: Leaving]
00:26
leah2 has joined #ocaml
00:41
keep_learning has quit [Ping timeout: 240 seconds]
00:45
leah2 has quit [Ping timeout: 248 seconds]
00:54
ristos has quit [Quit: Connection closed for inactivity]
00:56
mengu has joined #ocaml
01:00
mengu has quit [Ping timeout: 240 seconds]
01:04
Algebr has joined #ocaml
01:15
_whitelogger has joined #ocaml
01:16
Algebr has quit [Remote host closed the connection]
01:22
cbot has joined #ocaml
01:23
leah2 has joined #ocaml
01:34
mengu has joined #ocaml
01:35
mfp__ has quit [Ping timeout: 264 seconds]
01:39
mengu has quit [Ping timeout: 258 seconds]
01:53
yawaramin_ has joined #ocaml
02:09
shinnya has quit [Ping timeout: 248 seconds]
02:14
al-damiri has quit [Quit: Connection closed for inactivity]
02:15
samrat has joined #ocaml
02:17
ygrek has quit [Ping timeout: 248 seconds]
02:20
leah2 has quit [Ping timeout: 258 seconds]
02:23
enterprisey has joined #ocaml
02:32
FreeBirdLjj has joined #ocaml
02:35
leah2 has joined #ocaml
02:37
marcux has joined #ocaml
02:47
marcux has quit [Quit: Lost terminal]
02:54
leah2 has quit [Ping timeout: 240 seconds]
03:11
mengu has joined #ocaml
03:13
leah2 has joined #ocaml
03:16
mengu has quit [Ping timeout: 248 seconds]
03:18
leah2 has quit [Ping timeout: 248 seconds]
03:25
yawaramin_ has quit [Ping timeout: 255 seconds]
03:29
<
rgrinberg >
Leonidas: you're misinterpreting -p. -p <pacakges> makes jbuilder ignore all non <packages> in your build root
03:29
<
rgrinberg >
in your case, that basically ignores the local redis library
03:30
<
rgrinberg >
-p is not meant for target selection. it's meant to build code against findlib, rather than local libraries
03:41
leah2 has joined #ocaml
03:45
mengu has joined #ocaml
03:50
mengu has quit [Ping timeout: 240 seconds]
03:53
sharno has quit [Quit: Leaving...]
03:54
marcux has joined #ocaml
03:58
leah2 has quit [Ping timeout: 248 seconds]
04:02
marcux has quit [Quit: leaving]
04:02
marcux has joined #ocaml
04:03
eh_eff has joined #ocaml
04:04
marcux has quit [Client Quit]
04:04
marcux has joined #ocaml
04:08
eh_eff has quit [Ping timeout: 240 seconds]
04:13
yawaramin_ has joined #ocaml
04:14
leah2 has joined #ocaml
04:15
govg has joined #ocaml
04:23
mengu has joined #ocaml
04:24
samrat has quit [Ping timeout: 240 seconds]
04:25
marcux has quit [Ping timeout: 240 seconds]
04:26
leah2 has quit [Ping timeout: 246 seconds]
04:27
mengu has quit [Ping timeout: 240 seconds]
04:36
FreeBirdLjj has quit [Remote host closed the connection]
04:37
FreeBirdLjj has joined #ocaml
04:37
samrat has joined #ocaml
04:42
leah2 has joined #ocaml
04:54
mengu has joined #ocaml
04:58
mengu has quit [Ping timeout: 258 seconds]
05:12
_whitelogger has joined #ocaml
05:13
mbuf has joined #ocaml
05:16
FreeBirdLjj has quit [Remote host closed the connection]
05:30
mengu has joined #ocaml
05:31
presiden has joined #ocaml
05:33
FreeBirdLjj has joined #ocaml
05:34
mengu has quit [Ping timeout: 240 seconds]
05:47
leah2 has quit [Ping timeout: 240 seconds]
06:03
slash^ has joined #ocaml
06:03
infinity0_ has joined #ocaml
06:03
infinity0 is now known as Guest63281
06:03
infinity0_ has quit [Changing host]
06:03
infinity0 has joined #ocaml
06:03
Guest63281 has quit [Killed (rajaniemi.freenode.net (Nickname regained by services))]
06:03
infinity0_ is now known as infinity0
06:04
eh_eff has joined #ocaml
06:05
mengu has joined #ocaml
06:09
eh_eff has quit [Ping timeout: 258 seconds]
06:10
mengu has quit [Ping timeout: 264 seconds]
06:10
enterprisey has quit [Remote host closed the connection]
06:14
leah2 has joined #ocaml
06:15
yawaramin_ has quit [Ping timeout: 258 seconds]
06:23
dakk has joined #ocaml
06:24
leah2 has quit [Ping timeout: 258 seconds]
06:27
samrat has quit [Ping timeout: 240 seconds]
06:29
enterprisey has joined #ocaml
06:33
sz0 has joined #ocaml
06:34
cbot has quit [Quit: Leaving]
06:39
leah2 has joined #ocaml
06:43
<
Leonidas >
rgrinberg: oh, ok. So I'd need to define an alias like @runtest-lwt and @runtest-async to build and run the respective tests?
06:43
FreeBirdLjj has quit [Remote host closed the connection]
06:43
<
Leonidas >
ELLIOTTCABLE: Sometimes asking in the channel is like rubber ducking :-)
06:57
reynir is now known as rubberduckreynir
06:58
mengu has joined #ocaml
07:01
FreeBirdLjj has joined #ocaml
07:06
FreeBird_ has joined #ocaml
07:08
mengu has quit [Remote host closed the connection]
07:08
FreeBirdLjj has quit [Ping timeout: 255 seconds]
07:09
Simn has joined #ocaml
07:10
samrat has joined #ocaml
07:10
FreeBird_ has quit [Ping timeout: 248 seconds]
07:12
leah2 has quit [Ping timeout: 248 seconds]
07:13
FreeBirdLjj has joined #ocaml
07:17
FreeBirdLjj has quit [Ping timeout: 240 seconds]
07:19
mengu has joined #ocaml
07:26
leah2 has joined #ocaml
07:30
samrat has quit [Ping timeout: 258 seconds]
07:38
FreeBirdLjj has joined #ocaml
07:42
freusque has joined #ocaml
07:42
FreeBirdLjj has quit [Ping timeout: 260 seconds]
07:43
mengu has quit [Remote host closed the connection]
07:49
enterprisey has quit [Remote host closed the connection]
07:50
leah2 has quit [Ping timeout: 248 seconds]
07:54
argent_smith has joined #ocaml
07:55
FreeBirdLjj has joined #ocaml
07:57
mengu has joined #ocaml
08:02
FreeBirdLjj has quit [Ping timeout: 248 seconds]
08:04
leah2 has joined #ocaml
08:06
eh_eff has joined #ocaml
08:08
FreeBirdLjj has joined #ocaml
08:11
eh_eff has quit [Ping timeout: 264 seconds]
08:12
FreeBirdLjj has quit [Ping timeout: 240 seconds]
08:16
leah2 has quit [Ping timeout: 246 seconds]
08:17
samrat has joined #ocaml
08:21
igstan has joined #ocaml
08:23
<
Leonidas >
rubberduckreynir: I can't get jbuilder to build only lwt/async versions, dear rubber duck :p
08:23
<
rubberduckreynir >
:D
08:24
<
rubberduckreynir >
I only started using jbuilder very recently, so I'm afraid I can't do more than... rubber duck :)
08:42
tormen has quit [Remote host closed the connection]
08:44
mnemem has joined #ocaml
08:53
AltGr has joined #ocaml
08:53
fre has joined #ocaml
08:54
freusque has quit [Ping timeout: 240 seconds]
09:00
FreeBirdLjj has joined #ocaml
09:00
<
Leonidas >
that's ok, dear rubber duck, thanks for listening anyway :)
09:04
FreeBirdLjj has quit [Ping timeout: 258 seconds]
09:11
ShalokShalom has quit [Ping timeout: 246 seconds]
09:24
mfp__ has joined #ocaml
09:24
igstan has quit [Quit: igstan]
09:30
sz0 has quit [Quit: Connection closed for inactivity]
09:44
Simn has quit [Ping timeout: 264 seconds]
10:01
Trou has joined #ocaml
10:02
<
Trou >
hello, I'm trying to get a "tags" files for a project that uses PPX. otags states (for an old version) that they don't support ppx
10:02
<
Trou >
is there a way to do that ?
10:07
tane has joined #ocaml
10:09
eh_eff has joined #ocaml
10:27
shinnya has joined #ocaml
10:29
kakadu has joined #ocaml
10:34
copy_ has joined #ocaml
10:36
eh_eff has quit [Ping timeout: 248 seconds]
10:41
samrat has quit [Ping timeout: 260 seconds]
10:47
leah2 has joined #ocaml
10:58
leah2 has quit [Ping timeout: 240 seconds]
11:09
kerrhau has quit [Ping timeout: 248 seconds]
11:10
Simn has joined #ocaml
11:13
leah2 has joined #ocaml
11:14
Simn has quit [Ping timeout: 255 seconds]
11:15
<
Leonidas >
Trou: you mean like something like ctags?
11:18
<
kakadu >
Folks, I get Invalid_argument("Filename.chop_extension") when I'm trying to use ppx rewriter with ocamldep.
https://paste.in.ua/2939/#3 Which experiment can I try next?
11:18
leah2 has quit [Ping timeout: 255 seconds]
11:20
<
def` >
kakadu: what is the output of running
11:20
<
def` >
/home/kakadu/.opam/4.05.0+flambda/lib/ppx_deriving/./ppx_deriving
11:20
<
def` >
(ppx_deriving is in an unsatisfactory state right now :/)
11:20
<
kakadu >
def`: Usage: /home/kakadu/.opam/4.05.0+flambda/lib/ppx_deriving/ppx_deriving [extra_args] <infile> <outfile>
11:22
<
kakadu >
ppx_deriving is pinned to git repo
11:27
<
Leonidas >
def`: how so? I think it recently got back into a usable state?
11:28
<
Leonidas >
("usable" for me is "does not conflict with ppx-driver" but maybe your definition is different)
11:29
<
Trou >
Leonidas: yes, theres's "otags" that generates files compatible with emacs and vi
11:29
<
def` >
good state is that it should behave properly with omp (jbuilder, etc)
11:30
<
Leonidas >
def`: I thought the current release does? TIL
11:32
<
def` >
Leonidas: there is a bit of breakage between omp driver & current ppx_deriving (because commandline conventions are different, and extension registration is not completely satisfactory, maybe omp has to be adjusted a bit)
11:32
<
def` >
but I don't know the problem well enough to propose a solution :P
11:39
<
kakadu >
also, git version of opam file has version 4.1 inside but 4.2 seems to be released
11:39
<
kakadu >
it probably should be upgraded
11:51
ShalokShalom has joined #ocaml
11:54
amatheus has quit [Ping timeout: 258 seconds]
11:55
amatheus has joined #ocaml
12:05
freyr has joined #ocaml
12:07
sh0t has joined #ocaml
12:12
Pepe_ has quit [Quit: leaving]
12:15
BitPuffin|osx has joined #ocaml
12:30
mbuf has quit [Quit: rcirc on GNU Emacs 25.3.2]
12:33
eh_eff has joined #ocaml
12:38
al-damiri has joined #ocaml
12:43
<
kakadu >
Folks, if my ppx_deriving plugin requires some code from ppx_tools should
12:44
<
kakadu >
1) adjust invoking a plugin by specifyinf ppx_tools.cmxsomthing?
12:44
<
kakadu >
2) adjust compilation of my_plugin.cma?
12:47
ShalokShalom has quit [Ping timeout: 248 seconds]
12:47
ShalokShalom_ has joined #ocaml
12:51
<
kakadu >
google says that I should pack my plugin with required modules
12:51
<
kakadu >
It seems that this plugins are tricky
12:56
<
def` >
I just think that you should prefer ppx_tools_versioned over ppx_tools
12:58
_andre has joined #ocaml
13:03
eh_eff has quit [Ping timeout: 264 seconds]
13:08
samrat has joined #ocaml
13:14
ShalokShalom_ is now known as ShalokShalom
13:14
tormen has joined #ocaml
13:17
Nephe has quit [Remote host closed the connection]
13:22
leah2 has joined #ocaml
13:29
leah2 has quit [Ping timeout: 248 seconds]
13:29
<
kakadu >
def`: does compilation line looks OK for you?
13:29
<
kakadu >
ocamlfind ocamlopt -shared -linkall -package ppx_tools_versioned,ppx_tools_versioned.metaquot_405,ppx_deriving.api,ppx_tools_versioned -package 'ocaml-migrate-parsetree ocaml-migrate-parsetree ppx_tools_versioned.metaquot_405' -I ppx ppx/ppx_deriving_gt.cmxa -o ppx/ppx_deriving_gt.cmxs
13:29
<
kakadu >
I get a strange linking error
13:29
<
kakadu >
undefined symbol: camlAst_convenience_405__lid_inner_176
13:30
<
kakadu >
maybe it is inside Longident.parse and inlining raises this error message....
13:31
mnemem has quit [Ping timeout: 255 seconds]
13:31
ristos has joined #ocaml
13:34
<
kakadu >
nope, thereis no inner in the Longident.ml
13:40
amatheus has quit [Quit: amatheus]
13:40
amatheus has joined #ocaml
13:44
amatheus has quit [Client Quit]
13:45
amatheus has joined #ocaml
13:45
yawaramin_ has joined #ocaml
13:46
samrat has quit [Ping timeout: 248 seconds]
13:56
Nephe has joined #ocaml
14:12
yawaramin_ has quit [Ping timeout: 258 seconds]
14:13
shinnya has quit [Ping timeout: 248 seconds]
14:14
yawaramin_ has joined #ocaml
14:28
fre has quit [Quit: WeeChat 1.7.1]
14:29
gasche has left #ocaml ["ERC (IRC client for Emacs 24.5.1)"]
14:32
freusque has joined #ocaml
14:33
kakadu_ has joined #ocaml
14:33
kakadu_ has quit [Client Quit]
15:05
mengu has quit [Remote host closed the connection]
15:05
mengu has joined #ocaml
15:10
mengu has quit [Ping timeout: 264 seconds]
15:26
freyr has quit [Remote host closed the connection]
15:27
govg has quit [Ping timeout: 246 seconds]
15:28
samrat has joined #ocaml
15:29
govg has joined #ocaml
15:30
mengu has joined #ocaml
15:33
govg has quit [Ping timeout: 240 seconds]
15:34
frefity has joined #ocaml
15:36
<
frefity >
How do I get an Unix.inet_addr from a hostname? ie, do dns lookup?
15:38
<
hannes >
frefity: via Unix.gethostbyname or Unix.getaddrinfo
15:38
<
frefity >
thanks :)
15:38
<
frefity >
just found it
15:38
<
hannes >
(in case you're using Lwt, there are Lwt_unix wrappers for this)
15:38
<
frefity >
nice, I am
15:39
<
hannes >
which are then working asynchronously..
15:42
yawaramin_ has quit [Ping timeout: 246 seconds]
15:42
yawaramin_ has joined #ocaml
15:54
hjshf has quit [Quit: Connection closed for inactivity]
15:54
ziyourenxiang has quit [Ping timeout: 258 seconds]
15:56
frefity has quit [Quit: Ex-Chat]
16:17
BitPuffin|osx has quit [Ping timeout: 248 seconds]
16:24
mengu has quit [Remote host closed the connection]
16:24
dakk has quit [Remote host closed the connection]
16:29
marcux has joined #ocaml
16:37
marcux has quit [Remote host closed the connection]
17:05
jnavila has joined #ocaml
17:14
kerrhau has joined #ocaml
17:14
kerrhau has quit [Changing host]
17:14
kerrhau has joined #ocaml
17:16
mnemem has joined #ocaml
17:17
SpiceGuid has joined #ocaml
17:18
aciniglio has joined #ocaml
17:21
marcux has joined #ocaml
17:24
mnemem has quit [Ping timeout: 248 seconds]
17:26
kerrhau has quit [Ping timeout: 258 seconds]
17:28
marcux has quit [Quit: Lost terminal]
17:30
leah2 has joined #ocaml
17:32
ygrek has joined #ocaml
17:44
mengu has joined #ocaml
17:50
andreas__ has quit [Quit: Connection closed for inactivity]
17:51
govg has joined #ocaml
17:55
leah2 has quit [Ping timeout: 240 seconds]
17:59
mnemem has joined #ocaml
18:13
leah2 has joined #ocaml
18:14
mnemem has quit [Ping timeout: 248 seconds]
18:23
mnemem has joined #ocaml
18:26
groovy2shoes has quit [Remote host closed the connection]
18:30
mengu has quit [Remote host closed the connection]
18:30
mengu has joined #ocaml
18:35
samrat has quit [Ping timeout: 240 seconds]
18:37
webshinra has quit [Remote host closed the connection]
18:37
andreas__ has joined #ocaml
18:39
leah2 has quit [Ping timeout: 255 seconds]
18:40
mengu has quit [Remote host closed the connection]
18:44
mengu has joined #ocaml
18:45
NaCl_ has joined #ocaml
18:45
NaCl_ has quit [Changing host]
18:45
NaCl_ has joined #ocaml
18:45
NaCl_ has quit [Client Quit]
18:45
SpiceGuid has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.48/20170707010522]]
18:49
kakadu has quit [Quit: Konversation terminated!]
18:55
leah2 has joined #ocaml
19:01
eh_eff has joined #ocaml
19:06
eh_eff has quit [Ping timeout: 240 seconds]
19:19
Simn has joined #ocaml
19:26
yawaramin_ has quit [Ping timeout: 258 seconds]
19:32
slash^ has quit [Read error: Connection reset by peer]
19:32
mengu has quit [Remote host closed the connection]
19:38
jcelerier has joined #ocaml
19:39
<
jcelerier >
but the first thing that I type in the repl fails!
19:39
<
jcelerier >
type person = {Name:string; Age:int; Job:string; City:string};;
19:39
<
jcelerier >
tells me "syntax error" around "Name"
19:40
kerrhau has joined #ocaml
19:40
kerrhau has quit [Changing host]
19:40
kerrhau has joined #ocaml
19:42
<
ygrek >
@jcelerier, your book is about caml light
19:42
<
ygrek >
you are typing into ocaml
19:42
<
ygrek >
these are different languages
19:42
<
jcelerier >
... yuck. that's the first link in google when searching for "ocaml define structure"
19:43
mengu has joined #ocaml
19:46
<
octachron >
… it is always frustrating when OCaml lose to Caml light in term of SEO
19:47
mrgrieves has quit [Quit: leaving]
19:48
ikanobori has joined #ocaml
19:57
kakadu has joined #ocaml
20:03
kakadu_ has joined #ocaml
20:03
kakadu has quit [Ping timeout: 258 seconds]
20:07
webshinra has joined #ocaml
20:08
copy_ has quit [Quit: Connection closed for inactivity]
20:11
tane has quit [Quit: Leaving]
20:18
enterprisey has joined #ocaml
20:22
kerrhau has quit [Quit: bye!]
20:29
enterprisey_ has joined #ocaml
20:37
eh_eff has joined #ocaml
20:41
groovy2shoes has joined #ocaml
20:45
kerrhau has joined #ocaml
20:45
kerrhau has quit [Changing host]
20:45
kerrhau has joined #ocaml
20:45
Associat0r has joined #ocaml
20:45
Associat0r has quit [Changing host]
20:45
Associat0r has joined #ocaml
20:50
Associat0r has quit [Read error: Connection reset by peer]
20:55
mengu has quit [Remote host closed the connection]
21:04
nahra has quit [Remote host closed the connection]
21:06
AltGr has left #ocaml [#ocaml]
21:11
Denommus has joined #ocaml
21:12
nahra has joined #ocaml
21:12
jnavila has quit [Ping timeout: 240 seconds]
21:13
enterprisey_ has quit [Remote host closed the connection]
21:13
enterprisey has quit [Remote host closed the connection]
21:19
mnemem_ has joined #ocaml
21:22
enterprisey has joined #ocaml
21:22
mnemem has quit [Ping timeout: 246 seconds]
21:23
jnavila has joined #ocaml
21:38
<
ELLIOTTCABLE >
Leonidas: <3
21:42
aciniglio has quit [Ping timeout: 258 seconds]
21:55
jnavila has quit [Ping timeout: 240 seconds]
22:05
yawaramin_ has joined #ocaml
22:07
gacepa has joined #ocaml
22:12
Space_Sheep has joined #ocaml
22:13
SpaceSheep has quit [Ping timeout: 255 seconds]
22:15
amatheus has quit [Quit: amatheus]
22:20
mnemem has joined #ocaml
22:22
sh0t has quit [Remote host closed the connection]
22:22
mnemem_ has quit [Ping timeout: 258 seconds]
22:28
lncrz has joined #ocaml
22:33
<
lncrz >
Hi. I'm kinda lost after a quick search for OpenGL bindings in Ocaml, could someone please tell me which one is supposed to be the canonical one ?
22:40
mnemem has quit [Read error: Connection reset by peer]
22:40
argent_smith has quit [Quit: Leaving.]
22:40
<
smondet[m] >
If you want to make old-school OpenGL that works on a system from 1998 `Lablgl` still works (I used not long ago for a quick hack)
22:42
<
lncrz >
smondet[m]: thanks. Ill go with tgls I guess
22:45
cbot has joined #ocaml
22:50
<
smondet[m] >
lncrz: also, there are WebGL bindings in `js_of_ocaml`'s library
22:51
Trou has left #ocaml [#ocaml]
22:53
mnemem has joined #ocaml
22:55
bjs has quit [Ping timeout: 264 seconds]
22:56
bjs has joined #ocaml
22:59
kakadu_ has quit [Remote host closed the connection]
23:02
bjs has quit [Ping timeout: 264 seconds]
23:02
bjs has joined #ocaml
23:05
jbrown has joined #ocaml
23:09
Denommus has quit [Quit: going home]
23:13
enterprisey has quit [Read error: Connection reset by peer]
23:15
Simn has quit [Quit: Leaving]
23:28
bjs has quit [Ping timeout: 248 seconds]
23:30
yawaramin_ has quit [Ping timeout: 258 seconds]
23:33
yawaramin_ has joined #ocaml
23:36
bjs has joined #ocaml
23:57
xorpse has joined #ocaml
23:57
xorpse has quit [Client Quit]