purescript-contrib/purescript-affjax

Ord instance for StatusCode

Closed this issue · 2 comments

Would this make sense?
I was thinking of doing something like:
if between (StatusCode 200) (StatusCode 299) res.status then ...
but maybe that's stupid?

garyb commented

Seems reasonable to me!

I see this exists now, so probably should be closed.