Re: [racket-users] DrRacket internal error

2015-04-22 Thread Robby Findler
I'm glad to hear that helped. Looking at the code, I'm puzzled because I don't see how configure-runtime can show up in the code that is in that stacktrace. I'd expect configure-runtime to show up in code that was initializing an environment for running a language, but that code is the new bluebox

Re: [racket-users] web server: database result paging

2015-04-22 Thread George Neuner
On 4/22/2015 8:12 PM, David Vanderson wrote: On 04/20/2015 05:54 AM, George Neuner wrote: I know I need a different response function. The question was whether embed/url is tied to HTML or can be used in a different context. The documentation (6.1.1) says: "When used inside page

Re: [racket-users] DrRacket internal error

2015-04-22 Thread Alexander D. Knauth
Restarting didn’t help, but then raco setup hanged because of an infinite loop in a package of mine, which I then fixed, and then I tried raco setup again, and then it was working again. So the problem, for me, right now, is fixed. On Apr 22, 2015, at 9:23 PM, Robby Findler wrote: > Does re

Re: [racket-users] DrRacket internal error

2015-04-22 Thread Robby Findler
Does restarting help? How about re-running 'raco setup'? Robby On Wed, Apr 22, 2015 at 6:21 PM, Alexander D. Knauth wrote: > I’m not sure how it got into this state, but now every time I start typing > something or anything like that I get a DrRacket internal error window saying: > hash-ref: co

Re: [racket-users] web server: database result paging

2015-04-22 Thread David Vanderson
On 04/20/2015 05:54 AM, George Neuner wrote: I know I need a different response function. The question was whether embed/url is tied to HTML or can be used in a different context. The documentation (6.1.1) says: "When used inside page syntactically, a rename transformer for the

[racket-users] DrRacket internal error

2015-04-22 Thread Alexander D. Knauth
I’m not sure how it got into this state, but now every time I start typing something or anything like that I get a DrRacket internal error window saying: hash-ref: contract violation expected: hash? given: #f argument position: 1st other arguments...: 'configure-runtime '() context

Re: [racket-users] Debugging Library

2015-04-22 Thread 'John Clements' via Racket Users
> On Apr 22, 2015, at 2:40 PM, s.ji...@berkeley.edu wrote: > > Yes, I think that would be wonderful. Sure thing, attachment by separate e-mail (no need to send to the list). John Clements -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To un

Re: [racket-users] Scribble abstraction to attach styles

2015-04-22 Thread Alexander D. Knauth
I just tried (nested #:style question-style t) and that worked. What got that to fail? Also I should have tried elem with answer, not just question. On Apr 22, 2015, at 5:21 PM, Alexander D. Knauth wrote: > Would something like > (define (question . t) (apply elem #:style question-style . t))

Re: [racket-users] Debugging Library

2015-04-22 Thread s . jiang
Yes, I think that would be wonderful. Thanks! Tony On Wednesday, April 22, 2015 at 1:55:04 PM UTC-7, johnbclements wrote: > > On Apr 22, 2015, at 1:31 PM, s.ji...@berkeley.edu wrote: > > > > I was wondering if Racket, or any other Scheme interpreter, had a debugging > > library similar to bdb

Re: [racket-users] convert to/from Sribble

2015-04-22 Thread WarGrey Gyoudmon Ju
I use Scribble heavily every day. One question with the default Markdown renderer is it breaks line every 72 chars when rendering blocks, and this poor implementation totally messes up the resulting file. On Wed, Apr 22, 2015 at 11:13 PM, Neil Van Dyke wrote: > Here's an interface for using you

Re: [racket-users] Scribble abstraction to attach styles

2015-04-22 Thread Alexander D. Knauth
Would something like (define (question . t) (apply elem #:style question-style . t)) work? On Apr 22, 2015, at 5:08 PM, Shriram Krishnamurthi wrote: > I'm having trouble with the type structure of Scribble and hoping someone can > help me get this right. > > Let's say I want to write content l

[racket-users] Scribble abstraction to attach styles

2015-04-22 Thread Shriram Krishnamurthi
I'm having trouble with the type structure of Scribble and hoping someone can help me get this right. Let's say I want to write content like this: = @exercise{ @question{The expression @code{1 + 2} evaluates to} @answer{ @itemlist[ @item{@code{2}} @item{@code{3}} @item{@code{4}} ] } }

Re: [racket-users] Debugging Library

2015-04-22 Thread 'John Clements' via Racket Users
> On Apr 22, 2015, at 1:31 PM, s.ji...@berkeley.edu wrote: > > I was wondering if Racket, or any other Scheme interpreter, had a debugging > library similar to bdb/pdb for Python. > > There is an environment diagram visualizer at http://www.pythontutor.com/ > which uses BDB/PDB to generate a J

[racket-users] Debugging Library

2015-04-22 Thread s . jiang
I was wondering if Racket, or any other Scheme interpreter, had a debugging library similar to bdb/pdb for Python. There is an environment diagram visualizer at http://www.pythontutor.com/ which uses BDB/PDB to generate a JSON trace which it feeds to the frontend. I see that there is a rudiment

Re: [racket-users] convert to/from Sribble

2015-04-22 Thread Gour
Neil Van Dyke writes: > I think one would also want to look at the code for an existing > renderer, not just work from the interface documentation alone. (If I > were going to do a more-plain-HTML5 renderer, my first pass would be to > copy the existing HTML renderer, and start modifying it

Re: [racket-users] convert to/from Sribble

2015-04-22 Thread Gour
Matthias Felleisen writes: > No need for that. You can write your own renderer :-) What do you think about https://github.com/mbutterick/quad ? Sincerely, Gour -- A person is considered still further advanced when he regards honest well-wishers, affectionate benefactors, the neutral, medi

Re: [racket-users] convert to/from Sribble

2015-04-22 Thread Neil Van Dyke
Here's an interface for using your own renderers with Scribble: http://docs.racket-lang.org/scribble/renderer.html I think one would also want to look at the code for an existing renderer, not just work from the interface documentation alone. (If I were going to do a more-plain-HTML5 renderer,

Re: [racket-users] convert to/from Sribble

2015-04-22 Thread Matthias Felleisen
No need for that. You can write your own renderer :-) On Apr 22, 2015, at 1:02 AM, Gour wrote: > > Matthias Felleisen writes: > >> We'd love to have an additional renderer for Scribble. > > Good. > > Btw, is there something like Scribble-2 planned? > > > Sincerely, > Gour > > -- > A