madroach has quit [Read error: Connection reset by peer]
ygrek has quit [Ping timeout: 260 seconds]
smondet has quit [Ping timeout: 248 seconds]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
two_wheels has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
two_wheels has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
noddy has quit [Ping timeout: 252 seconds]
<cpdean>
how do i install all the dependencies for a project?
<cpdean>
for example I've pulled down irmin's source code and now i wish i could install all the packages it needs for compilation
agarwal1975 has joined #ocaml
<cpdean>
right now the only solution i've got is copying the package list in vim and formatting it as a command
brunoro_ has joined #ocaml
noddy has joined #ocaml
brunoro_ has quit [Ping timeout: 252 seconds]
<Bluddy[m]>
cpdean: since irmin is on opam, you can either install it directly from opam, or if you need the source version for some reason, you can just pin it (opam pin add irmin location_of_source') and then install
<cpdean>
oh nice
<cpdean>
yeah i want to build it locally
<cpdean>
to run its tests and read how it works
<cpdean>
so in opam when you pin something does that mean you just associate a name with a more specific installable, and things that do not have pins get looked up in the central repository?
larhat1 has quit [Ping timeout: 248 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
milodavis has quit [Quit: WeeChat 1.0.1]
larhat has joined #ocaml
<Bluddy[m]>
yep
<cpdean>
Bluddy[m]: k that worked. how do i install {test} deps tho?
<Bluddy[m]>
looks like `opam install --build-test` might do? I dunno, just searched the docs
<cpdean>
Bluddy[m]: sweet that worked, thanks!
conrad1 has joined #ocaml
conrad1 has quit [Ping timeout: 260 seconds]
ocaml599 has joined #ocaml
ocaml599 has quit [Client Quit]
brunoro_ has joined #ocaml
cpdean has quit [Ping timeout: 260 seconds]
nicholasf has quit [Remote host closed the connection]
sh0t has joined #ocaml
brunoro_ has quit [Ping timeout: 258 seconds]
agarwal1975 has quit [Quit: agarwal1975]
mfp has quit [Ping timeout: 258 seconds]
smondet has joined #ocaml
nomicflux has quit [Quit: nomicflux]
brunoro_ has joined #ocaml
nicholasf has joined #ocaml
brunoro_ has quit [Ping timeout: 260 seconds]
nomicflux has joined #ocaml
Heasummn has quit [Remote host closed the connection]
fraggle_ has quit [Ping timeout: 250 seconds]
Heasummn has joined #ocaml
struk|desk has quit [Read error: Connection reset by peer]
struktured has joined #ocaml
fraggle_ has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
darkf has quit [Quit: Leaving]
darkf has joined #ocaml
clockish has quit [Ping timeout: 250 seconds]
clockish has joined #ocaml
cpdean has joined #ocaml
minn has joined #ocaml
FreeBirdLjj has joined #ocaml
nomicflux has quit [Ping timeout: 258 seconds]
shinnya has quit [Ping timeout: 260 seconds]
nomicflux has joined #ocaml
two_wheels has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
nomicflux_ has joined #ocaml
madroach has joined #ocaml
nomicflux has quit [Ping timeout: 260 seconds]
nomicflux_ is now known as nomicflux
madroach has quit [Read error: Connection reset by peer]
pierpa has quit [Ping timeout: 248 seconds]
two_wheels has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
rgrinberg has quit [Ping timeout: 258 seconds]
madroach has joined #ocaml
brunoro_ has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
nomicflux has quit [Ping timeout: 250 seconds]
okuu has joined #ocaml
okuu is now known as Guest56702
Guest56702 has quit [Changing host]
Guest56702 has joined #ocaml
nomicflux has joined #ocaml
Ravana has quit [Ping timeout: 258 seconds]
Guest56702 is now known as okuu
okuu has quit [Client Quit]
FreeBirdLjj has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
okuu has joined #ocaml
okuu is now known as Guest508
Guest508 has quit [Changing host]
Guest508 has joined #ocaml
brunoro_ has quit [Ping timeout: 250 seconds]
Guest508 has quit [Client Quit]
Ravana has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
okuu has joined #ocaml
madroach has joined #ocaml
Heasummn has quit [Ping timeout: 268 seconds]
madroach has quit [Read error: Connection reset by peer]
FreeBirdLjj has joined #ocaml
nomicflux has quit [Ping timeout: 248 seconds]
conrad1 has joined #ocaml
nomicflux has joined #ocaml
APNG has quit [Ping timeout: 248 seconds]
al-damiri has joined #ocaml
madroach has joined #ocaml
conrad1 has quit [Ping timeout: 258 seconds]
madroach has quit [Read error: Connection reset by peer]
chattered has quit [Ping timeout: 248 seconds]
APNG has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
APNG has quit [Ping timeout: 268 seconds]
sh0t has quit [Remote host closed the connection]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
nomicflux has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
eh_eff_ has joined #ocaml
cpdean has quit [Ping timeout: 260 seconds]
eh_eff_ has quit [Ping timeout: 258 seconds]
MercurialAlchemi has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
wu_ng has joined #ocaml
malina has quit [Remote host closed the connection]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
nomicflux has joined #ocaml
madroach has joined #ocaml
AlexRussia has quit [Ping timeout: 260 seconds]
okuu has quit [Quit: unyu~]
okuu has joined #ocaml
tmtwd has quit [Ping timeout: 260 seconds]
nomicflux has quit [Quit: nomicflux]
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FreeBirdLjj has quit [Remote host closed the connection]
Algebr has joined #ocaml
eh_eff_ has joined #ocaml
Mercuria1Alchemi has joined #ocaml
eh_eff_ has quit [Ping timeout: 260 seconds]
MercurialAlchemi has quit [Ping timeout: 268 seconds]
njgt has joined #ocaml
djellemah has joined #ocaml
tmtwd has joined #ocaml
conrad1 has joined #ocaml
wu_ng has quit [Remote host closed the connection]
conrad1 has quit [Ping timeout: 252 seconds]
Algebr has quit [Ping timeout: 260 seconds]
okuu has quit [Ping timeout: 260 seconds]
alfredo has joined #ocaml
tmtwd has quit [Ping timeout: 260 seconds]
Simn has joined #ocaml
noddy has quit [Ping timeout: 248 seconds]
axiles has quit [Remote host closed the connection]
okuu has joined #ocaml
nicholasf has quit [Remote host closed the connection]
tmtwd has joined #ocaml
cpdean has joined #ocaml
cpdean has quit [Ping timeout: 268 seconds]
wu_ng has joined #ocaml
okuu has quit [Ping timeout: 268 seconds]
iyy has joined #ocaml
njgt has quit [Ping timeout: 260 seconds]
Algebr has joined #ocaml
darkf_ has joined #ocaml
darkf has quit [Ping timeout: 256 seconds]
djellemah has quit [Ping timeout: 248 seconds]
sgronblo_ is now known as sgronblo
djellemah has joined #ocaml
FreeBirdLjj has joined #ocaml
Orion3k has quit [Quit: Leaving]
etc has joined #ocaml
htch has joined #ocaml
larhat has quit [Ping timeout: 252 seconds]
larhat has joined #ocaml
okuu has joined #ocaml
conrad1 has joined #ocaml
nicholasf has joined #ocaml
conrad1 has quit [Ping timeout: 260 seconds]
kakadu has joined #ocaml
nicholasf has quit [Ping timeout: 250 seconds]
larhat has quit [Quit: Leaving.]
Algebr has quit [Remote host closed the connection]
Algebr has joined #ocaml
etc has quit [Ping timeout: 260 seconds]
Intensity has quit [Ping timeout: 258 seconds]
AlexDenisov has joined #ocaml
Algebr` has joined #ocaml
Algebr has quit [Read error: Connection reset by peer]
tmtwd has quit [Ping timeout: 260 seconds]
zpe has joined #ocaml
so has joined #ocaml
bgtr has joined #ocaml
eikke has joined #ocaml
Algebr` has quit [Read error: Connection reset by peer]
Algebr`` has joined #ocaml
brunoro_ has joined #ocaml
nicholasf has joined #ocaml
nichola__ has joined #ocaml
nicholasf has quit [Ping timeout: 260 seconds]
djellemah has quit [Ping timeout: 260 seconds]
jwatzman|work has joined #ocaml
ygrek has joined #ocaml
beginner_ has joined #ocaml
averell has joined #ocaml
djellemah has joined #ocaml
Soni has joined #ocaml
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
larhat has joined #ocaml
so has quit [*.net *.split]
eikke has quit [*.net *.split]
fraggle-boate has quit [*.net *.split]
averell has quit [*.net *.split]
saidinwot1 has quit [*.net *.split]
hbar has quit [*.net *.split]
Drup has quit [*.net *.split]
jlouis has quit [*.net *.split]
mehdib has quit [*.net *.split]
lobo has quit [*.net *.split]
noplamodo_ has quit [*.net *.split]
myst|fon has quit [*.net *.split]
jun has quit [*.net *.split]
madroach has quit [*.net *.split]
Muzer has quit [*.net *.split]
bgtr has quit [*.net *.split]
okuu has quit [*.net *.split]
clockish has quit [*.net *.split]
alienbot has quit [*.net *.split]
demonimin has quit [*.net *.split]
johnelse has quit [*.net *.split]
zaquest has quit [*.net *.split]
govg has quit [*.net *.split]
maurer has quit [*.net *.split]
adrien has quit [*.net *.split]
nathanielc has quit [*.net *.split]
Pepe_ has quit [*.net *.split]
troydm has quit [*.net *.split]
habnabit has quit [*.net *.split]
jimt has quit [*.net *.split]
teiresias has quit [*.net *.split]
brab has quit [*.net *.split]
ciniglio_ has quit [*.net *.split]
Armael has quit [*.net *.split]
Madars has quit [*.net *.split]
justin_smith has quit [*.net *.split]
zapu has quit [*.net *.split]
sgronblo has quit [*.net *.split]
Guest4628 has quit [*.net *.split]
seliopou has quit [*.net *.split]
ansiwen has quit [*.net *.split]
notdan has quit [*.net *.split]
Cypi has quit [*.net *.split]
FreeBirdLjj has quit [*.net *.split]
Mercuria1Alchemi has quit [*.net *.split]
tg has quit [*.net *.split]
ahf has quit [*.net *.split]
parataxis has quit [*.net *.split]
apache2_ has quit [*.net *.split]
shakalaka_ has quit [*.net *.split]
lyxia has quit [*.net *.split]
ia0 has quit [*.net *.split]
mrvn has quit [*.net *.split]
ocabot has quit [*.net *.split]
riveter has quit [*.net *.split]
k1000_ has quit [*.net *.split]
tizoc has quit [*.net *.split]
osheeta has quit [*.net *.split]
richi235 has quit [*.net *.split]
rwmjones has quit [*.net *.split]
theblatte has quit [*.net *.split]
iyy has quit [*.net *.split]
nopf has quit [*.net *.split]
aantron has quit [*.net *.split]
artart78 has quit [*.net *.split]
jmasseo has quit [*.net *.split]
pwzoii has quit [*.net *.split]
cthuluh has quit [*.net *.split]
pigoz has quit [*.net *.split]
jerith has quit [*.net *.split]
thegameg has quit [*.net *.split]
bacam has quit [*.net *.split]
DanielRichman has quit [*.net *.split]
Ankhers has quit [*.net *.split]
nore has quit [*.net *.split]
libertas has quit [*.net *.split]
trevorriles has quit [*.net *.split]
luzie has quit [*.net *.split]
tianon has quit [*.net *.split]
henrytill has quit [*.net *.split]
tokenrov1 has quit [*.net *.split]
larhat has quit [*.net *.split]
jwatzman|work has quit [*.net *.split]
zpe has quit [*.net *.split]
kakadu has quit [*.net *.split]
darkf_ has quit [*.net *.split]
Simn has quit [*.net *.split]
alfredo has quit [*.net *.split]
smondet has quit [*.net *.split]
rpip has quit [*.net *.split]
mbrock has quit [*.net *.split]
M-Illandan has quit [*.net *.split]
Guest23668[m] has quit [*.net *.split]
srenatus[m] has quit [*.net *.split]
M-martinklepsch has quit [*.net *.split]
timclassic has quit [*.net *.split]
M-jimt has quit [*.net *.split]
M-pesterhazy has quit [*.net *.split]
fedruantine has quit [*.net *.split]
StatelessCat has quit [*.net *.split]
asm89 has quit [*.net *.split]
slackwill has quit [*.net *.split]
rixed has quit [*.net *.split]
orbitz has quit [*.net *.split]
fds has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
nickapos has quit [*.net *.split]
obj_magic has quit [*.net *.split]
grandy____ has quit [*.net *.split]
frug72 has quit [*.net *.split]
cnu- has quit [*.net *.split]
haesbaert has quit [*.net *.split]
kosh_ has quit [*.net *.split]
mattg has quit [*.net *.split]
Rome has quit [*.net *.split]
xaimus has quit [*.net *.split]
grandy has quit [*.net *.split]
maufred has quit [*.net *.split]
w1gz has quit [*.net *.split]
peddie has quit [*.net *.split]
wu_ng has quit [*.net *.split]
struktured has quit [*.net *.split]
hundo has quit [*.net *.split]
contempt has quit [*.net *.split]
companion_cube has quit [*.net *.split]
jstolarek has quit [*.net *.split]
sheijk_ has quit [*.net *.split]
Nazral has quit [*.net *.split]
quesker_ has quit [*.net *.split]
eagleflo has quit [*.net *.split]
stux|RC-only has quit [*.net *.split]
lukky513 has quit [*.net *.split]
Leonidas has quit [*.net *.split]
relrod has quit [*.net *.split]
edwin has quit [*.net *.split]
dinosaure has quit [*.net *.split]
j0sh__ has quit [*.net *.split]
Johann has quit [*.net *.split]
maker has quit [*.net *.split]
gargawel has quit [*.net *.split]
hannes has quit [*.net *.split]
cross has quit [*.net *.split]
profan has quit [*.net *.split]
dx has quit [*.net *.split]
balod has quit [*.net *.split]
djellemah has quit [*.net *.split]
minn has quit [*.net *.split]
zv has quit [*.net *.split]
adi___ has quit [*.net *.split]
average has quit [*.net *.split]
inr has quit [*.net *.split]
tobiasBora has quit [*.net *.split]
Hakey has quit [*.net *.split]
natimic2 has quit [*.net *.split]
MasseR has quit [*.net *.split]
pippijn has quit [*.net *.split]
aggelos__ has quit [*.net *.split]
wagle has quit [*.net *.split]
clog has quit [*.net *.split]
cdidd has quit [*.net *.split]
patronus has quit [*.net *.split]
spion has quit [*.net *.split]
arc- has quit [*.net *.split]
srax has quit [*.net *.split]
gregoire has quit [*.net *.split]
Khady has quit [*.net *.split]
benmachine has quit [*.net *.split]
pitastrudl has quit [*.net *.split]
nicoo has quit [*.net *.split]
beginner_ has quit [*.net *.split]
Algebr`` has quit [*.net *.split]
htch has quit [*.net *.split]
fraggle_ has quit [*.net *.split]
rpcope has quit [*.net *.split]
strmpnk has quit [*.net *.split]
barkmadley[m] has quit [*.net *.split]
M-ErkkiSeppl has quit [*.net *.split]
thizanne has quit [*.net *.split]
bitbckt_ has quit [*.net *.split]
rightfold has quit [*.net *.split]
jmiven has quit [*.net *.split]
vapid has quit [*.net *.split]
Sorella has quit [*.net *.split]
flux has quit [*.net *.split]
bigs has quit [*.net *.split]
infinity0 has quit [*.net *.split]
_y has quit [*.net *.split]
cantstanya has quit [*.net *.split]
rfv has quit [*.net *.split]
iZsh_ has quit [*.net *.split]
gustav__1 has quit [*.net *.split]
hnrgrgr has quit [*.net *.split]
sfri has quit [*.net *.split]
zozozo has quit [*.net *.split]
banjiewen has quit [*.net *.split]
Merv has quit [*.net *.split]
l1x has quit [*.net *.split]
dch has quit [*.net *.split]
vinoski has quit [*.net *.split]
andreypopp has quit [*.net *.split]
lopex has quit [*.net *.split]
stephe has quit [*.net *.split]
asmanur_ has quit [*.net *.split]
bernardofpc has quit [*.net *.split]
Soni has quit [*.net *.split]
ygrek has quit [*.net *.split]
brunoro_ has quit [*.net *.split]
nichola__ has quit [*.net *.split]
al-damiri has quit [*.net *.split]
Ravana has quit [*.net *.split]
yunxing has quit [*.net *.split]
alpen has quit [*.net *.split]
zaltekk has quit [*.net *.split]
jpdeplaix has quit [*.net *.split]
mal`` has quit [*.net *.split]
rom1504 has quit [*.net *.split]
Enjolras has quit [*.net *.split]
tristero has quit [*.net *.split]
hyperboreean has quit [*.net *.split]
emias has quit [*.net *.split]
vishesh has quit [*.net *.split]
_2can has quit [*.net *.split]
bronsen has quit [*.net *.split]
mrallen1 has quit [*.net *.split]
rbocquet has quit [*.net *.split]
SIGILL has quit [*.net *.split]
dlat has quit [*.net *.split]
chelfi has quit [*.net *.split]
rossberg has quit [*.net *.split]
dmbaturin has quit [*.net *.split]
emmanueloga has quit [*.net *.split]
adelbertc has quit [*.net *.split]
sspi has quit [*.net *.split]
jmct has quit [*.net *.split]
Jaxan has quit [*.net *.split]
wolfcore has quit [*.net *.split]
chris2 has quit [*.net *.split]
atsampson has quit [*.net *.split]
bbc has quit [*.net *.split]
lpaste has quit [*.net *.split]
chenglou has quit [*.net *.split]
yminsky has quit [*.net *.split]
fluter has quit [*.net *.split]
sigjuice has quit [*.net *.split]
menasw has quit [*.net *.split]
fold4 has quit [*.net *.split]
rseymour has quit [*.net *.split]
NhanH has quit [Ping timeout: 256 seconds]
msch_ has quit [Ping timeout: 256 seconds]
ggherdov has quit [Ping timeout: 256 seconds]
jcloud has quit [Ping timeout: 256 seconds]
Madars has joined #ocaml
wu_ng has joined #ocaml
wu_ng has quit [Client Quit]
al-damiri has joined #ocaml
stephe has joined #ocaml
Merv has joined #ocaml
sspi has joined #ocaml
msch_ has joined #ocaml
_whitelogger has joined #ocaml
Algebr`` has joined #ocaml
_whitelogger has joined #ocaml
fraggle-boate has joined #ocaml
mbrock has joined #ocaml
mrallen1 has joined #ocaml
rfv has joined #ocaml
NhanH has joined #ocaml
lopex has joined #ocaml
bigs has joined #ocaml
dch has joined #ocaml
ygrek has joined #ocaml
nichola__ has joined #ocaml
banjiewen has joined #ocaml
Ravana has joined #ocaml
APNG has joined #ocaml
tristero has joined #ocaml
chelfi has joined #ocaml
yunxing has joined #ocaml
rbocquet has joined #ocaml
dlat has joined #ocaml
Enjolras has joined #ocaml
bronsen has joined #ocaml
jmct has joined #ocaml
chenglou has joined #ocaml
atsampson has joined #ocaml
rossberg has joined #ocaml
bbc has joined #ocaml
dmbaturin has joined #ocaml
vishesh has joined #ocaml
SIGILL has joined #ocaml
lpaste has joined #ocaml
hyperboreean has joined #ocaml
emmanueloga has joined #ocaml
Jaxan has joined #ocaml
chris2 has joined #ocaml
wolfcore has joined #ocaml
adelbertc has joined #ocaml
emias has joined #ocaml
jpdeplaix has joined #ocaml
menasw has joined #ocaml
zaltekk has joined #ocaml
fluter has joined #ocaml
rseymour has joined #ocaml
sigjuice has joined #ocaml
alpen has joined #ocaml
_2can has joined #ocaml
rom1504 has joined #ocaml
mal`` has joined #ocaml
fold4 has joined #ocaml
so has joined #ocaml
jmiven has joined #ocaml
hnrgrgr has joined #ocaml
flux has joined #ocaml
sfri has joined #ocaml
_y has joined #ocaml
eikke has joined #ocaml
saidinwot1 has joined #ocaml
Drup has joined #ocaml
jlouis has joined #ocaml
lobo has joined #ocaml
hbar has joined #ocaml
mehdib has joined #ocaml
noplamodo_ has joined #ocaml
myst|fon has joined #ocaml
jun has joined #ocaml
saidinwot1 has quit [*.net *.split]
hbar has quit [*.net *.split]
Drup has quit [*.net *.split]
mehdib has quit [*.net *.split]
lobo has quit [*.net *.split]
jlouis has quit [*.net *.split]
noplamodo_ has quit [*.net *.split]
myst|fon has quit [*.net *.split]
jun has quit [*.net *.split]
eikke has quit [*.net *.split]
jmiven has quit [*.net *.split]
flux has quit [*.net *.split]
_y has quit [*.net *.split]
hnrgrgr has quit [*.net *.split]
sfri has quit [*.net *.split]
so has quit [*.net *.split]
rfv has quit [*.net *.split]
banjiewen has quit [*.net *.split]
NhanH has quit [*.net *.split]
mbrock has quit [*.net *.split]
mrallen1 has quit [*.net *.split]
bigs has quit [*.net *.split]
dch has quit [*.net *.split]
lopex has quit [*.net *.split]
APNG has quit [*.net *.split]
nichola__ has quit [*.net *.split]
ygrek has quit [*.net *.split]
Ravana has quit [*.net *.split]
alpen has quit [*.net *.split]
yunxing has quit [*.net *.split]
zaltekk has quit [*.net *.split]
jpdeplaix has quit [*.net *.split]
rom1504 has quit [*.net *.split]
mal`` has quit [*.net *.split]
hyperboreean has quit [*.net *.split]
tristero has quit [*.net *.split]
vishesh has quit [*.net *.split]
_2can has quit [*.net *.split]
Enjolras has quit [*.net *.split]
emias has quit [*.net *.split]
bronsen has quit [*.net *.split]
rbocquet has quit [*.net *.split]
dlat has quit [*.net *.split]
chelfi has quit [*.net *.split]
SIGILL has quit [*.net *.split]
rossberg has quit [*.net *.split]
adelbertc has quit [*.net *.split]
jmct has quit [*.net *.split]
emmanueloga has quit [*.net *.split]
wolfcore has quit [*.net *.split]
Jaxan has quit [*.net *.split]
chris2 has quit [*.net *.split]
atsampson has quit [*.net *.split]
bbc has quit [*.net *.split]
lpaste has quit [*.net *.split]
chenglou has quit [*.net *.split]
dmbaturin has quit [*.net *.split]
sigjuice has quit [*.net *.split]
fluter has quit [*.net *.split]
menasw has quit [*.net *.split]
rseymour has quit [*.net *.split]
fold4 has quit [*.net *.split]
fraggle-boate has quit [*.net *.split]
mfp has quit [*.net *.split]
madroach has quit [*.net *.split]
Muzer has quit [*.net *.split]
wu_ng has quit [Ping timeout: 248 seconds]
ggherdov has joined #ocaml
so has joined #ocaml
mrallen1 has joined #ocaml
banjiewen has joined #ocaml
rfv has joined #ocaml
bigs has joined #ocaml
jpdeplaix has joined #ocaml
lopex has joined #ocaml
yunxing has joined #ocaml
ygrek has joined #ocaml
APNG has joined #ocaml
dch has joined #ocaml
bronsen has joined #ocaml
zaltekk has joined #ocaml
nichola__ has joined #ocaml
Ravana has joined #ocaml
alpen has joined #ocaml
NhanH has joined #ocaml
mal`` has joined #ocaml
tristero has joined #ocaml
hyperboreean has joined #ocaml
_2can has joined #ocaml
Enjolras has joined #ocaml
menasw has joined #ocaml
sigjuice has joined #ocaml
dmbaturin has joined #ocaml
SIGILL has joined #ocaml
rseymour has joined #ocaml
jmct has joined #ocaml
emias has joined #ocaml
atsampson has joined #ocaml
adelbertc has joined #ocaml
dlat has joined #ocaml
rom1504 has joined #ocaml
lpaste has joined #ocaml
fluter has joined #ocaml
wolfcore has joined #ocaml
Jaxan has joined #ocaml
rbocquet has joined #ocaml
chris2 has joined #ocaml
vishesh has joined #ocaml
fold4 has joined #ocaml
chenglou has joined #ocaml
bbc has joined #ocaml
rossberg has joined #ocaml
emmanueloga has joined #ocaml
chelfi has joined #ocaml
Drup has joined #ocaml
saidinwot1 has joined #ocaml
jlouis has joined #ocaml
hbar has joined #ocaml
mehdib has joined #ocaml
lobo has joined #ocaml
myst|fon has joined #ocaml
noplamodo_ has joined #ocaml
jun has joined #ocaml
Muzer has joined #ocaml
madroach has joined #ocaml
mfp has joined #ocaml
libertas has quit [Quit: Lost terminal]
eikke has joined #ocaml
beginner_ has joined #ocaml
htch has joined #ocaml
fraggle_ has joined #ocaml
l1x has joined #ocaml
strmpnk has joined #ocaml
rpcope has joined #ocaml
yminsky has joined #ocaml
thizanne has joined #ocaml
cantstanya has joined #ocaml
rightfold has joined #ocaml
jmiven has joined #ocaml
bitbckt_ has joined #ocaml
barkmadley[m] has joined #ocaml
infinity0 has joined #ocaml
vapid has joined #ocaml
hnrgrgr has joined #ocaml
M-ErkkiSeppl has joined #ocaml
bernardofpc has joined #ocaml
sfri has joined #ocaml
zozozo has joined #ocaml
ggherdov has quit [Max SendQ exceeded]
inr has joined #ocaml
aggelos__ has joined #ocaml
Hakey has joined #ocaml
natimic2 has joined #ocaml
pippijn has joined #ocaml
adi___ has joined #ocaml
cdidd has joined #ocaml
zv has joined #ocaml
djellemah has joined #ocaml
minn has joined #ocaml
tobiasBora has joined #ocaml
average has joined #ocaml
wagle has joined #ocaml
arc- has joined #ocaml
patronus has joined #ocaml
srax has joined #ocaml
MasseR has joined #ocaml
spion has joined #ocaml
clog has joined #ocaml
gregoire has joined #ocaml
Khady has joined #ocaml
benmachine has joined #ocaml
pitastrudl has joined #ocaml
nicoo has joined #ocaml
cyraxjoe has joined #ocaml
lpw25[m] has joined #ocaml
breitenj has joined #ocaml
al-damiri has joined #ocaml
cschneid has joined #ocaml
avsej has joined #ocaml
theolaurent has joined #ocaml
fraggle-boate has joined #ocaml
wagle has quit [Max SendQ exceeded]
jmct has quit [Ping timeout: 254 seconds]
bigs has quit [Ping timeout: 258 seconds]
andreypopp has quit [Ping timeout: 258 seconds]
al-damiri has quit [Max SendQ exceeded]
Nahra has joined #ocaml
libertas has joined #ocaml
NhanH has quit [Ping timeout: 258 seconds]
rfv has quit [Ping timeout: 258 seconds]
brunoro_ has joined #ocaml
l1x has quit [Ping timeout: 260 seconds]
dch is now known as Guest82060
lopex is now known as Guest52297
govg is now known as Guest49701
wagle has joined #ocaml
Sorella has quit [Ping timeout: 258 seconds]
Orion3k has joined #ocaml
igitoor has joined #ocaml
parataxis has joined #ocaml
parataxis has quit [Changing host]
jcloud has quit [Changing host]
jcloud has joined #ocaml
Guest52297 has joined #ocaml
Guest52297 has quit [Changing host]
Guest82060 has quit [Changing host]
Guest82060 has joined #ocaml
mrallen1 has joined #ocaml
mrallen1 has quit [Changing host]
banjiewen has quit [Changing host]
banjiewen has joined #ocaml
yminsky has joined #ocaml
yminsky has quit [Changing host]
zpe has quit [Remote host closed the connection]
Nahra is now known as 7GHAAE0X4
al-damiri has joined #ocaml
jmct has joined #ocaml
bigs has joined #ocaml
l1x has joined #ocaml
caw has joined #ocaml
andreypopp has joined #ocaml
orbifx-m has joined #ocaml
Merv has joined #ocaml
<orbifx-m>
is there a state-machine library for ocaml?
jkni has joined #ocaml
igitoor has quit [Changing host]
igitoor has joined #ocaml
brunoro_ has quit [Ping timeout: 260 seconds]
filp has joined #ocaml
7GHAAE0X4 has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
ggherdov has joined #ocaml
Sorella has joined #ocaml
Nahra has joined #ocaml
NhanH has joined #ocaml
toolslive has joined #ocaml
rfv has joined #ocaml
dhil has joined #ocaml
AlexRussia has joined #ocaml
zpe has joined #ocaml
FreeBirdLjj has joined #ocaml
AlexDenisov has joined #ocaml
_andre has joined #ocaml
ggherdov has quit [Excess Flood]
brunoro_ has joined #ocaml
ggherdov has joined #ocaml
Guest52297 is now known as lopex
silver has joined #ocaml
alienbot has quit [Ping timeout: 260 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
mlpo has joined #ocaml
freusque has joined #ocaml
two_wheels has joined #ocaml
conrad1 has joined #ocaml
dhil has quit [Ping timeout: 250 seconds]
minn has quit [Quit: Leaving]
toolslive has quit [Ping timeout: 250 seconds]
conrad1 has quit [Ping timeout: 258 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
toolslive has joined #ocaml
FreeBirdLjj has joined #ocaml
jmiven has quit [Ping timeout: 260 seconds]
jmiven has joined #ocaml
Algebr`` has quit [Remote host closed the connection]
Algebr`` has joined #ocaml
alienbot has joined #ocaml
Algebr`` has quit [Ping timeout: 260 seconds]
yomimono has joined #ocaml
noddy has joined #ocaml
nichola__ has quit [Remote host closed the connection]
nicholasf has joined #ocaml
nicholasf has quit [Ping timeout: 260 seconds]
two_wheels has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cpdean has joined #ocaml
cpdean has quit [Ping timeout: 260 seconds]
alienbot has quit [Ping timeout: 250 seconds]
grayswandyr has joined #ocaml
alienbot has joined #ocaml
<grayswandyr>
companion_cube: hi, I'm back for my daily question, still discovering Containers :) In CCFormat, you have combinators for pp-ing. E.g one has val list : ?start:string -> ?stop:string -> ?sep:string -> 'a printer -> 'a list printer. How do you deal with boxes and break hints here? Is there a way to tell CCFormat that it may break on sep?
darkf_ has quit [Read error: Connection reset by peer]
darkf_ has joined #ocaml
Denommus has joined #ocaml
alienbot has quit [Ping timeout: 260 seconds]
copy` has joined #ocaml
<Denommus>
is there a way to get the database to call a function in my application when I have a trigger?
<companion_cube>
it always breaks after step
<companion_cube>
so typically when you print a list, you wrap it into a {h,v,hv}box and it will behave nicely
<grayswandyr>
ok
<flux>
denommus, in general no, the only exceptionish to the rule is sqlite, I think
<flux>
and I guess it could be arranged in postgresql with great effort
alienbot has joined #ocaml
orbifx-m has quit [Ping timeout: 258 seconds]
nicholasf has joined #ocaml
nicholasf has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
nicholasf has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
vapid is now known as asda
FreeBirdLjj has joined #ocaml
Algebr`` has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 258 seconds]
Algebr`` has quit [Ping timeout: 258 seconds]
rgrinberg has joined #ocaml
Algebr`` has joined #ocaml
larhat has quit [Read error: Connection reset by peer]
larhat has joined #ocaml
agarwal1975 has joined #ocaml
AlexRussia has quit [Ping timeout: 268 seconds]
dhil has joined #ocaml
alienbot has quit [Remote host closed the connection]
struktured has quit [Ping timeout: 248 seconds]
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexRussia has joined #ocaml
djellemah has quit [Ping timeout: 260 seconds]
AlexDenisov has joined #ocaml
gjaldon has joined #ocaml
<gjaldon>
hi there! I'm following https://realworldocaml.org/v1/en/html/a-guided-tour.html. In the later parts of the chapter, there's a small sample program called `sum.ml`.I compile it without error but nothing happens when I try running it
<gjaldon>
does anyone have an idea what could be the problem? I'm on OSX El Capitan
<flux>
well, that's weird, it seems like it should wait input and after eof it should output the number
<flux>
what do you mean by "nothing happens"?
<lyxia>
have you typed stuff into it
<flux>
and more importantly, hit ctrl-D after doing so
<flux>
I guess a better example would produce a prompt
<gjaldon>
running `./sum.native` doesn't do anything. it doesn't wait for input at all
<flux>
so it exits immediately
<gjaldon>
yes
<flux>
how about if you compile a bytecode version?
<gjaldon>
how to do that? I'm new to ocaml
<gjaldon>
`corebuild sum.bytecode`?
<flux>
ocrebuild sum.byte probably
<flux>
btw, after you run sum.native do echo $?
<gjaldon>
the same thing happens
<flux>
and tell if the number is 0
jwatzman|work has quit [Read error: Connection reset by peer]
<flux>
echo $?
<gjaldon>
ah I see
<gjaldon>
do `echo $`?
<gjaldon>
I get '$'
Simn has joined #ocaml
<flux>
$? is a special shell variable
<flux>
it shouldn't output $, but a number
jwatzman|work has joined #ocaml
<gjaldon>
I get 0
<flux>
and it must be done immediately ./sum.native
Simn has quit [Read error: Network is unreachable]
<flux>
well, that's weird
<gjaldon>
I ran `./sum.native && echo $?` and the output was '0'
Rome has quit [Read error: Connection reset by peer]
grandy____ has quit [Read error: Connection reset by peer]
smondet has quit [Remote host closed the connection]
Rome has joined #ocaml
smondet has joined #ocaml
grandy____ has joined #ocaml
<flux>
did you install your environment with opam?
<gjaldon>
scratch that, I installed ocaml via brew
<flux>
I guess you could try 'opam switch x.yy.zz' to use an opam-managed ocaml compiler. though it will need you to opam install the packages to the new switch as well.
<flux>
though it did manage to compile you ie. a compiler so this seems a bit strange :)
<gjaldon>
ok will try that out
<gjaldon>
it is strange. googling doesn't return any relevant results too :(
conrad1 has quit [Ping timeout: 258 seconds]
<Algebr``>
gjaldon: are you use you added the \n in the call to printf
<Algebr``>
sure
<Algebr``>
ah, its supposed to read in input
<Algebr``>
is it copied exactly as written?
<gjaldon>
Algebr``: yes, I copied the code when it wasn't working the first run
nomicflux has joined #ocaml
nicholasf has quit [Remote host closed the connection]
<Algebr``>
maybe try without core? let () = let l = read_line () in Printf.sprintf "Given: %s" |> print_endline
mlpo has quit [Quit: Page closed]
two_wheels has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
cpdean has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
Denommus` has joined #ocaml
zpe has joined #ocaml
Denommus has quit [Ping timeout: 260 seconds]
<gjaldon>
Algebr``: I'd like to follow along the book which relies on core
Simn has quit [Quit: Leaving]
Mercuria1Alchemi has quit [Ping timeout: 268 seconds]
<grayswandyr>
is there a way to implement inherited attributes in Menhir?
two_wheels has quit [Ping timeout: 252 seconds]
mpenet has joined #ocaml
dhil has joined #ocaml
infinity0 has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 248 seconds]
<def`>
grayswandyr: no
<def`>
(like bison, only synthesized attributes)
<def`>
however, if your attributes only affect semantic actions
<def`>
you can turn all your semantic actions to functions
<def`>
that is lifting your code to some reader monad.
AlexRussia has joined #ocaml
<grayswandyr>
Wai-wai-wait :) The thing is I parse a file, and some attributes at the bottom depend on attributes from the top. E.g. I need to check that some constant has already been declared, so I'd like to put it in an environment when it's declared, and then check if it is so when it is used. It seems to correspond to a reader monad indeed
<grayswandyr>
IIUC, the reader monad you suggest accumulates data in the environment and the, at the end of the parsing I can work out whether everything is OK?
<def`>
yes
metaglog has joined #ocaml
<def`>
basically you defer all the work to after parsing.
<grayswandyr>
yep
<def`>
The parser will just build a big continuation by composing all actions, and you execute everything by providing the initial environment.
<grayswandyr>
(the alternative is first to recognize a semi-concrete syntax tree and then analyze it to get the abstract syntax tree)
sepp2k has joined #ocaml
<def`>
yes
<def`>
actually the shape of the continuation will mirror this concrete tree :)
<grayswandyr>
right I get the principle, implementing it might be trickier. Do you have a pointer to suchan example
<grayswandyr>
right
<def`>
just add fun x -> ...
<def`>
to all semantic actions.
<def`>
(and adjust the type declared for non-terminals, in general %start will suffice)
<grayswandyr>
right and then I apply it on the top rule where data is declared I guess
<def`>
Ah yes that is the alternative.
<grayswandyr>
so I can check that data used is indeed declared
<def`>
Either you export a parsing rule taking this argument or you preapply in the top rule.
<grayswandyr>
cool
<def`>
(of course you should not rely on side-effects / lexer tricks, etc, in your parser if you want this to work :))
<grayswandyr>
never underestimate the power of lambda
<grayswandyr>
(yep)
<grayswandyr>
thank you I'm goinmg to try this
<def`>
cool,good luck!
<grayswandyr>
:)
infinity0 has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
pierpa has joined #ocaml
<gjaldon>
should `ocaml sum.ml` work assuming that sum.ml has valid ocaml code?
<companion_cube>
it should indeed!
<companion_cube>
ocaml is a perfectly fine language for writing scripts, actually :)
<gjaldon>
I ask because running `ocaml sum.ml` doesn't work for me
<companion_cube>
#!/usr/bin/env ocaml
<def`>
well... depends if sum.ml has to link to other files
<gjaldon>
compiling via `corebuild sum.native` and then running `./sum.native` doesn't work too
<gjaldon>
it's supposed to take input from the user
mpenet has quit [Remote host closed the connection]
shinnya has joined #ocaml
veggie_ has joined #ocaml
htch has quit [Ping timeout: 260 seconds]
malc_ has joined #ocaml
conrad1 has joined #ocaml
okuu has joined #ocaml
cpdean has quit [Ping timeout: 260 seconds]
dhil has quit [Ping timeout: 260 seconds]
jao has joined #ocaml
gjaldon has quit []
grayswandyr has quit [Quit: Page closed]
conrad2 has joined #ocaml
al-damiri has joined #ocaml
conrad2 has quit [Ping timeout: 268 seconds]
rgrinberg has quit [Ping timeout: 268 seconds]
malc_ has quit [Ping timeout: 260 seconds]
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexDenisov has joined #ocaml
AlexDenisov has quit [Client Quit]
asda is now known as adsa
Denommus` has quit [Ping timeout: 260 seconds]
dhil has joined #ocaml
conrad1 has quit [Ping timeout: 250 seconds]
nomicflux has quit [Quit: nomicflux]
filp has quit [Quit: Bye]
<toolslive>
how much global state is there in an ocaml runtime? Could I run multiple completely independent runtimes in a single process ?
AlexRussia has quit [Ping timeout: 250 seconds]
rgrinberg has joined #ocaml
htch has joined #ocaml
conrad1 has joined #ocaml
malc_ has joined #ocaml
htch has quit [Ping timeout: 268 seconds]
gjaldon has joined #ocaml
<gjaldon>
what's a good book/tutorial to follow for those new to Ocaml but familiar with functional programming?
brunoro_ has quit [Ping timeout: 260 seconds]
larhat has quit [Quit: Leaving.]
jwatzman|work has quit [Quit: jwatzman|work]
gjaldon has quit []
malina has joined #ocaml
adsa is now known as ilorp
dx has quit [Ping timeout: 248 seconds]
veggie_ has quit [Quit: WeeChat 1.5]
Leonidas has quit [Ping timeout: 248 seconds]
maker has quit [Ping timeout: 248 seconds]
averell has joined #ocaml
Leonidas has joined #ocaml
troydm has quit [Ping timeout: 248 seconds]
sheijk_ has quit [Ping timeout: 248 seconds]
sheijk has joined #ocaml
veggie_ has joined #ocaml
dx has joined #ocaml
tristero has quit [Quit: tristero]
zpe has quit [Remote host closed the connection]
copy` has joined #ocaml
rand__ has joined #ocaml
sepp2k has quit [Ping timeout: 258 seconds]
jao has quit [Remote host closed the connection]
troydm has joined #ocaml
smondet has quit [Ping timeout: 258 seconds]
Algebr`` has quit [Ping timeout: 252 seconds]
maker has joined #ocaml
jao has joined #ocaml
kolko has joined #ocaml
AlexRussia has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
yomimono has quit [Quit: Leaving]
smondet has joined #ocaml
shinnya has quit [Ping timeout: 248 seconds]
brunoro_ has joined #ocaml
tristero has joined #ocaml
rgrinberg has joined #ocaml
brunoro_ has quit [Ping timeout: 268 seconds]
<veggie_>
to add a list element to the end of a list, do people usually do List.rev (elem :: List.rev list), or is there an easier way
conrad2 has joined #ocaml
<veggie_>
list @ [elem] ?
<flux>
latter, though people usually try to avoid doing it :)
<veggie_>
hm ok
Guest49701 has quit [Quit: leaving]
govg has joined #ocaml
<sgronblo>
Could someone remind me of the syntax for a variant containing a record?
<flux>
sgronblo, well, there's the "normal" way of type r = { r : int } type v = Foo of r
<flux>
and then there's the new way type v = Foo of { r : int }, which has some upsides and downsides
conrad2 has quit [Ping timeout: 248 seconds]
<flux>
if you don't know them, I would probably suggest you to use the first way :)
<sgronblo>
flux: ah right you cant define the record type on the fly?
<flux>
well, the latter form sort of almost does it, except it doesn't really define the record type :)
<flux>
but no, those are the options you have
jao has quit [Ping timeout: 268 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
nicooo has joined #ocaml
nicoo has quit [Ping timeout: 260 seconds]
Algebr`` has joined #ocaml
average has quit [Quit: leaving]
average has joined #ocaml
larhat has joined #ocaml
<sgronblo>
doesnt yojson have any convenience functions for retrieving properties more easily
dhil has quit [Ping timeout: 258 seconds]
btbytes has joined #ocaml
nomicflux has joined #ocaml
slash^ has joined #ocaml
<rgrinberg>
sgronblo: no, you should use ppx_deriving_yojson or atdgen for typed record access
brunoro_ has joined #ocaml
brunoro_ has quit [Ping timeout: 260 seconds]
malina has quit [Ping timeout: 260 seconds]
SpiceGuid has joined #ocaml
Algebr`` has quit [Ping timeout: 252 seconds]
SpiceGuid has quit [Quit: ChatZilla 0.9.92 [SeaMonkey 2.40/20160120202951]]
jao has joined #ocaml
AlexDenisov has joined #ocaml
govg has quit [Ping timeout: 250 seconds]
djellemah has joined #ocaml
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ollehar has joined #ocaml
ousado has joined #ocaml
veggie_ has quit [Ping timeout: 268 seconds]
zpe has joined #ocaml
jeffmo has joined #ocaml
ilorp is now known as szorp
<ousado>
Do people use ocaml-multicore?
<szorp>
no
<szorp>
ocaml was a mistake
<szorp>
just use haskell
ollehar has quit [Read error: Connection reset by peer]
ollehar has joined #ocaml
nicholasf has joined #ocaml
<toolslive>
haskell was a mistake too. Actually, the first mistake was to think there was a simpler way than pen and paper to calculate things. what am I doing here anyway? ;)
zpe has quit [Remote host closed the connection]
dhil has joined #ocaml
veggie_ has joined #ocaml
<ousado>
it's a serious question
<ousado>
is it too early to look into seriously using ocaml-multicore?
ollehar has quit [Remote host closed the connection]
govg has joined #ocaml
rgrinberg has quit [Ping timeout: 248 seconds]
segmond has joined #ocaml
<toolslive>
how are you going to use it ? no libraries have been adapted....
<toolslive>
for example: lwt ?
slash^ has quit [Read error: Connection reset by peer]
brunoro_ has joined #ocaml
<flux>
you could just use ocamlnet instead I think
<flux>
and Lwt keeps working even if it doesn't get performance benefits
ygrek has quit [Ping timeout: 258 seconds]
dhil has quit [Ping timeout: 258 seconds]
<flux>
ousado, I don't think it is, though I imagine you might still end up with things that don't quite work robustly.. there is an opam switch available available for multicore, so at least that part is easyish, even though it's only for 4.02.2
<flux>
another thing is that there is no opam package of the reagents library
<ousado>
we're evaluating options how to speed up the generators in the haxe compiler
conrad2 has joined #ocaml
<Bluddy[m]>
what language are they currently in?
<ousado>
ocaml
<Bluddy[m]>
any idea what causes the slowdown?
rgrinberg has joined #ocaml
<ousado>
huge projects
<ousado>
it's not slow
<Bluddy[m]>
?
<ousado>
but it could be faster for big projects anyway
<Bluddy[m]>
what's the bottleneck
<Bluddy[m]>
are you running on 4.03, -O3?
conrad2 has quit [Ping timeout: 268 seconds]
<copy`>
There are a couple of libraries to do multiprocessing in OCaml
<ousado>
yeah, I know
shinnya has joined #ocaml
<ousado>
the question really was about the state of ocaml-multicore, since I haven't followed this channel for a while
<Bluddy[m]>
ok so no, it's not ready
<ousado>
looking at the repo my impression is that it's not too early
<ousado>
thanks everyone
<Bluddy[m]>
ok. consider the fact that it won't work on a Mac yet
<Bluddy[m]>
and there's a concurrent GC problem of some sort
<Bluddy[m]>
and it's on 4.02, so you're not getting flambda
<Bluddy[m]>
but good luck
<ousado>
haxe just recently switched from 3.11 so I'm pretty sure that's all fine :)
<ousado>
there may be other options
<Bluddy[m]>
that's why I asked if you're compiling with 4.03 and option -O3 -- you might get big benefits just from that
<Bluddy[m]>
your speedup is also limited by amdahl's law, so if you have embarrassingly parallel parts, ParMap might be a good bet
<flux>
but parmap is also embarrasingly limited, ie. if you have continous incoming data feed that you want to process in parallel.. in a sense more limited than xargs.
<flux>
and building parmap+parfold+parmap+parfold hierarchies? forget it.
<Bluddy[m]>
oh it's definitely not a streaming library
<flux>
but just recently there was a library/compiler frontend perhaps more suitable for that released on the mailing list
<flux>
supporting multiple nodes as well
<sgronblo>
does core define some sort of Bytes.t thing? and the normal bytes is just bytes or?
<sgronblo>
I think I am mistakenly mixing up the two of them
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freusque has quit [Quit: WeeChat 1.4]
_andre has quit [Quit: leaving]
veggie_ has joined #ocaml
btbytes has joined #ocaml
brunoro_ has joined #ocaml
brunoro_ has quit [Ping timeout: 258 seconds]
brunoro_ has joined #ocaml
saxsalute has joined #ocaml
<saxsalute>
Is there a way in OCaml to match all parts of a polymorphic type that have the same type signature?
<saxsalute>
Like:
<saxsalute>
type t = a of int * int | b of int * int | c of int
<saxsalute>
Is there a way with a pattern match to grab a and b as if they were the same?
brunoro_ has quit [Ping timeout: 248 seconds]
<thizanne>
match x with | ... -> ... | a (x, y) | b (x, y) -> ...
<saxsalute>
I know about that construct, but is that the least verbose way to do it?
<thizanne>
but you have to be sure that both patterns define the same variables with the same type
<thizanne>
yes it is
<saxsalute>
Alright, cool!
<thizanne>
though come on, it's not really verbose
<saxsalute>
Just wanted to make sure before I write way too much code haha
<saxsalute>
Well I'm dealing with a type that has like 10 things of the same signature
<saxsalute>
It's a VM language and I'm trying to find all references to register numbers
<thizanne>
then maybe you could regroup then in another type :)
<saxsalute>
And there are a lot of instructions
<saxsalute>
Haha if only I could :P not my type!
djellemah has quit [Ping timeout: 268 seconds]
<saxsalute>
Thanks for the help :)
<saxsalute>
The types actually make a lot of sense for the main purpose of what I'm implementing, but for this one "warmup" function we were given they're very blocky
toolslive has quit [Ping timeout: 260 seconds]
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toolslive has joined #ocaml
ygrek has joined #ocaml
nomicflux has joined #ocaml
ollehar has joined #ocaml
conrad1 is now known as cpdean
conrad2 has joined #ocaml
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
AlexDenisov has quit [Max SendQ exceeded]
oriba_ has joined #ocaml
conrad2 has quit [Ping timeout: 250 seconds]
AlexDenisov has joined #ocaml
oriba has quit [Ping timeout: 252 seconds]
saxsalute has quit [Ping timeout: 260 seconds]
nicholasf has quit [Remote host closed the connection]
cpdean has quit [Ping timeout: 258 seconds]
brunoro_ has joined #ocaml
brunoro_ has quit [Ping timeout: 258 seconds]
<sgronblo>
are there any vim plugins for editing atd files?
<sgronblo>
gonna try digging into atdgen now after all
nicholasf has joined #ocaml
segmond has quit [Read error: Connection reset by peer]
Simn has quit [Quit: Leaving]
<smondet>
sgronblo: ocaml mode works for me with atd files
<sgronblo>
can atdgen be used to create a sort of string based enum type like type direction = left | right which could be read from "left" and "right", and is it possible to also have type direction = Left | Right and then parse { type: "left" } to Left?
<smondet>
sgronblo: don't know, I remember the Github API bindings use atdgen pretty intensely, maybe you can look there?
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
silver_ has joined #ocaml
silver has quit [Ping timeout: 248 seconds]
igitoor has quit [Ping timeout: 260 seconds]
<sgronblo>
there seems to be some sort of tag_field thing but i dont really get how to use it yet
kakadu has quit [Remote host closed the connection]
cpdean has joined #ocaml
silver_ is now known as silver
rand__ has quit [Quit: leaving]
btbytes has quit [Read error: Connection reset by peer]
sillyotter has joined #ocaml
brunoro_ has joined #ocaml
<sgronblo>
how can I load my compiled atdgen files into utop?
clog has joined #ocaml
brunoro_ has quit [Ping timeout: 252 seconds]
sillyotter has quit [Quit: WeeChat 1.5]
agarwal1975 has quit [Quit: agarwal1975]
madroach has quit [Read error: Connection reset by peer]
Heasummn has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
al-damiri has quit [Quit: Connection closed for inactivity]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
conrad2 has joined #ocaml
<sgronblo>
does ocamldep somehow manage to organize your dependent files automagically?
conrad2 has quit [Ping timeout: 252 seconds]
oriba_ has quit [Quit: WeeChat 1.6]
brunoro_ has joined #ocaml
ollehar has quit [Quit: ollehar]
igitoor has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
brunoro_ has quit [Ping timeout: 260 seconds]
<cpdean>
are the lessons in this series applicable to ocaml? or are the differences between F#, Haskell, and Ocaml's type systems large enough that you need different strategies in testing and designing software in it? http://blog.ploeh.dk/2016/02/10/types-properties-software/