hannes changed the topic of #mirage to: https://mirage.io - https://github.com/mirage/mirage-www/wiki/Call-Agenda - this channel is logged at http://irclog.whitequark.org/mirage/ - MirageOS 3.5.0 is released - happy hacking!
TG[m] has quit [Read error: Connection reset by peer]
copy` has quit [Remote host closed the connection]
Haudegen[m] has quit [Remote host closed the connection]
hdurer[m] has quit [Remote host closed the connection]
smondet[m] has quit [Remote host closed the connection]
xuqzab[m] has quit [Write error: Connection reset by peer]
Haudegen[m] has joined #mirage
copy` has joined #mirage
smondet[m] has joined #mirage
TG[m] has joined #mirage
xuqzab[m] has joined #mirage
hdurer[m] has joined #mirage
mort___ has joined #mirage
mort___ has quit [Ping timeout: 246 seconds]
Haudegen has joined #mirage
pie_ has quit [Ping timeout: 258 seconds]
mort___ has joined #mirage
mort___ has quit [Client Quit]
hannes has quit [Quit: Coyote finally caught me]
hannes has joined #mirage
pie_ has joined #mirage
pie___ has joined #mirage
pie_ has quit [Ping timeout: 250 seconds]
mort___ has joined #mirage
mort___ has quit [Ping timeout: 252 seconds]
apostolis has joined #mirage
<apostolis> Unfortunately, all network packages depend on the concept of callback which can not be used in a functional language.
<apostolis> It requires mutability of variables.
Haudegen has quit [Remote host closed the connection]
<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]
jnavila has joined #mirage
pie___ has quit [Ping timeout: 272 seconds]
jnavila has quit [Ping timeout: 258 seconds]
Haudegen has joined #mirage
mort___ has quit [Quit: Leaving.]
pie_ has joined #mirage
apostolis has quit [Quit: WeeChat 1.6]
mort___ has joined #mirage
mort___ has quit [Quit: Leaving.]
mort___ has joined #mirage
mort___ has quit [Quit: Leaving.]
Haudegen has quit [Ping timeout: 244 seconds]