agrafix / Spock

Another Haskell web framework for rapid development
https://www.spock.li
678 stars 56 forks source link

Derive Show for UploadedFile #101

Closed cdepillabout closed 7 years ago

cdepillabout commented 7 years ago

This PR derives Show for UploadedFile.

This can help with debugging or exploratory programming. When using the files function for the first time, it is convenient to be able to try showing the HashMap Text UploadedFile. However, there needs to be a Show instance for UploadedFile for this to be possible.

Of course, it doesn't make sense to use this Show instance in a production application.

agrafix commented 7 years ago

Thank you