misterme_ has quit [Remote host closed the connection]
mistermetaphor has joined #ocaml
mistermetaphor has quit [Remote host closed the connection]
polaron has joined #ocaml
dsheets has joined #ocaml
sh0t has quit [Quit: Leaving]
alpen has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
darkf_ is now known as darkf
mistermetaphor has joined #ocaml
mistermetaphor has quit [Remote host closed the connection]
zpe has joined #ocaml
edwin has quit [Ping timeout: 264 seconds]
edwin has joined #ocaml
metaglog has quit [Ping timeout: 276 seconds]
metaglog has joined #ocaml
metaglog has joined #ocaml
cdidd has quit []
cdidd has joined #ocaml
inr has quit [Read error: Connection reset by peer]
inr has joined #ocaml
<seliopou_>
companion_cube: looking for a little async_kernel in your life? :P
seliopou_ is now known as seliopou
hxegon has joined #ocaml
<hxegon>
Hi all. As a beginner, should I be worrying about standard vs core vs batteries?
darkf_ has joined #ocaml
wiredsister has quit [Ping timeout: 276 seconds]
darkf has quit [Ping timeout: 248 seconds]
darkf_ is now known as darkf
<j0sh_>
hxegon: not at all, just pick one and start hacking :)
<j0sh_>
stdlib might be more manageable for a beginner though. and i've found you can get quite far with just that
Guest86011 is now known as kandu
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
hcarty has joined #ocaml
wiredsister has joined #ocaml
hxegon is now known as hxegon_AFK
hxegon_AFK has quit [Quit: BRB]
hxegon has joined #ocaml
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
mistermetaphor has joined #ocaml
zpe has quit [Ping timeout: 264 seconds]
<struk|desk>
j0sh_: I would get pissed at OCaml real fast if all I used is stdlib, or I'd basically write my own extended version after using it for a while
hxegon is now known as hxegon_AFK
hxegon_AFK has quit [Quit: BRB]
johnelse has quit [Ping timeout: 276 seconds]
johnelse has joined #ocaml
dsheets has joined #ocaml
hxegon has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
hcarty has quit [Ping timeout: 244 seconds]
MercurialAlchemi has joined #ocaml
DavidGuru has joined #ocaml
struk|lap has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
MercurialAlchemi has quit [Ping timeout: 252 seconds]
DavidGuru has left #ocaml [#ocaml]
pierpa has quit [Ping timeout: 244 seconds]
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
<hxegon>
Think I might just pick batteries because it has an infix function composition operator, and I'm all about that lyfe
<hxegon>
stick with it until I have a reason not too
ygrek has quit [Ping timeout: 244 seconds]
<hxegon>
Is there anyway to get access to the material from the MOOC in the topic? I signed up for an account, but I can only find the course description.
hxegon has quit [Quit: BRB]
nicholasf has quit [Ping timeout: 250 seconds]
nicholasf has joined #ocaml
mistermetaphor has quit [Remote host closed the connection]
dsheets has joined #ocaml
mistermetaphor has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
FreeBirdLjj has joined #ocaml
johnf_ has joined #ocaml
mj12`_ has joined #ocaml
johnf_ has quit [Read error: Connection reset by peer]
mj12` has quit [Ping timeout: 276 seconds]
nullcatxxy_ has quit [Ping timeout: 276 seconds]
vodkaInf1rno has joined #ocaml
johnf_ has joined #ocaml
johnf has quit [Ping timeout: 276 seconds]
zaltekk has quit [Ping timeout: 276 seconds]
j_king has quit [Ping timeout: 276 seconds]
xaimus has quit [Ping timeout: 276 seconds]
asdf12z_ has quit [Ping timeout: 276 seconds]
Pepe_ has quit [Ping timeout: 276 seconds]
vodkaInferno has quit [Read error: Connection reset by peer]
cdidd has quit [Read error: Connection reset by peer]
ansiwen_ has joined #ocaml
ansiwen has quit [Ping timeout: 276 seconds]
cdidd has joined #ocaml
nullcatxxx_ has joined #ocaml
j_king has joined #ocaml
xaimus has joined #ocaml
zaltekk has joined #ocaml
Pepe_ has joined #ocaml
myst|fon has quit [Quit: Connection closed for inactivity]
bombastus has joined #ocaml
MercurialAlchemi has joined #ocaml
ygrek has joined #ocaml
hxegon has joined #ocaml
bombastu` has joined #ocaml
Sorella has quit [Quit: Connection closed for inactivity]
hxegon has quit [Ping timeout: 248 seconds]
ztennix has joined #ocaml
bombastu` has quit [Client Quit]
bombastus has quit [Ping timeout: 250 seconds]
hxegon has joined #ocaml
A1977494 has joined #ocaml
Reshi has joined #ocaml
njvg has joined #ocaml
zpe has joined #ocaml
mistermetaphor has quit [Remote host closed the connection]
bba has joined #ocaml
wiredsister has quit [Ping timeout: 248 seconds]
ski_ is now known as ski
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
nullcatxxy_ has joined #ocaml
badon has quit [Disconnected by services]
badon_ has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 276 seconds]
badon_ is now known as badon
flx has joined #ocaml
luigy_ has joined #ocaml
atsampso1 has joined #ocaml
mj12` has joined #ocaml
k1000 has joined #ocaml
acieroid has joined #ocaml
FreeBird_ has joined #ocaml
cschneid_ has joined #ocaml
j_king has quit [*.net *.split]
nullcatxxx_ has quit [*.net *.split]
cdidd has quit [*.net *.split]
mj12`_ has quit [*.net *.split]
FreeBirdLjj has quit [*.net *.split]
darkf has quit [*.net *.split]
bacam has quit [*.net *.split]
k1000_ has quit [*.net *.split]
l1x has quit [*.net *.split]
ia0_ has quit [*.net *.split]
SimonJF_ has quit [*.net *.split]
deko-pyon has quit [*.net *.split]
acieroid``` has quit [*.net *.split]
alpen has quit [*.net *.split]
clog has quit [*.net *.split]
atsampson has quit [*.net *.split]
mehdib has quit [*.net *.split]
kandu has quit [*.net *.split]
yan has quit [*.net *.split]
Nazral has quit [*.net *.split]
LowPoten` has quit [*.net *.split]
igitoor has quit [*.net *.split]
solrize has quit [*.net *.split]
boegel has quit [*.net *.split]
cschneid has quit [*.net *.split]
jbrown has quit [*.net *.split]
hbar has quit [*.net *.split]
rfv has quit [*.net *.split]
luigy has quit [*.net *.split]
chris2 has quit [*.net *.split]
flux has quit [*.net *.split]
gustav___ has quit [*.net *.split]
cnu- has quit [*.net *.split]
spion has quit [*.net *.split]
flx is now known as flux
spion_ has joined #ocaml
igitoor has joined #ocaml
kandu has joined #ocaml
j_king has joined #ocaml
cdidd has joined #ocaml
kandu is now known as Guest49823
yan has joined #ocaml
bacam has joined #ocaml
chris2 has joined #ocaml
SimonJF has joined #ocaml
igitoor has joined #ocaml
igitoor has quit [Changing host]
<flux>
companion_cube, seems pretty nice! I was thinking of exporting the data from my app to html, now it should work out easily ;)
hbar has joined #ocaml
Nazral has joined #ocaml
jbrown has joined #ocaml
manizzle has joined #ocaml
hxegon has quit [Quit: BRB]
pyon has joined #ocaml
darkf has joined #ocaml
rfv has joined #ocaml
ia0 has joined #ocaml
averell has joined #ocaml
l1x has joined #ocaml
mehdib has joined #ocaml
alpen has joined #ocaml
boegel has joined #ocaml
Simn has joined #ocaml
nicholasf has quit [Ping timeout: 260 seconds]
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zpe has quit [Ping timeout: 260 seconds]
solrize has joined #ocaml
struk|lap has quit [Ping timeout: 252 seconds]
struk|lap has joined #ocaml
silver has joined #ocaml
kolko has quit [Ping timeout: 260 seconds]
kolko has joined #ocaml
larhat has joined #ocaml
octachron has joined #ocaml
ygrek has quit [Ping timeout: 276 seconds]
Sim_n has joined #ocaml
Simn has quit [Ping timeout: 264 seconds]
gustav___ has joined #ocaml
clog has joined #ocaml
zpe has joined #ocaml
A1977494 has quit [Ping timeout: 250 seconds]
uggwar has quit [Quit: leaving]
freehck has joined #ocaml
igitoor has quit [Ping timeout: 250 seconds]
njvg has quit [Ping timeout: 250 seconds]
<companion_cube>
seliopou: no thanks :p
<companion_cube>
flux: it's not ready yet, I think, but you're most welcome to try and test it!
n3ss3s__ has quit [Ping timeout: 244 seconds]
AlexRussia has joined #ocaml
infinity0 has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
Reshi has quit [Ping timeout: 260 seconds]
igitoor has joined #ocaml
AlexRussia has quit [Ping timeout: 250 seconds]
jwatzman|work has joined #ocaml
dsheets has joined #ocaml
igitoor has quit [Changing host]
igitoor has joined #ocaml
infinity0 has joined #ocaml
Kakadu has joined #ocaml
Nahra has joined #ocaml
bba has joined #ocaml
rfv has quit [Read error: Connection reset by peer]
rfv has joined #ocaml
cnu- has joined #ocaml
cnu- has quit [Excess Flood]
d0nn1e has quit [Ping timeout: 244 seconds]
ia0 has quit [Ping timeout: 252 seconds]
j_king has quit [Ping timeout: 252 seconds]
inr has quit [Ping timeout: 252 seconds]
edwin has quit [Ping timeout: 252 seconds]
ousado has quit [Ping timeout: 252 seconds]
ia0 has joined #ocaml
SimonJF has quit [Ping timeout: 252 seconds]
cdidd has quit [Ping timeout: 252 seconds]
ansiwen_ has quit [Ping timeout: 252 seconds]
edwin has joined #ocaml
inr has joined #ocaml
cdidd has joined #ocaml
ansiwen has joined #ocaml
j_king has joined #ocaml
SimonJF has joined #ocaml
d0nn1e has joined #ocaml
mattg has quit [Read error: Connection reset by peer]
mattg has joined #ocaml
cnu- has joined #ocaml
anoisz has joined #ocaml
t4nk645 has joined #ocaml
<t4nk645>
hi, how can I include Option module?
<def`>
include Option
<t4nk645>
i tried open Option and i get Unbound module Option
<t4nk645>
and it's funny that on stackoverflow they suggest implementing the functions from Option module
leyyin has joined #ocaml
<lyxia>
It doesn't seem to be part of the stdlib
<lyxia>
is it?
<def`>
it is not.
<zozozo>
it probably belongs to the stdlib extension you use (either Core, Batteries, or Containers I suppose)
<t4nk645>
but the constructors Some and None are part of the stdlib
<lyxia>
right
<zozozo>
more than that, the option type is builtin because of optional arguments
<companion_cube>
indeed ^
jwatzman|work has quit [Quit: jwatzman|work]
leyyin has quit [Ping timeout: 264 seconds]
ousado has joined #ocaml
A1977494 has joined #ocaml
Reshi has joined #ocaml
rwmjones has quit [Ping timeout: 244 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
FreeBird_ has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
anoisz has quit [Ping timeout: 264 seconds]
Reshi has quit [Ping timeout: 252 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
t4nk645 has quit [Ping timeout: 250 seconds]
Reshi has joined #ocaml
rwmjones has joined #ocaml
openplatypus has joined #ocaml
sz0 has joined #ocaml
fluter has quit [Ping timeout: 264 seconds]
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fluter has joined #ocaml
bba has joined #ocaml
_2can has quit [Ping timeout: 244 seconds]
_2can has joined #ocaml
dsheets has quit [Remote host closed the connection]
seliopou has quit [Ping timeout: 244 seconds]
seliopou has joined #ocaml
dsheets has joined #ocaml
openplatypus_ has joined #ocaml
openplatypus_ has quit [Client Quit]
openplatypus has quit [Remote host closed the connection]
openplatypus has joined #ocaml
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
luigy_ has quit [Ping timeout: 244 seconds]
dsheets has quit [Remote host closed the connection]
luigy has joined #ocaml
copy` has joined #ocaml
jwatzman|work has joined #ocaml
bba has joined #ocaml
dhil has joined #ocaml
leyyin has joined #ocaml
toolslive has quit [Ping timeout: 264 seconds]
ggole has joined #ocaml
<NhanH>
is there anywhere I can learn how to use the compiler and various build tool (ie how to build stuffs with package)? Real world ocaml and various books don't go much on that
Sorella has joined #ocaml
<NhanH>
specifically, I'm trying to build something that use Cohttp_lwt_unix but can't figure out how
<flux>
I don't understand how there can be a case that compiler finds foo.cmi, but says "unbound module Foo"..
<Lambda_duck>
I'm going to cry
<flux>
happy cry?
silver_ is now known as silver
<Lambda_duck>
no
<Lambda_duck>
sad cry
<companion_cube>
I note that flux, like me, used -c
bba has joined #ocaml
<flux>
hadn't even noticed that lambda_duck's line didn't have it
<Lambda_duck>
with -c it don't work more.
<Lambda_duck>
When I run my compilation line in my source directory all work fine
<flux>
so how does your situation differ from the one outlined in compilation.tar.gz?
cat5e has joined #ocaml
polaron has joined #ocaml
<companion_cube>
Lambda_duck: -c is also required for building the .cmi first
<Lambda_duck>
yep I do that
dhil has joined #ocaml
kandu has joined #ocaml
kandu is now known as Guest31154
pierpa has joined #ocaml
Druup is now known as Drup
dsheets has joined #ocaml
Ch0c0late has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hcarty1 has joined #ocaml
<dsheets>
toolslive: yes, i believe ctypes does have pointer pretty printers but maybe i've been misled (never used them myself)
sh0t has joined #ocaml
badon has quit [Disconnected by services]
badon_ has joined #ocaml
badon_ is now known as badon
i0sys has joined #ocaml
yegods has joined #ocaml
iosys has quit [Ping timeout: 276 seconds]
kolko has quit [Ping timeout: 276 seconds]
bba has quit [Read error: Connection reset by peer]
i0sys is now known as iosys
ooo has quit [Ping timeout: 276 seconds]
yegods_ has quit [Ping timeout: 276 seconds]
johnelse has quit [Ping timeout: 276 seconds]
theblatte has quit [Ping timeout: 276 seconds]
bba has joined #ocaml
theblatte has joined #ocaml
johnelse has joined #ocaml
kolko has joined #ocaml
Lambda_duck has quit [Ping timeout: 264 seconds]
hcarty has quit [Ping timeout: 276 seconds]
danieli has quit [Ping timeout: 276 seconds]
danieli has joined #ocaml
sh0t has quit [Ping timeout: 268 seconds]
ooo has joined #ocaml
kushal has quit [Ping timeout: 276 seconds]
ygrek has joined #ocaml
thegameg has quit [Ping timeout: 276 seconds]
lambda has joined #ocaml
k1000 has quit [Ping timeout: 276 seconds]
lambda is now known as Guest75552
k1000 has joined #ocaml
igitoor has quit [Ping timeout: 250 seconds]
adelbertc has joined #ocaml
dhil has quit [Ping timeout: 264 seconds]
matason has joined #ocaml
ousado has joined #ocaml
igitoor has joined #ocaml
Guest75552 has quit [Ping timeout: 276 seconds]
thegameg has joined #ocaml
igitoor has quit [Changing host]
igitoor has joined #ocaml
slash^ has quit [Quit: Leaving]
dwillems has joined #ocaml
<dwillems>
Hi everyone. I've got some issue when I install merlin for vim. I use opam install merlin, add syntastic with Vundle and add the line "set rtp+=~/.opam/4.02.3/share/merlin/vim" (where merlin is installed) and add syntastic ocaml checkers to merlin. When I open a ml file, it takes a long time (some minutes), use 99% of CPU, and for nothing (no key mappings are done).
<dwillems>
The problem is when I try to add merlin vim directory to runtime path.
Kakadu has quit [Quit: Page closed]
<companion_cube>
weird
<dwillems>
I thought it was my initial vim configuration, but when I try from scratch, with this vimrc (http://pastebin.com/ZT3wzzxr), I've got the same.
<companion_cube>
do you have a ~/.ocamlinit that loads lots of things?
<companion_cube>
(even then it's not normal, though)
<dwillems>
No ocamlinit
<companion_cube>
sorry, I have no idea... if you run ocamlmerlin on the terminal, does it also eat CPU?
<dwillems>
Ohw... I'm so stupid... There were a merlin file in my home loading all ml files... I don't know why there is one.
<companion_cube>
oh, a .merlin.. in your home?
ousado has quit [Ping timeout: 252 seconds]
dwillems has quit [Ping timeout: 252 seconds]
nicholasf has joined #ocaml
Ch0c0late has joined #ocaml
nicholasf has quit [Ping timeout: 276 seconds]
AlexRussia has quit [Quit: WeeChat 1.4-dev]
myst|fon has quit [Quit: Connection closed for inactivity]
djellemah_ has joined #ocaml
dwillems has joined #ocaml
hannes has joined #ocaml
hannes has quit [Client Quit]
SIGGIL has joined #ocaml
SIGILL has quit [Read error: Connection reset by peer]
djellemah_ has quit [Ping timeout: 276 seconds]
sh0t has joined #ocaml
zpe has joined #ocaml
ousado has joined #ocaml
SIGGIL is now known as SIGILL
Maxdaman1us has joined #ocaml
hxegon is now known as hxegon_AFK
Maxdamantus has quit [Ping timeout: 276 seconds]
Kakadu has joined #ocaml
ggole has quit []
hxegon_AFK has quit [Quit: BRB]
MercurialAlchemi has quit [Ping timeout: 264 seconds]
__y has joined #ocaml
__y has left #ocaml [#ocaml]
ousado has quit [Ping timeout: 252 seconds]
Ch0c0late has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hxegon has joined #ocaml
nicholasf has joined #ocaml
niwox has joined #ocaml
<niwox>
Anyone available to check some basic ocaml functions ?
<niwox>
I feel there must be easier way to do it rather than over complicated function I'v made
hxegon has quit [Ping timeout: 276 seconds]
<zozozo>
niwox: well, first if the last character of your list is valid, then the same list is returned, so I feell there is a missing recursive call to aux in the "if" branch
leyyin has quit [Quit: So Long, and Thanks for All the Fish]
<zozozo>
something like "List.rev (h :: aux t)" instead of "List.rev (h :: t)"
<lyxia>
I think niwox just wants to remove trailing invalid characters
<pierpa>
that's what the comment says. looks fine to me.
<zozozo>
ah, my bad
<niwox>
@lyxia exactly. The function does the job, I'm just wondering if there is easier way
hannes has joined #ocaml
<pierpa>
it's not over complicated. You can't do much better in any case
<zozozo>
I wonder, the two List.rev seems very non-optimal to me
<pierpa>
maybe some library may have a "span" function which could save you a couple of keystrokes...
t4nk253 has joined #ocaml
<niwox>
I'm trying to avoid using any external library to learn the basics
<pierpa>
then you're doing just fine. Don't worry.
<lyxia>
I agree
dsheets has quit [Remote host closed the connection]
<niwox>
thank you !
t4nk253 has quit [Ping timeout: 250 seconds]
wiredsister has quit [Ping timeout: 268 seconds]
adelbertc has quit [Quit: Connection closed for inactivity]
nicholasf has quit [Remote host closed the connection]
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ousado has joined #ocaml
natimic has joined #ocaml
dsheets has joined #ocaml
orbifx has joined #ocaml
dsheets has quit [Ping timeout: 260 seconds]
dsheets has joined #ocaml
puwfyoie has quit [Ping timeout: 250 seconds]
dsheets has quit [Ping timeout: 250 seconds]
dwillems has quit [Quit: Leaving]
johnf has joined #ocaml
zpe has quit [Remote host closed the connection]
hcarty1 has quit [Ping timeout: 268 seconds]
natimic has quit [Ping timeout: 250 seconds]
cdidd has quit [Read error: Connection reset by peer]
git-commit has quit [Ping timeout: 268 seconds]
johnf__ has quit [Ping timeout: 268 seconds]
cdidd has joined #ocaml
vodkaInferno has quit [Ping timeout: 268 seconds]
vodkaInferno has joined #ocaml
git-commit has joined #ocaml
theblatte has quit [Ping timeout: 268 seconds]
bba has joined #ocaml
Stalkr_ has quit [Quit: Leaving...]
nicholasf has joined #ocaml
theblatte has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
Major_Bi1 has joined #ocaml
teknozulu has joined #ocaml
darkf has joined #ocaml
Sorella has quit [Quit: Connection closed for inactivity]
_2can has quit [Ping timeout: 276 seconds]
matason has quit [Ping timeout: 264 seconds]
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
myst|fon has joined #ocaml
Major_Bi1 has quit [Quit: WeeChat 1.4]
sh0t has quit [Ping timeout: 250 seconds]
Sim_n has quit [Quit: Leaving]
orbifx has quit [Ping timeout: 252 seconds]
Kakadu has quit [Remote host closed the connection]