<Nikkel>
I want to alias Selltable as a certain type as shown on line 11, but when I use the aliased type with an actual function from Hashtbl, I ge the error on line 21
q9929t has quit [Remote host closed the connection]
q9929t has joined #ocaml
<freyr69>
You've confused key and value type in your definition
<freyr69>
key should be the first parameter of Hashtbl.t type
<Nikkel>
Oh yeah. I see that now. That's actually a really silly mistake. Thank you very much :)
gareppa has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
mfp has joined #ocaml
q9929t has quit [Quit: q9929t]
FreeBirdLjj has joined #ocaml
gareppa has quit [Quit: Leaving]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
jao has joined #ocaml
andrewlitteken has quit []
Haudegen has quit [Quit: Bin weg.]
freyr69 has quit [Ping timeout: 245 seconds]
gareppa has joined #ocaml
mk__ has joined #ocaml
<mk__>
How in Lwt can I open a file to read, and seek the end of file?
<Kitambi>
is there nothing in Lwt_io?
<mk__>
Lwt_io.make has a seek parameter, looking to see if that works
<Kitambi>
it's in Lwt_unix
<Kitambi>
openfile/lseek
narimiran has quit [Ping timeout: 244 seconds]
<mk__>
I was using Lwt_io.with file. Possibly better to use Lwt_unix functions then
vesper11 has quit [Read error: Connection reset by peer]
gareppa has quit [Quit: Leaving]
vesper11 has joined #ocaml
nullifidian__ has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
nullifidian_ has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #ocaml
tane has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
Haudegen has joined #ocaml
Serpent7776 has joined #ocaml
AtumT has joined #ocaml
mfp has quit [Ping timeout: 248 seconds]
barockobamo has quit [Remote host closed the connection]
RalfJ has quit [Quit: No Ping reply in 180 seconds.]
RalfJ has joined #ocaml
Netsu has joined #ocaml
<Netsu>
hello!
<Netsu>
AFAIK, I can use values from functor like F(M).value
<Netsu>
first question: what if I prefer formatting with space in between? `F (M).value` looks kinda wrong
<Netsu>
the second question is more interesting: how can I do `let open` without intermediate module? `let a, b = F(M).(a, b)` not working for me..
<octachron>
Netsu, you cannot use value from functor without binding the resulting module, only types.
Jesin has quit [Quit: Leaving]
<Netsu>
octachron: oh, thank you, it makes things clearer
<Netsu>
but yet what with `F (M).t` case?
<Netsu>
is `F(M).t` the standard formatting here?
<octachron>
Probably? It works with more complex paths: F(G(X)).A.B.H(Y).C.D.I(Z).t
<zozozo>
although that's pretty much impossible to read, :p