<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 8, 2016 at 2:49 AM,  <span dir="ltr"><<a href="mailto:e.a.gebhart@gmail.com" target="_blank">e.a.gebhart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id="gmail-:373" class="gmail-a3s gmail-aXjCH gmail-m158dc55e14774327">I have yet to successfully look inside the stackSet. I can tell that I'm not getting<br>
something that is very fundamental.<br></div></blockquote></div><br>Somewhere in a do block in X:</div><div class="gmail_extra"><br></div><div class="gmail_extra">  rect <- fmap (W.screenRect . W.screenDetail . current) (gets windowset)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">(the type of this is <a href="http://hackage.haskell.org/package/X11-1.6.1.2/docs/Graphics-X11-Xlib-Types.html#t:Rectangle">http://hackage.haskell.org/package/X11-1.6.1.2/docs/Graphics-X11-Xlib-Types.html#t:Rectangle</a>)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Also, you need to have imported the StackSet stuff properly:</div><div class="gmail_extra"><br></div><div class="gmail_extra">  import qualified XMonad.StackSet as W<br clear="all"><div><br></div><div>The StackSet type is heavily parameterized because sjanssen ran the XMonad.StackSet module through a code verifier which couldn't handle the X11 types, so substituted basic types for them instead. <a href="http://hackage.haskell.org/package/xmonad-0.12/docs/XMonad-Core.html#t:WindowSet">http://hackage.haskell.org/package/xmonad-0.12/docs/XMonad-Core.html#t:WindowSet</a> is the actual type of what we normally refer to as the StackSet.</div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>