Re: [racket] Issue with require/typed and the json library

2014-12-05 Thread Alexis King
> It doesn’t have to be a struct, but the problem is that typed racket doesn’t > know that a value of type String for instance will be of type JSExpr or not, > so you would have to put (assert x jsexpr?) around everything that you want > to treat as a jsexpr. Ah, that’s interesting. I’d seen as

Re: [racket] Issue with require/typed and the json library

2014-12-05 Thread Alexander D. Knauth
On Dec 5, 2014, at 11:30 PM, Alexis King wrote: > I’ve been having an issue figuring out how to properly use the json library > in typed racket, so I posted a question about it on SO. Any help would be > greatly appreciated! > > Racket Users list: > http://lists.racket-l

[racket] Issue with require/typed and the json library

2014-12-05 Thread Alexis King
I’ve been having an issue figuring out how to properly use the json library in typed racket, so I posted a question about it on SO. Any help would be greatly appreciated! Racket Users list: http://lists.racket-lang.org/users

[racket] Slideshow 16x9?

2014-12-05 Thread Byron Davies
Is there an easy way to make slideshow fully use an HD-style 16x9 monitor? Racket Users list: http://lists.racket-lang.org/users

Re: [racket] drawings in SICP

2014-12-05 Thread Catonano
Jens, thanks for your reply and sorry for the delay in mine. 2014-12-02 13:20 GMT+01:00 Jens Axel Søgaard : > Is it box and pointer diagrams? > > If so, install metapict and let me know how this works: > > https://github.com/soegaard/metapict/blob/master/metapict/box-and-pointer-diagram.rkt > W

Re: [racket] Continuation in embedding Racket

2014-12-05 Thread Nesterov Kirill
Whats Your opinion is it possible to localize memory which responsible for continuations in heap? May be I could try to make a patch or dirty hack(for example swicth stack pointer for every racket API call :)) 05.12.2014, 15:27, "Matthew Flatt" : > At Thu, 04 Dec 2014 00:23:37 +0300, Nesterov Ki

Re: [racket] Continuation in embedding Racket

2014-12-05 Thread Matthew Flatt
At Thu, 04 Dec 2014 00:23:37 +0300, Nesterov Kirill wrote: > > (call-with-continuation-prompt (lambda () (generate-digit))) > With this I'm getting segfault. Sorry for the delay! Looking back at your original explanation: > > At Wed, 03 Dec 2014 23:45:28 +0300, Nesterov Kirill wrote: > >>  I'm t