google / google/codeworld

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

Ouverte
#409 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
cleanup
Langage dominant
Haskell
Étoiles
1.3k
Forks
201
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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`.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.