Re: [racket-users] Comparing (delimited) continuations in Racket

2015-08-14 Thread Jay McCarthy
This is not a direct answer, but has a few different answer-like things. The Racket contract system has a similar problem to solve. Suppose contracted procedure is supposed to return a number? value. The state would look like this: ( continuation (obey-or-error number? ( function

Re: [racket-users] Comparing (delimited) continuations in Racket

2015-08-14 Thread Klaus Ostermann
Robby, I think what I want is simple to say: If I have a Racket program and manually CPS-transform and then defunctionalize it, I would be able to compare and analyze continuations (and normal procedures, for that matter). I want to be able to do the same without CPS-transforming and

Re: [racket-users] HTTPS connection through proxy (CONNECT HTTP Method)

2015-08-14 Thread Sean Kemplay
On Wednesday, August 12, 2015 at 9:54:23 PM UTC+1, Sean Kemplay wrote: On Wednesday, August 12, 2015 at 12:54:10 PM UTC+1, Jay McCarthy wrote: On Tue, Aug 11, 2015 at 10:24 AM, Sean Kemplay sean.kemp...@gmail.com wrote: Hi All, Sending an http request through our corporate proxy

[racket-users] Re: FrTime basics

2015-08-14 Thread Aidan Gauland
On 13/08/15 22:55, Aidan Gauland wrote: Are there any non-graphical FrTime demos? I'm trying to figure out how to define your own behaviors, and just going by the manual http://docs.racket-lang.org/frtime/, it seems rather imperative in nature, which is not what I understood it to be from

Re: [racket-users] Website Eyecandy from days gone by

2015-08-14 Thread Tim Brown
Thanks Eli. On 13/08/15 18:30, Eli Barzilay wrote: On Mon, Aug 10, 2015 at 5:35 AM, Tim Brown tim.br...@cityc.co.uk wrote: Folks, The “PLT Scheme” website, as was, had a set of preview pictures along the left hand side which scrolled in a “fish-eyed” kind of way (you either know what I’m

Re: [racket-users] HTTPS connection through proxy (CONNECT HTTP Method)

2015-08-14 Thread Sean Kemplay
On Friday, August 14, 2015 at 10:22:03 AM UTC+1, Sean Kemplay wrote: On Wednesday, August 12, 2015 at 9:54:23 PM UTC+1, Sean Kemplay wrote: On Wednesday, August 12, 2015 at 12:54:10 PM UTC+1, Jay McCarthy wrote: On Tue, Aug 11, 2015 at 10:24 AM, Sean Kemplay sean.kemp...@gmail.com wrote:

Re: [racket-users] Comparing (delimited) continuations in Racket

2015-08-14 Thread Vincent St-Amour
On Fri, 14 Aug 2015 07:29:37 -0500, Robby Findler wrote: For that you would have to write a (straightforward) compiler that transformed a fully expanded Racket program into another program (in that same language), inserting with-continuation-mark expressions around every subexpression. Run

Re: [racket-users] Comparing (delimited) continuations in Racket

2015-08-14 Thread Robby Findler
(1) how grey is your cat? The color of a television, tuned to a dead channel. Robby -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [racket-users] Comparing (delimited) continuations in Racket

2015-08-14 Thread Tony Garnock-Jones
On 08/14/2015 11:16 AM, Robby Findler wrote: The color of a television, tuned to a dead channel. Bright, pure, sky blue? What an unusual grey. https://twitter.com/DJSundog/status/629659761902948352 -- You received this message because you are subscribed to the Google Groups Racket Users

Re: [racket-users] HTTPS connection through proxy (CONNECT HTTP Method)

2015-08-14 Thread Sean Kemplay
On Friday, August 14, 2015 at 3:41:04 PM UTC+1, Sean Kemplay wrote: On Friday, August 14, 2015 at 10:22:03 AM UTC+1, Sean Kemplay wrote: On Wednesday, August 12, 2015 at 9:54:23 PM UTC+1, Sean Kemplay wrote: On Wednesday, August 12, 2015 at 12:54:10 PM UTC+1, Jay McCarthy wrote: On Tue,

[racket-users] Using the draw and plot packages with other languages

2015-08-14 Thread Marduk Bolaños
Dear all, As everybody knows, Racket's plot library is feature-rich and produces beautiful output. The draw library is also great for generating diagrams. I prefer functional-style drawing over LaTeX packages. What I would like to do is to be able to use these libraries in Maxima, Julia and

[racket-users] Comparing (delimited) continuations in Racket

2015-08-14 Thread Klaus Ostermann
Is there any way in Racket to use (delimited) continuations to find out whether I'm evaluating an expression in the same evaluation context as before? Let's assume for a second that Racket had an ordinary call stack, and I could access that call stack as a first-order value. Then I could

Re: [racket-users] Comparing (delimited) continuations in Racket

2015-08-14 Thread Éric Tanter
Hi Klaus, For what it’s worth, AspectScheme, which needs the call stack to express control flow related pointcuts, redefines the #%app macro to reify the parts of the call stack that you need using continuation marks. I doubt there is a way other than that one to reify the call stack, but if

Re: [racket-users] Comparing (delimited) continuations in Racket

2015-08-14 Thread Robby Findler
For that you would have to write a (straightforward) compiler that transformed a fully expanded Racket program into another program (in that same language), inserting with-continuation-mark expressions around every subexpression. Run the transformed program. Then, at the point that you wish to