You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm thinking about the best way to have an interface with the following requirements:
Users should be able to call a single function in the App monad that will automatically figure out how to print the value
Ideally, users shouldn't need to implement instances for their custom data types
It should be possible to write pure functions using this abstraction (for example, if users want to format their custom data type with colours but still be able to disable colours)
If you have any ideas, I'd love to hear 🙂
The text was updated successfully, but these errors were encountered:
From other issues, I noticed a pattern of having a data type displayed based on the terminal settings:
So I'm thinking about the best way to have an interface with the following requirements:
App
monad that will automatically figure out how to print the valueIf you have any ideas, I'd love to hear 🙂
The text was updated successfully, but these errors were encountered: