00:00
Hao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:05
madroach has quit [Ping timeout: 264 seconds]
00:06
madroach has joined #ocaml
00:16
trepta7 has quit [Ping timeout: 265 seconds]
00:32
silver has quit [Quit: rakede]
00:44
al-damiri has quit [Quit: Connection closed for inactivity]
00:47
agarwal1975 has joined #ocaml
00:51
sepp2k has quit [Quit: Leaving.]
00:57
Sim_n has quit [Read error: Connection reset by peer]
01:08
orbifx has quit [Ping timeout: 246 seconds]
01:12
fraggle-boate_ has joined #ocaml
01:15
fraggle-boate has quit [Ping timeout: 256 seconds]
01:23
fraggle_ has quit [Ping timeout: 246 seconds]
01:28
fraggle_ has joined #ocaml
01:32
infinity0 has quit [Remote host closed the connection]
01:34
infinity0 has joined #ocaml
01:45
wu_ng has joined #ocaml
01:46
gregoire has quit [Ping timeout: 265 seconds]
01:49
TarVanimelde has quit [Quit: TarVanimelde]
01:50
TarVanimelde has joined #ocaml
02:05
sh0t has quit [Remote host closed the connection]
02:12
infinity0 has quit [Remote host closed the connection]
02:14
zv has quit [Quit: WeeChat 1.5]
02:14
infinity0 has joined #ocaml
03:00
mfp has quit [Ping timeout: 245 seconds]
03:11
srcerer_ has joined #ocaml
03:11
chelfi has quit [Ping timeout: 245 seconds]
03:11
chelfi has joined #ocaml
03:11
thizanne has quit [Ping timeout: 245 seconds]
03:12
thizanne has joined #ocaml
03:12
mehdib has quit [Ping timeout: 245 seconds]
03:13
mehdib has joined #ocaml
03:14
srcerer has quit [Ping timeout: 260 seconds]
03:30
gregoire has joined #ocaml
03:38
g4143 has joined #ocaml
03:54
rgrinberg has joined #ocaml
03:58
\h has left #ocaml ["WeeChat 1.6"]
04:08
nomicflux has quit [Quit: nomicflux]
04:10
nomicflux has joined #ocaml
04:31
pierpa has quit [Ping timeout: 246 seconds]
04:33
michbad has joined #ocaml
04:36
larhat has quit [Quit: Leaving.]
04:43
nomicflux has quit [Quit: nomicflux]
04:53
g4143 has quit [Quit: Leaving]
05:10
dakk_ has quit [Ping timeout: 246 seconds]
05:12
dakk_ has joined #ocaml
05:19
AlexDenisov has joined #ocaml
05:22
AlexDeni_ has joined #ocaml
05:23
AlexDenisov has quit [Ping timeout: 246 seconds]
05:26
infinity0_ has joined #ocaml
05:26
infinity0 has joined #ocaml
05:26
infinity0 is now known as Guest41534
05:26
Guest41534 has quit [Killed (wolfe.freenode.net (Nickname regained by services))]
05:27
dakk_ has quit [Ping timeout: 265 seconds]
05:28
trepta7 has joined #ocaml
05:28
dakk_ has joined #ocaml
05:32
infinity0 has quit [Remote host closed the connection]
05:33
henrytill_ is now known as henrytill
05:33
henrytill has joined #ocaml
05:33
henrytill has quit [Changing host]
05:35
infinity0 has joined #ocaml
05:36
MightyJoe is now known as cyraxjoe
05:37
copy` has quit [Quit: Connection closed for inactivity]
05:42
AlexDeni_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:42
ygrek has quit [Ping timeout: 260 seconds]
05:43
infinity0 has quit [Remote host closed the connection]
05:43
kamog has joined #ocaml
05:45
infinity0 has joined #ocaml
05:55
MercurialAlchemi has quit [Ping timeout: 256 seconds]
05:57
wu_ng has quit [Read error: Connection reset by peer]
05:57
wu_ng has joined #ocaml
06:03
<
rgrinberg >
vbmithr: \o/
06:03
<
rgrinberg >
reviving conduit is painful T_T
06:10
noddy has quit [Ping timeout: 250 seconds]
06:26
noddy has joined #ocaml
06:29
rgrinberg has quit [Ping timeout: 250 seconds]
06:30
mkdf has joined #ocaml
06:33
fre has joined #ocaml
06:36
nore has quit [Quit: WeeChat 1.4]
06:38
ocaml851 has joined #ocaml
06:38
MercurialAlchemi has joined #ocaml
06:39
<
ocaml851 >
Ho is the List compare function used to sort a list of tuples based on the keys ? Any pointers ?
06:41
nore has joined #ocaml
06:41
<
ocaml851 >
Can I use my own function to compare ?
06:43
desert-rose has joined #ocaml
06:47
FreeBirdLjj has quit [Remote host closed the connection]
06:47
FreeBirdLjj has joined #ocaml
06:47
FreeBirdLjj has quit [Remote host closed the connection]
06:48
FreeBirdLjj has joined #ocaml
06:48
FreeBirdLjj has quit [Remote host closed the connection]
06:48
FreeBirdLjj has joined #ocaml
06:49
FreeBirdLjj has quit [Remote host closed the connection]
07:10
michbad has quit [Remote host closed the connection]
07:14
nicholasf has quit [Remote host closed the connection]
07:15
nicholasf has joined #ocaml
07:16
nicholasf has quit [Remote host closed the connection]
07:16
nicholasf has joined #ocaml
07:25
trepta7 has quit [Ping timeout: 246 seconds]
07:39
alfredo has joined #ocaml
07:51
<
companion_cube >
you mean List.sort, ocaml851?
07:51
<
companion_cube >
yes, you can provide your own comparison function
07:52
<
companion_cube >
e.g. `List.compare (fun (x,_)(y,_) -> compare x y) some_list` will sort w.r.t the first element of tuples
07:52
argent_smith has joined #ocaml
07:55
desert-rose has quit [Ping timeout: 260 seconds]
08:01
<
ocaml851 >
companion_cube : I got that.Even this. let mycompare (key,value) (key',value') = compare key key1;;
08:02
<
ocaml851 >
Yours is more functional. I guess.
08:02
jnavila has joined #ocaml
08:04
<
companion_cube >
heh, in this case it's simple enough that a lambda is shorter
08:04
<
companion_cube >
if you use the comparison function several times, you might still want to name the comparison function, of course
08:04
infinity0 has quit [Remote host closed the connection]
08:05
infinity0 has joined #ocaml
08:08
kamog has quit [Remote host closed the connection]
08:08
larhat has joined #ocaml
08:13
infinity0 has quit [Remote host closed the connection]
08:15
infinity0 has joined #ocaml
08:22
zpe has joined #ocaml
08:22
ygrek has joined #ocaml
08:23
maattdd has joined #ocaml
08:28
maattdd has quit [Ping timeout: 260 seconds]
08:29
nathanielc has quit [Ping timeout: 268 seconds]
08:31
AltGr has joined #ocaml
08:42
nathanielc has joined #ocaml
08:43
Simn has joined #ocaml
08:44
AlexDenisov has joined #ocaml
08:51
fre has quit [Ping timeout: 256 seconds]
08:56
newbie61 has joined #ocaml
08:59
newbie61 is now known as lolisa
09:00
MercurialAlchemi has quit [Ping timeout: 260 seconds]
09:11
AlexRussia has quit [Ping timeout: 248 seconds]
09:14
maattdd has joined #ocaml
09:16
agarwal1975_ has joined #ocaml
09:19
agarwal1975 has quit [Ping timeout: 260 seconds]
09:19
agarwal1975_ is now known as agarwal1975
09:22
AlexRussia has joined #ocaml
09:23
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:26
mpenet has joined #ocaml
09:27
ygrek has quit [Ping timeout: 250 seconds]
09:29
AlexDenisov has joined #ocaml
09:44
dakk_ has quit [Quit: Leaving]
09:44
jwatzman|work has joined #ocaml
09:51
MercurialAlchemi has joined #ocaml
09:53
FreeBirdLjj has joined #ocaml
09:56
TarVanimelde has quit [Quit: TarVanimelde]
09:56
TarVanimelde has joined #ocaml
09:58
FreeBirdLjj has quit [Ping timeout: 268 seconds]
10:06
_andre has joined #ocaml
10:08
kakadu has joined #ocaml
10:24
mkdf has quit [Ping timeout: 260 seconds]
10:29
silver has joined #ocaml
10:31
wu_ng has quit [Ping timeout: 258 seconds]
10:34
AlexRussia has quit [Ping timeout: 248 seconds]
10:36
TarVanimelde has quit [Quit: TarVanimelde]
10:43
TarVanimelde has joined #ocaml
10:46
mfp has joined #ocaml
10:52
AlexRussia has joined #ocaml
10:54
FreeBirdLjj has joined #ocaml
10:56
<
ocaml851 >
Question. let n = List.assoc a l in (a, (appendtolist n b)) Data structure is [("a,["b"])]
10:56
maattdd has quit [Ping timeout: 258 seconds]
10:56
<
ocaml851 >
I thought appendtolist will add "c" like this. [("a,["b","c"])]
10:57
<
ocaml851 >
It doesn't. Should I remove ("a,["b"]) and add ("a,["b","c"]) again ?
10:57
TarVanimelde has quit [Quit: TarVanimelde]
10:58
TarVanimelde has joined #ocaml
10:58
<
companion_cube >
for real use you might want to use a Map instead
10:59
<
ocaml851 >
Meaning ?
10:59
<
companion_cube >
association lists are not very good
10:59
<
companion_cube >
and not that convenient
10:59
<
companion_cube >
(since you don't have this "replace" operation)
10:59
FreeBirdLjj has quit [Ping timeout: 268 seconds]
10:59
<
companion_cube >
got to go
11:01
<
ocaml851 >
Ok. Not sure how to use List.remove_assoc and also modify
11:02
maattdd has joined #ocaml
11:02
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:03
<
zozozo >
ocaml851: have you tried the Map module ?
11:05
<
ocaml851 >
You mean map and then do the same thing ?
11:06
<
ocaml851 >
List.map over [("a,["b"])] and get [("a,["b","c"])]
11:08
<
ocaml851 >
I need to add ("a,["b"]) if it isn't there or update to [("a,["b","c"])]
11:12
<
zozozo >
no, I mean the Map.Make functor
11:13
<
zozozo >
this should provide you with much of the functions you need
11:13
<
ocaml851 >
Well. I am using assoc. lists to learn.
11:14
AlexDenisov has joined #ocaml
11:16
<
zozozo >
ok, so what's your current problem ?
11:18
<
ocaml851 >
let insert l a b = if List.mem_assoc a l then let n = List.assoc a l in (a, (appendtolist n b))::(List.remove_assoc a l) else (a, (appendtolist [] b))::l ;;
11:19
<
ocaml851 >
[("a,["b"])] to [("a,["b","c"])]
11:19
<
ocaml851 >
Doesn't happen like that.
11:19
Mercuria1Alchemi has joined #ocaml
11:20
<
zozozo >
hm.. could your full paste your code somewhere ?
11:20
<
ocaml851 >
Instead this happens [("a,["b"])] becomes[("a,["c"]]
11:23
<
zozozo >
weird, when I try that code, insert ["a", ["b"]] "a" "c" gives ["a", ["b"; "c"]] as expected
11:24
<
ocaml851 >
Oh! Let me check.
11:30
maattdd has quit [Ping timeout: 250 seconds]
11:30
rb___3 has joined #ocaml
11:32
<
ocaml851 >
zozozo : I got the bug which is elsewhere.
11:35
gregoire has quit [Ping timeout: 265 seconds]
11:36
shintaro has joined #ocaml
11:37
shintaro has quit [Client Quit]
11:42
TarVanimelde has quit [Quit: TarVanimelde]
11:59
kamog has joined #ocaml
12:00
Mercuria1Alchemi has quit [Ping timeout: 248 seconds]
12:00
TarVanimelde has joined #ocaml
12:01
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:01
alfredo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:03
alfredo[away] has joined #ocaml
12:03
alfredo[away] is now known as alfredo
12:04
alfredo has quit [Client Quit]
12:05
alfredo has joined #ocaml
12:06
alfredo has quit [Client Quit]
12:06
mpenet has left #ocaml ["ERC (IRC client for Emacs 26.0.50.2)"]
12:08
alfredo has joined #ocaml
12:09
alfredo has quit [Client Quit]
12:11
alfredo has joined #ocaml
12:11
dhil has joined #ocaml
12:12
alfredo has quit [Client Quit]
12:14
alfredo has joined #ocaml
12:17
alfredo has quit [Client Quit]
12:18
alfredo has joined #ocaml
12:22
alfredo has quit [Client Quit]
12:24
alfredo has joined #ocaml
12:27
alfredo has quit [Client Quit]
12:29
alfredo has joined #ocaml
12:29
alfredo has quit [Client Quit]
12:33
alfredo has joined #ocaml
12:33
alfredo has quit [Client Quit]
12:35
alfredo has joined #ocaml
12:36
alfredo has quit [Client Quit]
12:37
Mercuria1Alchemi has joined #ocaml
12:38
alfredo has joined #ocaml
12:39
alfredo has quit [Client Quit]
12:41
maattdd has joined #ocaml
12:45
gregoire has joined #ocaml
12:45
alfredo has joined #ocaml
12:45
alfredo has quit [Client Quit]
12:48
alfredo has joined #ocaml
12:49
alfredo has quit [Client Quit]
12:51
alfredo has joined #ocaml
12:52
alfredo has quit [Client Quit]
12:52
dhil has quit [Ping timeout: 258 seconds]
12:53
alfredo has joined #ocaml
12:54
alfredo is now known as alfredo[away]
12:54
alfredo[away] is now known as alfredo
12:55
nicholasf has quit [Remote host closed the connection]
12:55
nicholasf has joined #ocaml
12:56
nicholasf has quit [Remote host closed the connection]
12:56
nicholasf has joined #ocaml
12:56
FreeBirdLjj has joined #ocaml
12:56
<
ocaml851 >
Anyone have advice to pattern match recursive structures.
12:58
<
ocaml851 >
Something( Something (x , y), Something (x , y), Something (Value 0 , Value 1))
12:58
AlexDenisov has joined #ocaml
12:59
<
ocaml851 >
Something( Something (x , y, z), Something (x , y, z), Something (Value 0 , Value 1, Value 3))
13:02
FreeBirdLjj has quit [Ping timeout: 268 seconds]
13:07
<
lyxia >
what kind of advice
13:19
agarwal1975 has quit [Quit: agarwal1975]
13:22
<
ocaml851 >
I mean all my patterns don't still seem to match.
13:24
<
ocaml851 >
| Something(x,y,z) -> "Pattern1" | Something(x,Value 1,z) -> "Pattern2" and so on.
13:25
<
ocaml851 >
Mine is not really pattern matching. It included all possible cases.
13:25
dhil has joined #ocaml
13:31
<
ocaml851 >
Any book or paper on pattern matching ?
13:31
shinnya has joined #ocaml
13:32
<
thizanne >
implementation or use thereof ?
13:33
<
thizanne >
RWO I guess
13:40
ocaml851 has quit [Ping timeout: 260 seconds]
13:47
gregoire has quit [Ping timeout: 260 seconds]
13:58
agarwal1975 has joined #ocaml
13:58
FreeBirdLjj has joined #ocaml
14:03
malc_ has joined #ocaml
14:04
FreeBirdLjj has quit [Ping timeout: 268 seconds]
14:05
th5 has joined #ocaml
14:19
ciniglio has joined #ocaml
14:21
johnf_ has quit [Read error: Connection reset by peer]
14:21
johnf_ has joined #ocaml
14:22
troydm has quit [Ping timeout: 244 seconds]
14:25
zpe has quit [Remote host closed the connection]
14:25
zpe has joined #ocaml
14:28
TarVanimelde has quit [Quit: TarVanimelde]
14:29
sh0t has joined #ocaml
14:30
zpe has quit [Ping timeout: 250 seconds]
14:35
nomicflux has joined #ocaml
14:41
sepp2k has joined #ocaml
14:42
zirman has joined #ocaml
14:47
dhil has quit [Ping timeout: 245 seconds]
14:52
TarVanimelde has joined #ocaml
14:53
zirman has quit [Remote host closed the connection]
15:00
zirman has joined #ocaml
15:00
zirman has joined #ocaml
15:00
zirman has quit [Changing host]
15:06
d0nn1e has quit [Ping timeout: 250 seconds]
15:09
d0nn1e has joined #ocaml
15:10
MercurialAlchemi has quit [Ping timeout: 256 seconds]
15:14
shinnya has quit [Ping timeout: 250 seconds]
15:21
pierpa has joined #ocaml
15:27
TarVanimelde has quit [Quit: TarVanimelde]
15:40
dhil has joined #ocaml
15:42
copy` has joined #ocaml
15:48
kamog has quit [Ping timeout: 256 seconds]
15:56
nicholasf has quit [Remote host closed the connection]
15:56
tennix has joined #ocaml
16:01
FreeBirdLjj has joined #ocaml
16:06
FreeBirdLjj has quit [Ping timeout: 268 seconds]
16:07
al-damiri has joined #ocaml
16:07
Muzer has quit [Read error: Connection reset by peer]
16:10
gregoire has joined #ocaml
16:10
malc_ has quit [Remote host closed the connection]
16:12
isd has quit [Read error: Connection reset by peer]
16:26
Muzer has joined #ocaml
16:26
yomimono has joined #ocaml
16:27
isd has joined #ocaml
16:42
tennix has quit [Quit: WeeChat 1.6]
16:46
fraggle_ has quit [Ping timeout: 260 seconds]
16:46
larhat has quit [Quit: Leaving.]
16:47
fraggle_ has joined #ocaml
16:47
freusque has quit [Ping timeout: 268 seconds]
17:01
jnavila has quit [Quit: It was time]
17:01
mfp has quit [Ping timeout: 248 seconds]
17:02
nomicflux has quit [Quit: nomicflux]
17:02
FreeBirdLjj has joined #ocaml
17:05
dhil has quit [Ping timeout: 248 seconds]
17:07
FreeBirdLjj has quit [Ping timeout: 268 seconds]
17:12
gregoire has quit [Ping timeout: 248 seconds]
17:14
zirman has quit [Remote host closed the connection]
17:17
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:21
mfp has joined #ocaml
17:23
trepta7 has joined #ocaml
17:32
dhil has joined #ocaml
17:38
agarwal1975 has quit [Quit: agarwal1975]
17:41
smondet has joined #ocaml
17:57
hcarty has joined #ocaml
17:58
ryanartecona has joined #ocaml
17:59
jnavila has joined #ocaml
18:00
maattdd has quit [Ping timeout: 245 seconds]
18:13
hcarty has quit [Quit: WeeChat 1.5]
18:14
malina has joined #ocaml
18:17
jnavila has quit [Ping timeout: 260 seconds]
18:18
fre has joined #ocaml
18:19
yomimono has quit [Ping timeout: 256 seconds]
18:20
zirman has joined #ocaml
18:20
zirman has joined #ocaml
18:20
zirman has quit [Changing host]
18:21
kakadu has quit [Quit: Konversation terminated!]
18:21
zirmann has joined #ocaml
18:22
zirmann has quit [Remote host closed the connection]
18:22
zirman has quit [Read error: Connection reset by peer]
18:22
AltGr has left #ocaml [#ocaml]
18:22
zirman has joined #ocaml
18:22
zirman has joined #ocaml
18:22
zirman has quit [Changing host]
18:23
gregoire has joined #ocaml
18:24
sh0t has quit [Ping timeout: 258 seconds]
18:26
AlexDenisov has joined #ocaml
18:34
zv has joined #ocaml
18:38
sh0t has joined #ocaml
18:43
calculemus has quit [Read error: Connection reset by peer]
18:44
calculemus has joined #ocaml
18:50
ryanartecona has quit [Quit: ryanartecona]
18:56
_andre has quit [Quit: leaving]
19:01
jnavila has joined #ocaml
19:05
FreeBirdLjj has joined #ocaml
19:05
malina has quit [Ping timeout: 260 seconds]
19:11
FreeBirdLjj has quit [Ping timeout: 268 seconds]
19:13
slash^ has joined #ocaml
19:18
kakadu has joined #ocaml
19:18
dhil has quit [Ping timeout: 260 seconds]
19:19
sh0t has quit [Ping timeout: 245 seconds]
19:22
yomimono has joined #ocaml
19:23
rgrinberg has joined #ocaml
19:28
ygrek has joined #ocaml
19:29
sh0t has joined #ocaml
19:29
RichN has joined #ocaml
19:33
nomicflux has joined #ocaml
19:37
dhil has joined #ocaml
19:47
zpe has joined #ocaml
19:52
trepta7 has quit [Ping timeout: 248 seconds]
19:54
esad has joined #ocaml
19:57
zirman has quit [Remote host closed the connection]
20:00
<
seliopou >
jlouis: are you here? I have a request for data :)
20:10
yomimono has quit [Ping timeout: 250 seconds]
20:10
fre has quit [Ping timeout: 250 seconds]
20:12
yomimono has joined #ocaml
20:15
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:16
orbifx has joined #ocaml
20:21
orbifx1 has joined #ocaml
20:23
orbifx has quit [Ping timeout: 260 seconds]
20:26
slash^ has quit [Read error: Connection reset by peer]
20:37
jnavila has quit [Ping timeout: 256 seconds]
20:38
zirman has joined #ocaml
20:38
zirman has joined #ocaml
20:38
zirman has quit [Changing host]
20:43
malina has joined #ocaml
20:47
rgrinberg has quit [Ping timeout: 256 seconds]
20:47
rgrinberg has joined #ocaml
20:48
yomimono has quit [Ping timeout: 245 seconds]
20:48
jao has joined #ocaml
20:59
dhil has quit [Ping timeout: 250 seconds]
21:02
nicholasf has joined #ocaml
21:10
jnavila has joined #ocaml
21:14
esad has joined #ocaml
21:14
Mercuria1Alchemi has quit [Ping timeout: 260 seconds]
21:15
srcerer_ is now known as srcerer
21:17
yomimono has joined #ocaml
21:18
sh0t has quit [Ping timeout: 245 seconds]
21:20
<
orbifx1 >
It shouldn't built on neither
21:20
<
orbifx1 >
because Lwt is not open
21:22
agarwal1975 has joined #ocaml
21:24
<
kakadu >
first of all you are missing some dependency because opiom.unix is not found
21:25
<
orbifx1 >
btw link is stale now, as pushed to it
21:25
zpe has quit [Remote host closed the connection]
21:25
<
orbifx1 >
kakadu: I don't get any issues; what did you get?
21:26
<
kakadu >
ocamlfind: Package `opium.unix' not found
21:26
<
orbifx1 >
not installed maybe?
21:26
<
kakadu >
I did make opam.dependencies
21:26
nicholasf has quit [Remote host closed the connection]
21:27
<
orbifx1 >
even with make clean and make my compilation works
21:27
<
orbifx1 >
Ill update opam in case something changed
21:27
gregoire has quit [Ping timeout: 260 seconds]
21:27
<
orbifx1 >
what ocaml version are you using kakadu ?
21:29
<
orbifx1 >
I've not built on 4.04 yet
21:29
<
kakadu >
opium doesn't compile with 4.04
21:30
<
kakadu >
I kind of missed that
21:33
<
kakadu >
opium is not installable because package alcotest is not found
21:33
<
kakadu >
1. Who forgot a dependency
21:34
<
kakadu >
2. Who invents so weird names?
21:35
<
kakadu >
okay, opium seems to be not installable. I don't want to hack this
21:35
sh0t has joined #ocaml
21:35
<
kakadu >
I have some Obj.magics to debug
21:41
ewanas has quit [Remote host closed the connection]
21:47
<
orbifx1 >
kakadu: thanks for trying, good to know now to upgrade to 4.04 just yet :P
21:47
<
orbifx1 >
I will speak to rgrinberg at some point about it
21:48
<
orbifx1 >
but it's strange that my intel based machine compiled without me qualifying lwt, but the ARM one didn;t
21:53
<
rgrinberg >
opium is quite installable for me. $ ocamlfind list | grep -i opium gives both opium and opium.unix
21:53
<
rgrinberg >
That's on 4.04 btw
21:54
SpiceGuid has joined #ocaml
21:54
jnavila has quit [Ping timeout: 260 seconds]
21:55
<
orbifx1 >
I've not tried yet
21:55
<
orbifx1 >
kakadu: had some trouble
21:55
<
rgrinberg >
I've never built OCaml on arm so I have no idea what problems could arise there :/
21:56
SpiceGuid has quit [Client Quit]
21:57
<
rgrinberg >
kakadu: thanks, let me have a look
21:57
<
rgrinberg >
kakadu: oh, could you try 0.15.1 please?
21:58
<
rgrinberg >
I recall 0.15.0 had some kind of a problem like this.
22:00
<
orbifx1 >
rgrinberg: I'm building on ARM, but 4.03 for now, so will let you know
22:00
<
orbifx1 >
rgrinberg: quick side question, how do I select the port opium listens to?
22:02
<
rgrinberg >
Depends on if you're using the builtin cmdliner support. In that case just pass -p appropriately.
22:02
<
orbifx1 >
no cmdline for now
22:03
<
orbifx1 >
I noticed that and I will investigate another day, but fow now, say I want to do it from within the code.
22:03
<
rgrinberg >
Otherwise just use the port function in Opium.App.port
22:03
<
orbifx1 >
I tried App.empty |> port ...
22:03
<
kakadu >
File "src/web.ml", line 42, characters 20-26:
22:04
<
kakadu >
Error: Unbound value return
22:04
<
kakadu >
orbifx1: !!!!!
22:04
<
kakadu >
No magic in this world except the `Obj.magic`
22:04
<
rgrinberg >
orbifx1: yes! opium will no longer export Lwt's functions for you
22:05
<
rgrinberg >
orbifx1: Let me see an example of where you're trying to set the port
22:05
<
orbifx1 >
kakadu, rgrinberg: I guess I have an old version of opium. I've fixed the Lwt opening anyway
22:05
<
orbifx1 >
rgrinberg: also my bad, I didn't open App for port
22:08
FreeBirdLjj has joined #ocaml
22:08
nicholasf has joined #ocaml
22:11
zirmann has joined #ocaml
22:14
FreeBirdLjj has quit [Ping timeout: 250 seconds]
22:14
zirman has quit [Ping timeout: 246 seconds]
22:15
zirmann has quit [Ping timeout: 258 seconds]
22:16
sepp2k has quit [Quit: Leaving.]
22:17
jimt_ has joined #ocaml
22:18
isd has quit [Ping timeout: 244 seconds]
22:21
jimt has quit [Ping timeout: 260 seconds]
22:21
jao has quit [Ping timeout: 260 seconds]
22:31
agarwal1975 has quit [Ping timeout: 245 seconds]
22:34
<
orbifx1 >
rgrinberg: seems to work fine on ARM
22:35
gregoire has joined #ocaml
22:48
<
orbifx1 >
zozozo: was it you who told me that ppx_deriving can automatically generate string values for field names?
22:58
argent_smith has quit [Quit: Leaving.]
22:58
kcns has joined #ocaml
22:59
kakadu has quit [Remote host closed the connection]
22:59
<
kcns >
does anyone know how to get the threads module working in the interpreter?
23:02
yomimono has quit [Ping timeout: 268 seconds]
23:02
TarVanimelde has joined #ocaml
23:03
jimt_ has quit [Ping timeout: 268 seconds]
23:05
jimt has joined #ocaml
23:21
zirman has joined #ocaml
23:25
zirman has quit [Ping timeout: 245 seconds]
23:31
zirman has joined #ocaml
23:31
sh0t has quit [Quit: Leaving]
23:37
zirman has quit [Remote host closed the connection]
23:38
gregoire has quit [Ping timeout: 250 seconds]
23:44
kcns has quit [Quit: Page closed]
23:47
zirman has joined #ocaml
23:47
zirman has joined #ocaml
23:47
zirman has quit [Changing host]
23:52
malc_ has joined #ocaml
23:57
malc_ has quit [Remote host closed the connection]