Ched- has quit [Read error: 110 (Connection timed out)]
Ched- has joined #ocaml
dizzyd has joined #ocaml
<dizzyd>
anyone around to help a poor, dejected ocaml n00b? :)
<dizzyd>
specifically, I want to declare a type in a .mli file and then use it in another module...but I don't really want to resort to open <module>;;
<dizzyd>
is it even possible?
<xevz>
Module.t
<xevz>
Like Module.Foo
<dizzyd>
so here is what I have:
<dizzyd>
In foo.mli ->
<dizzyd>
type token = { enum: token_enum; value: token_value };;
<dizzyd>
In another module ->
<dizzyd>
module F = Foo;;
<dizzyd>
let _ =
<dizzyd>
let mytoken = F.make_token
<dizzyd>
mytoken.enum <--- compiler blows up
<thelema>
mytoken.Foo.enum
<dizzyd>
doh
<thelema>
or mytoken.F.enum
<dizzyd>
not what I expected, but makes sense...thanks :)
<thelema>
yeah, it's a bit wierd, but the record field names are namespaced.
<thelema>
it trips everyone up the first time.
<dizzyd>
heh
<dizzyd>
well i'm just glad someone was around to set me straight
<dizzyd>
thx :)
<thelema>
n/p
Kopophex has quit [Read error: 110 (Connection timed out)]
Kopophex has joined #ocaml
redocdam has quit [Remote closed the connection]
dizzyd has quit []
dizzyd has joined #ocaml
dizzyd has quit []
Camarade_Tux has quit [Read error: 110 (Connection timed out)]
Camarade_Tux has joined #ocaml
Philonous1 has joined #ocaml
Philonous has quit [Read error: 110 (Connection timed out)]
seafood has joined #ocaml
seafood has quit []
Kopophex has quit [Read error: 110 (Connection timed out)]
Kopophex has joined #ocaml
Associat0r has joined #ocaml
jonafan_ has joined #ocaml
jonafan has quit [Read error: 110 (Connection timed out)]
Kopophex has quit ["Leaving"]
lde has quit [Read error: 110 (Connection timed out)]
jeddhaberstro has quit []
travisbemann has joined #ocaml
bluestorm has joined #ocaml
bluestorm has quit [Client Quit]
Snark has joined #ocaml
Asmadeus has joined #ocaml
l_a_m has joined #ocaml
hkBst has joined #ocaml
jderque has joined #ocaml
lde has joined #ocaml
seafood has joined #ocaml
asmanur has joined #ocaml
rwmjones has quit ["Closed connection"]
<Toonto_del_alma>
hi kids, can qemu emulate the EFI of Intel to run Mac OSX same as BIOS to run Windows?
besiria has joined #ocaml
Yoric[DT] has joined #ocaml
Philonous1 has quit [Client Quit]
Philonous has joined #ocaml
besiria has quit [Connection timed out]
vpalle_ has joined #ocaml
l_a_m has quit [Remote closed the connection]
jderque has left #ocaml []
bluestorm has joined #ocaml
itouch has joined #ocaml
bluestorm has quit ["Leaving"]
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
itouch has quit [Connection timed out]
itouch has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood_ has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
* Yoric[DT]
is having some difficulties with the composition of two parsers.
itouch has quit [Read error: 110 (Connection timed out)]
<Myoma>
do you implement this using success continuation passing?
itouch has joined #ocaml
<Yoric[DT]>
Well, monads, so probably yes.
<Yoric[DT]>
Now, if [('a, 'b) t] is the type of parsers of tokens of type ['a] with results of type ['b], I'm trying to implement a composition function
<Yoric[DT]>
with type [ ('a, 'b) t -> ('b, 'c) t -> ('a, 'c) t ]
seafood_ has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
<Myoma>
what monad ?
<Yoric[DT]>
What do you mean?
<Myoma>
mm just curious,
coucou747 has joined #ocaml
vpalle__ has joined #ocaml
vpalle has joined #ocaml
Anarchos has joined #ocaml
vpalle_ has quit [Read error: 110 (Connection timed out)]
vpalle__ has quit [Read error: 110 (Connection timed out)]
vpalle has quit [Read error: 110 (Connection timed out)]
Linktim has joined #ocaml
vpalle has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
vpalle has quit [Read error: 104 (Connection reset by peer)]
vpalle has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood has quit [Client Quit]
vpalle has quit [Connection reset by peer]
vpalle has joined #ocaml
pango_ has quit [Remote closed the connection]
vpalle has quit [Read error: 104 (Connection reset by peer)]
pango_ has joined #ocaml
vpalle has joined #ocaml
Anarchos has quit ["Vision[0.8.5-0418]: i've been blurred!"]
Linktim has quit ["Quitte"]
vpalle has quit [Read error: 104 (Connection reset by peer)]
coucou747 has quit ["bye ca veut dire tchao en anglais"]
coucou747 has joined #ocaml
itouch has quit [Read error: 110 (Connection timed out)]
itouch has joined #ocaml
jderque has joined #ocaml
petchema_ has joined #ocaml
petchema has quit [Read error: 110 (Connection timed out)]
savanni has joined #ocaml
binrapt has joined #ocaml
Jedai has joined #ocaml
thelema has quit ["[BX] Pretzel Boy uses BitchX. Shouldn't you?"]
guillem_ has joined #ocaml
itouch has quit [Connection timed out]
Philonous has quit [Remote closed the connection]
itouch has joined #ocaml
bluestorm has joined #ocaml
itouch has quit [Read error: 110 (Connection timed out)]
itouch has joined #ocaml
bluestorm has quit ["Leaving"]
jeddhaberstro has joined #ocaml
itouch has quit ["le devoir m'appel ..."]
itouch has joined #ocaml
savanni has left #ocaml []
itouch has quit ["le devoir m'appel ..."]
authentic has quit [Read error: 104 (Connection reset by peer)]
Snark has quit ["Ex-Chat"]
marmotine has joined #ocaml
asmanur has quit [Read error: 110 (Connection timed out)]
Kopophex has joined #ocaml
marmotine has quit ["mv marmotine Laurie"]
itouch has joined #ocaml
jeddhaberstro has quit []
coucou747 has quit ["bye ca veut dire tchao en anglais"]
itouch has quit [Read error: 110 (Connection timed out)]
itouch has joined #ocaml
Myoma has quit [Read error: 113 (No route to host)]
Myoma has joined #ocaml
itouch has quit [Read error: 110 (Connection timed out)]
itouch has joined #ocaml
Axioplase_ is now known as Axioplase
jderque has left #ocaml []
guillem_ has quit [Remote closed the connection]
jeddhaberstro has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
arquebus has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
itouch has quit ["le devoir m'appel ..."]
bluestorm has joined #ocaml
Associat0r has quit []
seafood has joined #ocaml
arquebus has left #ocaml []
binrapt has quit ["UD2"]
Asmadeus has quit [Nick collision from services.]
m3ga has joined #ocaml
r0bby_ has joined #ocaml
bluestorm has quit ["Leaving"]
kg4qxk has quit ["leaving"]
r0bby has quit [Connection timed out]
kg4qxk has joined #ocaml
r0bby_ has quit [Client Quit]
r0bby has joined #ocaml
jeddhaberstro has quit [Read error: 110 (Connection timed out)]