<Heasummn>
Can I view all the modules within an opam package somehow?
<Heasummn>
I want to include something, but the docs for this specific thing is really bad, and I can't find the exact name of the package
shinnya has quit [Ping timeout: 265 seconds]
snowshovel has quit [Remote host closed the connection]
mbrock has quit [Ping timeout: 260 seconds]
oldmanistan_ has quit [Ping timeout: 264 seconds]
rfv has quit [Ping timeout: 264 seconds]
jkni has quit [Ping timeout: 258 seconds]
jmct has quit [Ping timeout: 250 seconds]
NhanH has quit [Ping timeout: 264 seconds]
msch has quit [Ping timeout: 250 seconds]
yunxing has quit [Ping timeout: 264 seconds]
Sorella has quit [Ping timeout: 264 seconds]
tmtwd has joined #ocaml
yunxing has joined #ocaml
msch has joined #ocaml
oldmanistan_ has joined #ocaml
jkni has joined #ocaml
jmct has joined #ocaml
Sorella has joined #ocaml
mbrock has joined #ocaml
rfv has joined #ocaml
NhanH has joined #ocaml
Reshi has joined #ocaml
shanemikel has joined #ocaml
<shanemikel>
Would somebody mind taking a peek at this? I'm new to the OCaml ecosystem, and I'm trying to build the code from the LLVM Kaleidoscope tutorial. All the code I have is listed at the bottom of this page, http://llvm.org/docs/tutorial/OCamlLangImpl7.html, except for an _oasis file I've added myself.
<shanemikel>
I believe the problem is simply my failing to instruct the build system to do the necessary camlp4 pre-processing
LiamGoodacre has quit [Ping timeout: 276 seconds]
segmond has quit [Ping timeout: 250 seconds]
pierpa has quit [Ping timeout: 244 seconds]
rgrinberg has quit [Ping timeout: 250 seconds]
govg has quit [Ping timeout: 264 seconds]
nicholasf has joined #ocaml
rgrinberg has joined #ocaml
struktured has joined #ocaml
f[x] has joined #ocaml
rgrinberg has quit [Ping timeout: 250 seconds]
MercurialAlchemi has joined #ocaml
nicoo has quit [Quit: WeeChat 1.3]
nicoo has joined #ocaml
struktured has quit [Ping timeout: 244 seconds]
Algebr` has quit [Ping timeout: 240 seconds]
MercurialAlchemi has quit [Ping timeout: 255 seconds]
govg has joined #ocaml
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
habnabit is now known as _habnabit
tmtwd has quit [Ping timeout: 258 seconds]
Algebr` has joined #ocaml
MercurialAlchemi has joined #ocaml
johnf has joined #ocaml
Simn has joined #ocaml
shanemikel has quit [Remote host closed the connection]
tane has joined #ocaml
Anarchos has joined #ocaml
Sorella has quit [Quit: Connection closed for inactivity]
govg has quit [Ping timeout: 244 seconds]
tg has quit [Quit: Leaving]
zpe has quit [Remote host closed the connection]
tg has joined #ocaml
Algebr` has quit [Ping timeout: 244 seconds]
<tormen>
Algebr: That's why I like _ because it's neutral and clear ;) otherwise (as I lived in Germany and then in Canada I am now completely confused between , and . ;)). So for internal log output a "1_000" would be nice :)
tg has quit [Quit: Leaving]
FreeBirdLjj has quit []
tg has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
FreeBirdLjj has joined #ocaml
zpe has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 255 seconds]
groovy2shoes has joined #ocaml
yegods has joined #ocaml
Nahra has joined #ocaml
AltGr has joined #ocaml
troydm has quit [Ping timeout: 244 seconds]
FreeBirdLjj has quit [Ping timeout: 250 seconds]
FreeBirdLjj has joined #ocaml
troydm has joined #ocaml
sh0t has joined #ocaml
octachron has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Algebr` has joined #ocaml
govg has joined #ocaml
larhat has joined #ocaml
larhat has quit [Client Quit]
kakadu has joined #ocaml
MercurialAlchemi has joined #ocaml
bruce_r has quit [Ping timeout: 250 seconds]
michbad has joined #ocaml
troydm has quit [Ping timeout: 244 seconds]
kakadu has quit [Remote host closed the connection]
al-damiri has joined #ocaml
silver has joined #ocaml
govg has quit [Ping timeout: 265 seconds]
govg has joined #ocaml
nicholasf has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
Reshi has quit [Ping timeout: 260 seconds]
octachron has quit [Ping timeout: 264 seconds]
sh0t has quit [Read error: Connection reset by peer]
sh0t has joined #ocaml
sh0t has quit [Client Quit]
ggole has joined #ocaml
tobiasBora has quit [Ping timeout: 276 seconds]
_y has quit [Ping timeout: 252 seconds]
orbifx-m has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
breitenj has quit [Quit: ZNC - 1.6.0 - http://znc.in]
FreeBirdLjj has joined #ocaml
breitenj has joined #ocaml
zpe has joined #ocaml
yegods has quit [Remote host closed the connection]
Algebr` has quit [Ping timeout: 244 seconds]
f[x] has quit [Ping timeout: 250 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
govg has quit [Ping timeout: 244 seconds]
nicholasf has joined #ocaml
<tormen>
hmm. when using Re.Perl.re is there a way to avoid the Warning: Illegal backslash escape in string or character ({) ?
<tormen>
(e.g. : Re.Perl.re "\{foo\}" - when you want to match a string "{foo}")
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
yegods has joined #ocaml
govg has joined #ocaml
troydm has joined #ocaml
<Drup>
either use double backslash \\{ or use {|...|} as string delimiter, which avoids escaping issues
Anarchos has joined #ocaml
FreeBirdLjj has joined #ocaml
<orbifx-m>
I've got an opal switch for 4.03. I install cstruct, but ppx_ctruct doesn't get installed in opam/4.03/bin
<orbifx-m>
Why?
govg has quit [Ping timeout: 252 seconds]
Algebr` has joined #ocaml
govg has joined #ocaml
octachron has joined #ocaml
Sim_n has joined #ocaml
<orbifx-m>
I needed to install ppx_tools
Simn has quit [Ping timeout: 260 seconds]
Reshi has joined #ocaml
yegods has quit []
sdothum has joined #ocaml
Algebr` has quit [Ping timeout: 240 seconds]
LiamGoodacre has joined #ocaml
_andre has joined #ocaml
michbad_ has joined #ocaml
michbad__ has joined #ocaml
michbad has quit [Ping timeout: 240 seconds]
michbad has joined #ocaml
Sorella has joined #ocaml
michbad_ has quit [Ping timeout: 276 seconds]
michbad___ has joined #ocaml
michbad__ has quit [Ping timeout: 252 seconds]
michbad___ has quit [Remote host closed the connection]
d0nn1e has quit [Ping timeout: 265 seconds]
michbad has quit [Ping timeout: 276 seconds]
d0nn1e has joined #ocaml
pierpa has joined #ocaml
govg has quit [Ping timeout: 255 seconds]
agarwal1975 has quit [Quit: agarwal1975]
FreeBirdLjj has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
yomimono has joined #ocaml
tane has quit [Quit: Leaving]
Algebr` has joined #ocaml
jbrown has quit [Ping timeout: 265 seconds]
nicholasf has quit [Remote host closed the connection]
<Algebr`>
companion_cube: the C channel room bot has this ,english feature where it spits out English given some C code. (its perl) https://raw.githubusercontent.com/pragma-/pbot/master/modules/c2english/CGrammar.pm Was wondering, that's be a cool feature, someone says, what does this OCaml code do? get a readable human sentence out of it
copy` has joined #ocaml
octachron has quit [Ping timeout: 264 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
jbrown has quit [Ping timeout: 252 seconds]
zpe has quit [Ping timeout: 260 seconds]
g4143 has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
yegods has joined #ocaml
g4143 has quit [Quit: Leaving]
yegods has quit [Client Quit]
yegods has joined #ocaml
Bluddy[m] has quit [Read error: Connection reset by peer]
regnat[m] has quit [Remote host closed the connection]
M-martinklepsch has quit [Read error: Connection reset by peer]
M-Illandan has quit [Write error: Connection reset by peer]
M-ErkkiSeppl has quit [Remote host closed the connection]
M-pesterhazy has quit [Remote host closed the connection]
Kakadu2[m] has quit [Read error: Connection reset by peer]
srenatus[m] has quit [Remote host closed the connection]
barkmadley[m] has quit [Read error: Connection reset by peer]
M-jimt has quit [Write error: Connection reset by peer]
jbrown has joined #ocaml
nicholasf has quit [Remote host closed the connection]
MercurialAlchemi has quit [Ping timeout: 265 seconds]
<tormen>
Drup: : Cool, thanks :))
<tormen>
Hmm. How can one specify multiple "with type x = " (e.g. module Make_Nested_M (M:M_type) (P:M) : (Nested_M with type t = M.t XXX)
<tormen>
I tried "<and|,> type p_t = P.t"... ;)
<ggole>
module type S = M with type t = int and type s = int
<tormen>
hun
<tormen>
that's what I first tried ;) ...
<tormen>
ggole: Thanks ! I'll try again ;)
<tormen>
(must have been some other problem at the same time ;))
<tormen>
either use double backslash \\{ or use {|...|} as string delimiter, which avoids escaping issues
<ggole>
M.t XXX looks wrong
<tormen>
ooops. copy and pasted in wrong terminal, while trying to archive Drups answer from this morning
<tormen>
ggole: hehe. yes. The XXX was just meant as a placeholder
<tormen>
I'll try it like you showed me. I am sure it'll work :)
<ggole>
Beware of relying on the error messages, they can be quite poor
Kakadu2[m] has joined #ocaml
jbrown has quit [Ping timeout: 264 seconds]
kushal has joined #ocaml
pyon has quit [Ping timeout: 240 seconds]
silver_ has joined #ocaml
cnu- has quit [Quit: Quit.]
silver has quit [Ping timeout: 244 seconds]
pyon has joined #ocaml
thizanne has quit [Ping timeout: 250 seconds]
g4143 has joined #ocaml
g4143 has quit [Client Quit]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
ebird has quit [Remote host closed the connection]
agarwal1975_ has joined #ocaml
ebird has joined #ocaml
agarwal1975 has quit [Ping timeout: 260 seconds]
agarwal1975_ has quit [Ping timeout: 258 seconds]
ebird has quit [Remote host closed the connection]
ebird has joined #ocaml
LiamGoodacre has quit [Quit: Leaving]
sveit has joined #ocaml
ebird has quit [Quit: ERC (IRC client for Emacs 25.1.50.2)]
<sveit>
what is the way to use c stubs from the top level? in my working directory i have "caml_lib.mli" and "c_stubs.c", and would like to use a c library "clibrary". what commands do I run to compile this and use from the toplevel? sorry if this is obvious
tane has quit [Quit: Leaving]
<mrvn>
sveit: open the caml_lib module
<mrvn>
from cmal_lib.ml
wagle has quit [Remote host closed the connection]
wagle has joined #ocaml
<sveit>
mrvn: do I need a caml_lib.ml file if all i have in the mli are "external f : a -> b ..." and "type t = ..." style declarations?
<mrvn>
think so
<sveit>
mrvn: and even then, what do i have to do to compile c_stubs, and then type into, for example, utop, to get interactive access?
<mrvn>
never done this by hand. oasis does it for me.
<sveit>
mrvn: ok, i wanted to learn the tooling, but just using oasis to start is fine. can you say what to do then?
<mrvn>
google for some examples
<mrvn>
n8
<bruce_r>
Isn't merlin supposed to find other files in the same directory without a .merlin file?
<bruce_r>
Mine complains when I do 'open File'
maker1 has quit [Quit: = ""]
yegods has quit [Remote host closed the connection]
maker has joined #ocaml
thizanne has quit [Ping timeout: 276 seconds]
yegods has joined #ocaml
<sveit>
ok, it seems that to use c code I need to compile a custom toplevel?
Sim_n has quit [Quit: Leaving]
kakadu has quit [Remote host closed the connection]
nicoo has quit [Ping timeout: 276 seconds]
<sveit>
mrvn: i can't get oasis to work with a statically compiled library...
<Bluddy[m]>
bruce_r: I've found that merlin is clueless without a .merlin file