[web-devel] new field for Network.HTTP.Types.Status

Stephen Paul Weber singpolyma at singpolyma.net
Wed Aug 22 21:35:45 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

> So, I redefined Network.HTTP.Types.Status to have reformatted
> ByteString for status code (the statusAsciiCode field):
>	https://github.com/kazu-yamamoto/http-types/blob/status-ascii-code/Network/HTTP/Types/Status.hs

It seems like this could be solved with a lookup table.  If this change is 
made I think it would need to make sense to hide the Status constructor and 
use a smart constructor or similar.

- -- 
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJQNTSQAAoJENEcKRHOUZzec0MP/i5K9V+0mFEM55Tcq3EhxZbI
CzJa8w1cmcbNd1XRSRLhhBok68APFFx05F2XEDjIU9ui1WRBGzyv5K28/p5QJ4ev
58WfXBPIKVEaeHp0bcmxRmo4IMDiLasdhs55LQMMa4fqmdcwc4gEJR3BnmjNoeMQ
4JUUrKmQPW3yxJJ84k2y7uFIpSLgAypJiKGmYAyJ4+jdkjLpGqV0+aH99d1tvBAh
WeJq4RP77eBjG8JMyTIsllZ5z7kBn694Hmqhepxmm4J2m3InQofhPnfTbwGvI5t6
r+VRIBbOgo0fuZrG1VqOhqqvZi3vpGWTGTi2h5oiejT2l5SYXsHWeS6lCSx5TmvC
QqR0KgKHu1tbTSaJFZzFjFPwshYIwMKTgM4jXGV52x77pNhUFulFNeGgQ9YfxBpn
63hRqYjBnlywDBh/7RvHzX0oro7rthWjPPFfk7rWZi0st1f/Pvv8IjdrQiK0N/Qo
kA8VIRUKdIlKLZkwf4KOe/xm8BIRyvtgxg5fWhCX+Eja2rOSrAOHF6cpoqddfCnF
1X2rC1MxNZxVxiiIN/7CDtSk592RtDZmOZAFGgdg1lpGo3F7nrp8UhxdbUthbdfi
YdT/GNcnlvus3q9DQ96TRI1KYbdIXPkNI04KLUmrQVKDEX1fGReB8bO8GSDPpONf
N4KU/OPTPCMYwpiFwnYv
=pPTJ
-----END PGP SIGNATURE-----



More information about the web-devel mailing list