google / google/codeworld

Use something smarter than `Show/Read` for the websockets protocol

Abierto
#409 2 comentarios 0 reacciones 0 asignados Ver en GitHub
cleanup
Lenguaje dominante
Haskell
Estrellas
1.3k
Forks
201
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I just tried to use `Data.Serialize` with generic deriving, but am stuck. While `Network.WebSockets` (the server side) has no problems sending binary data (as a `ByteString`) over the wire, the corresponding support in ghcjs, at , seems to be shaky. I might get a `Blob` out, but I do not see how to get a `ByteString` out.

I think I was at this point before, so I record this here.

Either I need to figure out how to work with `ByteString` in GHCJS, or use a different serialization library which targets `Data.Text`.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.