profmakx has joined #ocaml
ski has quit ["network testing"]
rillig has quit ["exit(EXIT_SUCCESS)"]
ski has joined #ocaml
descender has quit [Remote closed the connection]
Skal has quit [Remote closed the connection]
ski has quit [Read error: 110 (Connection timed out)]
ski has joined #ocaml
<
dbueno>
Does anyone have a moment to help a poor ocaml newbie (sml/nj transplant)?
<
ketty>
dbueno: depends on what you want help with :)
<
dbueno>
I'm trying to write a parser that builds an Ast (defined via a module), but when I compile, it can't find the Ast.t type.
<
dbueno>
I'll paste the error.
<
dbueno>
I annotated with ast type.
<
dbueno>
The start production of my grammar has type 'string Ast.t'
<
zmdkrbou>
mmh it says unbound "type constructor"
<
zmdkrbou>
can you paste the line 19 ?
<
zmdkrbou>
you defined a module in a module :)
<
dylan>
an .ml file defines a module already
<
dylan>
what zmdkrbou said
<
dbueno>
Interesting.
<
dylan>
the content of foo.ml is implicitly in module foo
<
zmdkrbou>
you can use Ast.Ast.t :) or correct your ast.ml file
<
dbueno>
Bam! -- compiles. Thanks.
<
dbueno>
So, if in ast.ml, module SomethingOtherThanAst would really be Ast.SomethingOtherThanAst....?
<
dbueno>
What about defining a functor in a file?
<
zmdkrbou>
Filename.MyFunctor, the same
<
dbueno>
Is it <filename>.FunctorName (OtherModule);; ?
<
dbueno>
Ah. Hm. Okay. Thank you.
ayrnieu has quit ["Reconnecting"]
ayrnieu has joined #ocaml
Quinthius_ has quit [Client Quit]
ayrnieu has quit ["Reconnecting"]
ayrnieu has joined #ocaml
thetallguy has joined #ocaml
thetallguy has left #ocaml []
mikeX has joined #ocaml
dark_light has joined #ocaml
mikeX has quit ["zzzz"]
Smerdyakov has quit ["Leaving"]
dark_ has joined #ocaml
dark_light has quit [Nick collision from services.]
dark_ is now known as dark_light
ppsmimou has quit [Read error: 110 (Connection timed out)]
dark_light has quit ["Fui embora"]
DesaixDeVeygoux has joined #ocaml
gim has quit [Read error: 110 (Connection timed out)]
gim has joined #ocaml
ppsmimou has joined #ocaml
Skal has joined #ocaml
_JusSx_ has joined #ocaml
theArthur has joined #ocaml
Revision17 has joined #ocaml
revision17_ has quit [Read error: 110 (Connection timed out)]
smimou has joined #ocaml
q1 has joined #ocaml
q1 has left #ocaml []
Schmurtz has joined #ocaml
slipstream has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
love-pingoo has joined #ocaml
rillig has joined #ocaml
_JusSx_ has quit ["leaving"]
descender has joined #ocaml
love-pingoo has quit ["roule"]
julbouln has quit []
ayrnieu has quit [Read error: 110 (Connection timed out)]
Snark has joined #ocaml
mikeX has joined #ocaml
julbouln has joined #ocaml
Smerdyakov has joined #ocaml
love-pingoo has joined #ocaml
Smerdyakov has quit ["Leaving"]
_jol_ has joined #ocaml
Demitar has quit ["Ex-Chat"]
Skal has quit [Remote closed the connection]
Schmurtz has quit ["Dodo !"]
_JusSx_ has joined #ocaml
Bigb[a]ng is now known as Bigbang
Smerdyakov has joined #ocaml
_jol_ has quit ["co'o rodo"]
permanente has joined #ocaml
profmakx has quit [Read error: 110 (Connection timed out)]
Demitar has joined #ocaml
Skal has joined #ocaml
Skal has quit [Remote closed the connection]
Skal has joined #ocaml
permanente is now known as profmakx
mikeX has quit ["later"]
Schmurtz has joined #ocaml
DesaixDeVeygoux has quit [Remote closed the connection]
Bigbang is now known as Bigb[a]ng
Snark has quit ["Leaving"]
dark_light has joined #ocaml
love-pingoo has quit ["Connection reset by by pear"]
_JusSx_ has quit ["leaving"]
rillig_ has joined #ocaml
rillig has quit [Read error: 110 (Connection timed out)]
ketty has quit [Read error: 110 (Connection timed out)]
ayrnieu has joined #ocaml
rillig_ has quit ["exit(EXIT_SUCCESS)"]
smimou has quit ["bli"]
Skal has quit [Remote closed the connection]
dark_light has quit ["Fui embora"]
mikeX has joined #ocaml