higherkindness / mu-haskell

Mu (μ) is a purely functional framework for building micro services.
http://higherkindness.io/mu-haskell/
Apache License 2.0
333 stars 19 forks source link

Add More ToNamedList instances or export ToNamedList #330

Closed llattila closed 2 years ago

llattila commented 2 years ago

Currently in Mu.Server, the class ToNamedList has instances with up to nine different Named options. Adding tenth option to singleService generates a No instance for Mu.Server.ToNamedList error. As Mu.Server does not export Named or ToNamedList, it is not possible to generate an instance ToNamedList with enough Named options. How to handle potential requirements where library users would require more than nine methods?