Re: [racket-users] Editor task: finding end of code on line

2019-07-02 Thread Robby Findler
One note not related to what you ask: lines in editor<%> parlance are soft-breaking; the methods about paragraphs are the ones you want. Robby On Tue, Jul 2, 2019 at 11:41 AM Jordan Johnson wrote: > Dear Racket folks, > > I’m trying to implement a keybinding to get me more familiar with the >

[racket-users] CFP: PLOS '19: 10th Workshop on Programming Languages and Operating Systems

2019-07-02 Thread Eric Eide
Do you use Racket in the implementation of operating systems or "OS-like" systems? Consider submitting a short paper about your work to the PLOS '19 workshop! Papers are due on August 9, a little over a month from now. Eric.

Re: [racket-users] Help designing a library like 2htdp/image

2019-07-02 Thread Dwayne Crooks
Oh nice, thanks! On Tuesday, July 2, 2019 at 2:01:21 PM UTC-4, Sam Tobin-Hochstadt wrote: > > There's a quite comprehensive paper about the library here: > http://users.cs.northwestern.edu/~robby/pubs/papers/sfp2010-bff.pdf > > The library builds on the underlying Racket drawing toolkit, which

Re: [racket-users] Help designing a library like 2htdp/image

2019-07-02 Thread Sam Tobin-Hochstadt
There's a quite comprehensive paper about the library here: http://users.cs.northwestern.edu/~robby/pubs/papers/sfp2010-bff.pdf The library builds on the underlying Racket drawing toolkit, which is similar to many other retained-mode graphics libraries such as Cairo. Sam On Tue, Jul 2, 2019 at

[racket-users] Help designing a library like 2htdp/image

2019-07-02 Thread Dwayne Crooks
I'd like to implement a library like the image teachpack . - What domain knowledge would help me to think through the implementation details? - Are there any papers or tutorials that explain the implementation of 2htdp/image

[racket-users] Editor task: finding end of code on line

2019-07-02 Thread Jordan Johnson
Dear Racket folks, I’m trying to implement a keybinding to get me more familiar with the editor toolkit. I’m working on modifying the Ctrl+E keybinding so it behaves more like the Ctrl+A keybinding (which, once at the beginning of the line, toggles between the true beginning of the line and

Re: [racket-users] Trying to get my head around typed racket and higher order functions

2019-07-02 Thread David Storrs
I haven't used typed racket, so maybe this is pointless, but does this work for you? (define/contract (create-points xs ys) (-> (listof flonum?) (listof flonum?) (listof (vector/c flonum? flonum?))) (map vector xs ys)) (create-points '(1.0 2.0 3.0) '(4.0 5.0 6.0)) ; => '(#(1.0 4.0) #(2.0

[racket-users] Compiling into Linklets

2019-07-02 Thread 'Paulo Matos' via Racket Users
Hi, I am slowly getting the hang of linklets and I am playing with them in my spare free time. As far as I understand the current way to obtain linklets is to use bootstrap-run.rkt in racket/src/expander. I wrote a simple interactive program split into two modules: factorial-input.rkt: #lang

Re: [racket-users] resources on PL design

2019-07-02 Thread Matthias Felleisen
Stephen, since Neil mentioned Alan Kay’s highly informative(*) HOPL essay, let me also point you to Ingalls’ essay (which Robby pointed out to me about a year ago): http://web.archive.org/web/20070213165045/users.ipa.net/~dwighth/smalltalk/byte_aug81/design_principles_behind_smalltalk.html