Re: [racket] Vim with mzscheme

2013-12-02 Thread WarGrey Gyoudmon Ju
These api binds are writen in c, if_mzsch.c in the source directory of vim. On Sun, Dec 1, 2013 at 9:05 PM, Eduardo Costa wrote: > Well, I compiled Vim with mzscheme enabled. It works great. However, in > the documentation, I found that mzscheme has a library called > mzscheme-vimext that adds

Re: [racket] Test for async-channel being full

2013-12-02 Thread David T. Pierson
On Fri, Nov 29, 2013 at 12:23:42PM -0800, Eric Dobson wrote: > I'm trying to make a custom output port that is backed by a > async-channel. One of the operations that ports need to provide is an > event that is ready when progress on the event can be made. But since > I cannot tell if the async-cha

Re: [racket] DrRacket Helpdesk

2013-12-02 Thread Robby Findler
They used to be different and I feared people had used one or the other in course notes and so didn't want to get rid of them, but probably it has been long enough now that I should just get rid of the "help desk" menu item. Robby On Mon, Dec 2, 2013 at 5:56 PM, Harry Spier wrote: > > Dear list

[racket] DrRacket Helpdesk

2013-12-02 Thread Harry Spier
Dear list members, Why in the DrRacket help menu is there both a "helpdesk" and a "Racket Documentation" button. AFAICT they both do the same thing, bring up the Racket documentation webpage. Thanks, Harry Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Access scheme library from C

2013-12-02 Thread Daniel Langner
Thanks for the reply. This is what I got so far: https://github.com/2bt/racr-c/blob/master/racr-c/src/main.c It doesn't segfault or anything. I'm not quite sure if I'm just being lucky here. :) On 02/12/13 23:03, Matthew Flatt wrote: The easiest approach is often to put Racket in its own OS-

Re: [racket] Cursor size in DrRacket

2013-12-02 Thread Matthew Flatt
I doubt that it's related to the Retina-display changes, but I don't have any guesses at what the problem might be. At Mon, 2 Dec 2013 16:16:26 -0500, Asumu Takikawa wrote: > Hi all, > > I'm experiencing a strange issue in which the mouse cursor looks about > twice as big when it's in DrRacket co

Re: [racket] Access scheme library from C

2013-12-02 Thread Matthew Flatt
The easiest approach is often to put Racket in its own OS-level thread, where scheme_main_setup() is given a function that receives evaluations requests and sends back results. Currently, I don't think it's possible to call into Racket, completely leave, and call back in the way you suggest. You m

[racket] Cursor size in DrRacket

2013-12-02 Thread Asumu Takikawa
Hi all, I'm experiencing a strange issue in which the mouse cursor looks about twice as big when it's in DrRacket compared to when I hover over anything else. This is on Linux running the i3 window manager. Racket is at version 6.0.0.1--2013-12-02(eb19478f/d). Anyone else experiencing this issue

Re: [racket] se-path* returning multiple strings when tag contains XML entities

2013-12-02 Thread Jay McCarthy
Hi Giacomo, First, the question is not really about se/list, because if you look at the xexpr you're giving it, the "name" node has three string children: '(bands () (name () "Derek " "&" " the Dominos") (name () "Nick Cave " "&" " the Bad Seeds")) And se/list* gives you these children all appen

Re: [racket] Generics and gen:custom-write

2013-12-02 Thread Vincent St-Amour
`define/generic' binds the specified generic function to a new identifier, to allow methods to call the generic function recursively. In your case, your `write-proc' calls `super-write' which, after dispatch, calls your `write-proc' again. What you want would be some a bit like CLOS's `call-next-m

Re: [racket] FYI: A new Racket-powered startup

2013-12-02 Thread Daniel Prager
On Tue, Dec 3, 2013 at 3:51 AM, Matthias Felleisen wrote: > > Congrats, looks neat! Thank-you! > Getting a scribbled pdf from a web site is something different. Have you > considered displaying it as HTML for account holders? Downloading a pdf fits for the craft-making audience as we underst

[racket] Hour of Code - Racket

2013-12-02 Thread Nadeem Abdul Hamid
I suppose it's too late this year, but in future years, it might be good outreach to include a Racket version of an "Hour of Code" ( http://hourofcode.org) activity. Maybe something based on WeScheme, because all the other activities and complete online-based… http://csedweek.org/learn --- nadeem

Re: [racket] Generics and gen:custom-write

2013-12-02 Thread Laurent
Anyone has an answer to this? Thanks, Laurent On Tue, Nov 12, 2013 at 1:58 PM, Laurent wrote: > I'm trying to implement a custom writer for a struct with generics, but I > think I'm misunderstanding something. > > What I want to do is specialize only the behavior for `write' and > `display', b

[racket] se-path* returning multiple strings when tag contains XML entities

2013-12-02 Thread Giacomo Ritucci
Hi Racket Users, I'm using se-path*/list to extract values from an XML collection but I found a strange behaviour when the extracted values contain entities. For example, given the following XML: Derek & the Dominos Nick Cave & the Bad Seeds when I extract a list of band names with (s

[racket] 7th European Lisp Symposium, May 5-6 2014, Paris, France

2013-12-02 Thread Didier Verna
ELS'14 - 7th European Lisp Symposium IRCAM, Paris, France May 5-6, 2014 http://www.european-lisp-symposium.org/ The purpose of the European Lisp Symposium is to provide a forum for the discussion and dissemina

Re: [racket] FYI: A new Racket-powered startup

2013-12-02 Thread Matthias Felleisen
Congrats, looks neat! Getting a scribbled pdf from a web site is something different. Have you considered displaying it as HTML for account holders? On Dec 2, 2013, at 7:01 AM, Daniel Prager wrote: > A few hours ago my new start-up -- www.youpatch.com -- came out of stealth > mode. > >

Re: [racket] Esc/Alt key bindings and RSI (Was: hello..)

2013-12-02 Thread Michael Jensen
issue resolved. (from what I can tell). I'm clearly an ubuntu/unity novice, didn't know where to look for the menus. cheers, -mike :-) On Sat, Nov 30, 2013 at 11:06 PM, Robby Findler wrote: Racket's GUI library is doing its best to trick ubuntu where the menus are concerned. Matthew Flatt w

[racket] Access scheme library from C

2013-12-02 Thread Daniel Langner
Hello, I want to embed the racket interpreter to create a C interface for a certain r6rs scheme library. It comprises diverse functions which return complex scheme objects. These, in turn, may be passed to other functions within the library (and therefore shouldn't be gc'ed along the way). I

[racket] FYI: A new Racket-powered startup

2013-12-02 Thread Daniel Prager
A few hours ago my new start-up -- www.youpatch.com -- came out of stealth mode. YouPatch will (in due course) take your image and let you rapidly transform it into a stunning patch-work quilt design. The entire back-end and all of the prototyping to date has been in Racket. If you sign-up for th