[haskeline] #120: Expose Prefs programmatically
haskeline
haskeline at projects.haskell.org
Fri Jul 13 21:01:36 BST 2012
#120: Expose Prefs programmatically
------------------------+---------------------------------------------------
Reporter: acfoltzer | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Version: | Keywords:
------------------------+---------------------------------------------------
Currently, the constructors for the Prefs record are opaque. Therefore, if
a client application wishes to programmatically set non-default
preferences, the only safe way is to write out a temp file in the
.haskeline format, then read it back in.
It would be much simpler to either expose the constructors, or provide an
API for changing the settings directly. I notice that older versions
exposed this module, so perhaps there is a reason for keeping the actual
constructors hidden while exposing enough to client code.
--
Ticket URL: <http://trac.haskell.org/haskeline/ticket/120>
haskeline <http://example.org/>
My example project
More information about the Haskeline
mailing list