Re: [racket-users] Positioning GUI controls in contact with one another

2016-09-05 Thread Robby Findler
I haven't seen buttons in spreadsheet cells in excel, but maybe I'm taking your words too literally? Have you considered using canvas% objects instead of buttons? They should give you the flexibility you're after. Robby On Mon, Sep 5, 2016 at 4:23 PM, David Storrs

[racket-users] Positioning GUI controls in contact with one another

2016-09-05 Thread David Storrs
How do I find the actual minimum size of a GUI control (e.g. a button) without the space around it? I'm on OSX 10.11. I'm working on a spreadsheet application, and my current plan is to have each cell be represented as a separate text control.[1] I need to have these controls be in contact

[racket-users] Re: DrRacket on OpenBSD 6.0

2016-09-05 Thread Juan Francisco Cantero Hurtado
On 02/09/16 13:08, Philippe Meunier wrote: Hello, FYI, W^X is now more strictly enforced on OpenBSD so DrRacket is not going to work anymore be default: https://marc.info/?l=openbsd-misc=147273821220405 "We are pleased to announce the official release of OpenBSD 6.0. [...] - Security

Re: [racket-users] syntax-parse in typed racket

2016-09-05 Thread Matthias Felleisen
The easiest and proper fix is to write typed macros for typed modules. Below is a naive but straightforward solution. It would be better if define-memoized fished out the type declaration for f and used it to add domain types for arg-s... #lang typed/racket (require (for-syntax

Re: [racket-users] Scribble: unnumbered and unindexed sections

2016-09-05 Thread Shriram Krishnamurthi
Just as a note of warning to other readers. I like being able to use #:tag for sections to get human-readable file/directory names. Unfortunately, using the tag prefixes also affects these names. For instance, if you use #:tag "foo", you get a file named "foo.html". But if you use #:tag-prefixes

Re: [racket-users] Scribble: unnumbered and unindexed sections

2016-09-05 Thread Shriram Krishnamurthi
Thanks all for the help. To summarize for the benefit of those who find this thread later: A style of 'unnumbered does the trick. Thus @section[#:style 'unnumbered]{My Section} will list it without giving it a number. As for avoiding duplicate tags, this doesn't appear to be quite right:

[racket-users] syntax-parse in typed racket

2016-09-05 Thread Sourav Datta
Another day, another typed racket question! I was experimenting with memoize library in Racket and noticed that it does not always work with typed racket functions (or, may be I was not 'require'ing it properly). So I came up with this crude implementation below and it seems to be working for