purescript-contrib/purescript-affjax

Use purescript-media-types

Closed this issue ยท 5 comments

zudov commented

@garyb made purescript-media-types yesterday. I guess the plan is that purescript-affjax would use it at some point. If it's ๐Ÿ‘ I can make a PR.

garyb commented

I'd like to break out the methods, headers, and status codes too, so perhaps we should do them all at once.

I'm not sure what the breakdown of these things should be though, maybe all 3 of those just need to go into a new library rather than being split any further?

Should we also try and use this library for halogen? (media types are used in the html stuff)

zudov commented

Doing them all at once would be of course better.

I guess it won't hurt to have extra granularity, but at the moment I can't come up with a good use case where you would need only one of those modules.

garyb commented

@jonsterling ๐Ÿ‘

@zudov I'll sort something out tonight.

zudov commented

I believe this was addressed in 86e8568