Repair pushed. Thanks all for tracking down the problem!
At Thu, 8 Sep 2016 17:49:03 -0400, Sam Tobin-Hochstadt wrote:
> And here's an even smaller one along the same lines:
>
> #lang racket/base
> (define h '#hash(("mail-server" . "smtp.sendgrid.net")))
> (define h2 (hash "mail-server" "smtp.sen
I believe the message means that the width you specify is greater than the max
value you also specify. That is, you probably call it as (set-column-width i
715 0 596), which could happen if 'perc' is greater than 100.
You can verify that by printing out all the values and checking them.
Alex
> On Sep 8, 2016, at 2:52 PM, Sam Tobin-Hochstadt wrote:
>
> Already done: https://github.com/racket/racket/issues/1456
D’oh!
John
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails fr
Already done: https://github.com/racket/racket/issues/1456
Sam
On Thu, Sep 8, 2016 at 5:50 PM John Clements
wrote:
>
> > On Sep 8, 2016, at 2:43 PM, Robby Findler
> wrote:
> >
> > (oh, and removing the require line also has that property)
>
> So what you’re saying is that it’s not a contract b
> On Sep 8, 2016, at 2:43 PM, Robby Findler wrote:
>
> (oh, and removing the require line also has that property)
So what you’re saying is that it’s not a contract bug, right?
I’ll open a PR.
John
--
You received this message because you are subscribed to the Google Groups
"Racket Users" g
And here's an even smaller one along the same lines:
#lang racket/base
(define h '#hash(("mail-server" . "smtp.sendgrid.net")))
(define h2 (hash "mail-server" "smtp.sendgrid.net"))
(chaperone-of? h2 h)
(equal? h2 h)
Note that the `equal?` comparison always works, the bug appears to be
just in `ch
(oh, and removing the require line also has that property)
Robby
On Thu, Sep 8, 2016 at 4:42 PM, Robby Findler
wrote:
> Here's a program that, when run prints #t or #f depending on whether
> or not there is a .zo file.
>
> #lang racket/base
> (require racket/contract)
>
> (define h '#hash(("mail
Here's a program that, when run prints #t or #f depending on whether
or not there is a .zo file.
#lang racket/base
(require racket/contract)
(define h '#hash(("mail-server" . "smtp.sendgrid.net")))
(define h2
(for/fold ([h h]) ([(k v) (in-hash h)])
(hash-set h k v)))
(chaperone-of? h2 h)
Alright, I’m finally taking a look at this (and looping the users
list back in). I think, unfortunately, your (Alex’s) change isn’t
quite sufficient: having access to the get-info function isn’t
enough. The read and read-syntax functions need access to the lambda
returned by the base language’s get
Neat!
You should put it on pkgs.racket-lang.org.
Vincent
On Thu, 08 Sep 2016 08:44:21 -0500,
Damien MATTEI wrote:
>
> Hi,
> just a few words to say my enhanced version of Logos (a Scheme program to
> maipulate logical expressions symbolically) is on sourceforge:
>
> https://sourceforge.net/
> On Sep 8, 2016, at 12:01 PM, Robby Findler
> wrote:
>
> What are the steps? I put the code below in a file named tmp.rkt, ran
> "raco make tmp.rkt ; racket tmp.rkt" and see no output.
There were two files?
John
--
You received this message because you are subscribed to the Google Groups
What are the steps? I put the code below in a file named tmp.rkt, ran
"raco make tmp.rkt ; racket tmp.rkt" and see no output.
Robby
On Thu, Sep 8, 2016 at 1:17 PM, Sam Tobin-Hochstadt
wrote:
> This looks like a contract system bug (or a compiler bug). If I change
> reducing-2.rkt to this:
>
> #l
This looks like a contract system bug (or a compiler bug). If I change
reducing-2.rkt to this:
#lang racket/base
(require racket/contract racket/hash)
(define/contract hash-union2
(-> (hash/c string? string?)
(hash/c string? string?)
(hash/c string? string?))
hash-union)
Ok, now I see the error. Thanks!
Sam
On Thu, Sep 8, 2016 at 1:59 PM, John Clements wrote:
>
>> On Sep 8, 2016, at 10:42 AM, Sam Tobin-Hochstadt
>> wrote:
>>
>> I'm unable to replicate this on two different machines, with up to
>> date Racket. Can you try it with a snapshot?
>
> I’m using the g
> On Sep 8, 2016, at 10:42 AM, Sam Tobin-Hochstadt wrote:
>
> I'm unable to replicate this on two different machines, with up to
> date Racket. Can you try it with a snapshot?
I’m using the git head right now…
I just tried copying the two files to a new directory, and discovered that I
don’t
I'm trying to get a list-box% subclass to work with min-widths and
percentage values, but I'm unable to figure out the correct total width
to calculate the actual widths.
Inside the listbox, I store the percentages in percentages and the
minimum-widths in minimum-widths:
(define/override (on-size
I'm unable to replicate this on two different machines, with up to
date Racket. Can you try it with a snapshot?
Here's what I did:
[samth@huor:~/tmp plt] cat > reducing-1.rkt
#lang racket
(require "reducing-2.rkt")
(define bad (modified-test-conf
(hash "a" "b")))
[samth@huor
> On Sep 7, 2016, at 10:36 AM, Sam Tobin-Hochstadt wrote:
>
> It's not clear what's going on here without seeing more of the code. A
> minimal example isn't necessary, just something runnable.
Well, here’s something pretty small.
reducing-1.rkt:
#lang racket
(require "reducing-2.rkt")
(defi
On Wed, Sep 7, 2016 at 10:35 AM, Tim Brown wrote:
> ffi-types.rkt:19 is:
> ..
> 17 (require/typed
> 18 ffi/unsafe
> *19 [#:opaque CPointer cpointer?] ; includes Bytes and other things
> that can be used as cpointers
> 20 [#:opaque CType ctype?]
> 21 )
> ..
> which seems perfectly
Hi,
just a few words to say my enhanced version of Logos (a Scheme program to
maipulate logical expressions symbolically) is on sourceforge:
https://sourceforge.net/projects/logos1/
improvments are the Quine–McCluskey algorithm implementation and a Bigloo
version (needed adaptation mainly for h
Sam,
On the off-chance that the snapshot I used was somehow “stale”:
I have just done a fresh racket install from git;
I have 'raco pkg install -i pict3d'
And retried the test. I still get the type errors.
Tim
On 07/09/16 16:47, Tim Brown wrote:
> :-(
>
> Latest nightly "snapshot 6.6.0.4--20
21 matches
Mail list logo