samrat has quit [Quit: Computer has gone to sleep.]
samrat has joined #ocaml
zpe has joined #ocaml
eizodo has joined #ocaml
zarul has quit [Ping timeout: 255 seconds]
Kakadu has quit [Quit: Page closed]
Kakadu has joined #ocaml
pgomes has joined #ocaml
philtor has quit [Ping timeout: 255 seconds]
BitPuffin has joined #ocaml
philtor has joined #ocaml
path[l] has quit [Ping timeout: 255 seconds]
<companion_cube>
whitequark: so it's possible to have a findlib sublibrary, foo.bar, that opens a module when linked?
<companion_cube>
I didn't know that, but PR welcome if you write one
<Drup>
why would you want that ?
<Drup>
it sounds horrible
path[l] has joined #ocaml
ggole has joined #ocaml
thomasga has joined #ocaml
thomasga has quit [Client Quit]
cago has joined #ocaml
thomasga has joined #ocaml
lordkryss has joined #ocaml
avsm has joined #ocaml
ggole has quit [Read error: Connection timed out]
bezirg has quit [Read error: Connection reset by peer]
ggole has joined #ocaml
avsm has quit [Quit: Leaving.]
bezirg has joined #ocaml
_andre has joined #ocaml
tane has joined #ocaml
cross has quit [Quit: leaving]
cross has joined #ocaml
George_ has joined #ocaml
<George_>
Hi guys, when I use "with sexp" along with my type definition, I receive the error:
<George_>
Parse error: [semi] expected after [str_item]
<George_>
any idea?
Submarine has joined #ocaml
Submarine has joined #ocaml
<path[l]>
jpdeplaix: hi, I managed to install the new deriving module, but do you know how I actually use it? I’ve created a type deriving show, but I have no idea how to invoke show on the type
sepp2k has joined #ocaml
George__ has joined #ocaml
<George__>
Sorry I was disconnected. I receive error "Parse error: [semi] expected after [str_item]" when I use "with sexp" after my type definitions. Any idea?
<path[l]>
jpdeplaix: oh nm, got it :)
George_ has quit [Ping timeout: 246 seconds]
hhugo has joined #ocaml
<George__>
oh, found the solution. Using sexp.syntax instead of sexplin in packages
<Leonidas>
or use a build system which uses it for you
<whitequark>
at the most basic level, replace your `ocamlc -I whatever_pkg` invocation with `ocamlfind ocamlc -package whatever`
<dmbaturin>
Why ocamlc?
<whitequark>
or ocamlopt
<whitequark>
it wraps most ocaml executables
<dmbaturin>
I mean, I've installed a package and now I want to run the binary it built and installed.
<whitequark>
oh
<whitequark>
do you have eval `opam config env` executed?
<whitequark>
it usually should reside in .bashrc or the like
<whitequark>
if yes, it will append the opam bin directory to your PATH
<Leonidas>
or you can specify the path explicitly
tane has quit [Remote host closed the connection]
<Leonidas>
.opam/compilerversion/bin/binaryname
<dmbaturin>
whitequark: Hhm. Now when I setup the environment by hand, it worked. When installing opam I did ask to modify .bash_profile and seems it did though.
<Leonidas>
maybe your shell cached that there is no such binary and didn't check again when re-running
<Leonidas>
(after having it installed)
<mrvn>
rehash
<mrvn>
and when .bash_profile is changed you need to parse that again to take affect
<dmbaturin>
Yeah, seems like it worked. Thanks!
_5kg has joined #ocaml
<mhi^>
How do you usually use opam? Let's say I did 'opam install core'. If I know want to 'opam install utop' it tries to install deps that are already available (ocamlfind etc.) and fails. Is this some kind of namespace issue?
fraggle-boate has quit [Ping timeout: 245 seconds]
<whitequark>
uhhh what?
<whitequark>
this should not typecheck
<Leonidas>
Error: This expression has type ((unit -> 'a) list * string) Lwt.t but an expression was expected of type (string * string) Lwt.t Type (unit -> 'a) list is not compatible with type string
<nlucaroni>
that makes sense
<whitequark>
oh, I see
<mrvn>
Leonidas: because the type of c isn't fixed yet when it finds the error
<whitequark>
^
<Leonidas>
ah, okay.
<mrvn>
the type of c is only fixed (if at all) outside the match
fraggle-boate has joined #ocaml
<Leonidas>
but when I return (string * string) Lwt.t (as it wants me to), I get a different error:
lordkryss has quit [Quit: Connection closed for inactivity]
<Leonidas>
oh…
* Leonidas
slaps himself
alex-abreu has joined #ocaml
<Leonidas>
well, that compiles. Doesn't do what I want it to do, but okay.
samrat has quit [Quit: Computer has gone to sleep.]
rgrinberg has joined #ocaml
slash^ has quit [Quit: Leaving.]
Arsenik has quit [Remote host closed the connection]
bezirg has quit [Ping timeout: 252 seconds]
fraggle-boate has quit [Ping timeout: 264 seconds]
mk270 has joined #ocaml
zpe has joined #ocaml
sepp2k has quit [Quit: Konversation terminated!]
zpe has quit [Ping timeout: 260 seconds]
bezirg has joined #ocaml
hhugo has joined #ocaml
Submarine has quit [Quit: Leaving]
axiles has quit [Remote host closed the connection]
rand000 has quit [Quit: leaving]
bytbox has joined #ocaml
hhugo has quit [Quit: Leaving.]
philtor has joined #ocaml
_andre has quit [Quit: leaving]
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
mhi^ has quit [Quit: Lost terminal]
Hannibal_Smith has quit [Quit: Sto andando via]
englishm has quit [Ping timeout: 246 seconds]
ggole has quit []
philtor has quit [Ping timeout: 260 seconds]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
<johnf>
hi another camlp4 question, I'm trying to do this <:expr< $x$ >> where x is type 'Camlp4.PreCast.Ast.expr list' so I get a type error saying Camlp4.PreCast.Ast.expr is expected which makes sense, but what I'm not sure is how to do the conversion.
dsheets has quit [Ping timeout: 264 seconds]
rgrinberg has quit [Quit: Leaving.]
jao has quit [Ping timeout: 240 seconds]
rgrinberg has joined #ocaml
Simn has quit [Quit: Leaving]
<johnf>
ok figured it out the key is to paste the question into irc.
BitPuffin has joined #ocaml
eikke__ has joined #ocaml
cespinoza has quit [Ping timeout: 246 seconds]
BitPuffin has quit [Ping timeout: 268 seconds]
Kakadu has quit [Remote host closed the connection]
msaegesser has quit [Ping timeout: 252 seconds]
cdidd_ has quit [Remote host closed the connection]
cdidd has joined #ocaml
cespinoza has joined #ocaml
philtor has joined #ocaml
<Leonidas>
Drup: is there a way to read an Ocsigen_stream.t completely, without specifying a max length?
bezirg has quit [Read error: Connection reset by peer]
cdidd has quit [Changing host]
cdidd has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
thomasga has joined #ocaml
SethTisue has joined #ocaml
cdidd has quit [Quit: cdidd]
darkf has joined #ocaml
philtor has quit [Ping timeout: 245 seconds]
eikke__ has quit [Ping timeout: 264 seconds]
eikke__ has joined #ocaml
cdidd has joined #ocaml
madroach has quit [Ping timeout: 250 seconds]
madroach has joined #ocaml
cdidd has quit [Client Quit]
cdidd has joined #ocaml
SethTisue has quit [Read error: Connection reset by peer]
cdidd has quit [Client Quit]
cdidd has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
rgrinberg has joined #ocaml
cdidd has quit [Client Quit]
cdidd has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
cdidd has quit [Client Quit]
cdidd has joined #ocaml
pyon has quit [Quit: These skies and seas hold great possibilities for you. Stay alive. Pursue happiness. I expect much from your life.]