[xmonad] [PATCH] * Export X.L.Gaps Gaps constructor

Paul Fertser fercerpav at gmail.com
Thu Feb 21 20:42:18 CET 2013

On Thu, Feb 21, 2013 at 01:54:28PM -0500, wagnerdm at seas.upenn.edu wrote:
> Hm. From a short look at the module, it seems the Gaps constructor is  
> not exported because there are some invariants maintained by the  
> auxiliary functions that act on GapSpecs and [Direction2D]s.

Do I undertand it right that you mean exporting Gaps constructor would
allow users to specify some direction more than once or to add some
direction for which a gap is not defined and that it should be
prevented compile-time? Would creating another function (gaps' ?) that
would accept a list of triples (with the third boolean element to
specify an initial state) solve the problem?

Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com

More information about the xmonad mailing list