<hannes>
apostolis: not sure I understand you -- what are you trying to achieve? and why is passing a callback an issue for purely functional language?
<hannes>
if you consider stackv4 as provided by OCaml, I'd expect that you can use the API from agda -- but implementing it is not possible in a pure language
apostolis has quit [Read error: Connection reset by peer]
Haudegen has joined #mirage
mort___ has joined #mirage
jnavila has joined #mirage
apostolis has joined #mirage
<apostolis>
hannes : In agda, we would need an infinite stream of flows that are processes sequentially.
<apostolis>
This allows us to have state between connections.
<apostolis>
The way to solve this might be to have some type of OCaml channel. Add a flow from inside the callback into the stream. And retrieve it from outside, when possible.
jnavila has quit [Ping timeout: 258 seconds]
Haudegen has quit [Remote host closed the connection]
kensan has quit [Read error: Connection reset by peer]