ndmitchell / cmdargs

Haskell library for command line argument processing
Other
91 stars 12 forks source link

Add Functor instances for GetOpt wrapper #54

Closed DanielG closed 6 years ago

ndmitchell commented 6 years ago

Thanks - good spot!

Rather than add Functor for my copies of the data types, I just stopped copying the data types (and wondered to myself why I ever copied them in the first place). Can you confirm 9f4d85595f39556ff992d5d442fd617dfc25876c is a better solution for you, and if so I'll close this PR.

DanielG commented 6 years ago

That works for me, thanks :)

ndmitchell commented 6 years ago

Thanks, I pushed out 0.10.20 with this fix.