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
I do not care about multi-configurations and extensible records, if we can validate the configurations.
But I hope serializable and not serializable data are separated. Not serializable data is like IO-actions.
I am trying last one(configuration-file) like this.
The configuration file can not include keymap, as the map is not serializable data.
First of all I want to make clear that by configuration I mean simple configuration like font size or enabling line numbers.
I've done some thinking and I came to the conclusion that there are multiple places where things can be configured:
(http://hackage.haskell.org/package/yi-core-0.17.1/docs/Yi-Types.html#t:Config)
(http://hackage.haskell.org/package/yi-core-0.17.1/docs/Yi-Types.html#t:Attributes)
(http://hackage.haskell.org/package/yi-core-0.17.1/docs/Yi-Types.html#t:Mode)
(http://hackage.haskell.org/package/yi-core-0.17.1/docs/Yi-Types.html#t:UIConfig)
This list might not even be complete. I think we can do better! I suspect there is a more uniform way to handle configuration.
There are some points where I think we can improve the current situation:
DynamicState
type (for example using Data types à la carte).The text was updated successfully, but these errors were encountered: