Closed yihuang closed 13 years ago
This is done on purpose to allow future enhancements to the API without breaking backwards compatibility. See http://www.yesodweb.com/blog/2011/10/settings-types for more details.
So we can't use -XRecordWildCards
pattern matching on Request
? e.g.
showReq Request{..} = ...
Correct. Request is intended as settings to be passed to http-enumerator, not for analysis by any other program. It could add new fields at any point.
Thanks very much.