[racket] help with racket-bert and (import (bert)) from racket prompt. r6rs from racket prompt?

2013-04-28 Thread Jason E. Aten
I'm using racket from the linux shell, and not drracket. I'd like to import and use the racket-bert package. However I think the r6rs support that it requires is somehow preventing me from importing it or using it at the racket prompt. Can r6rs packages be called interactively from the racket (n

Re: [racket] Papers written using Scribble

2013-04-28 Thread Matthias Felleisen
See http://www.ccs.neu.edu/racket/pubs/#popl12-kfff [*] http://www.ccs.neu.edu/racket/pubs/#oopsla12-stf http://www.ccs.neu.edu/racket/pubs/#oopsla12-sthff [*] The {*]s include Redex material, especially popl 12. If you need source, send email to the lead and/or senior author. I am sure w

Re: [racket] Racket forward compatability

2013-04-28 Thread Matthias Felleisen
Don, we have no absolute commitment to backward compatibility but we rarely break it and, when we do, we try to support the transition. [We use every feature in our language so we need those transition tools and are happy to support others.] See Neil's response. He's a power user -- Matthias

[racket] I just can't understand readtables

2013-04-28 Thread Tomás Coiro
I'm trying to wrap my head around them and be able to use them. I'm trying to write something for a Clojure compability layer in Github and i just find it impossible to use the make-readtable procedure to start doing something. Can someone show me the code to make this #"hello" expand to (regex

Re: [racket] Evaluating Racket source files from within another Racket source file

2013-04-28 Thread Matthew Butterick
Thank you for the explanation. As a new Racket user, in general I find the docs thorough and well done. (I have HTDP and SICP nearby as well.) Coming to Racket from Python, the differences in the module system have been slowest to take hold (exacerbated by the fact that one cannot temporarily kludg

Re: [racket] Racket forward compatability

2013-04-28 Thread Neil Van Dyke
Don Green wrote at 04/28/2013 08:33 PM: Is there any assurance3 that a program written with Racket wil work with a future version of Racket? There have been a few non-backward-compatible changes over the last decade. Since you're using 5.2.1, which is fairly recent, I don't think you have to

[racket] Racket forward compatability

2013-04-28 Thread Don Green
Is there any assurance3 that a program written with Racket wil work with a future version of Racket? I expect the short answer is: No. Any related comments are appreciated. I am using Racket version 5.2.1. I have found that regexp functions are too slow for large data files but maybe newer version

[racket] Requirements & constraints for a function to be accepted for inclusion in Racket?

2013-04-28 Thread Don Green
What are the requirements & constraints for a function to be accepted for inclusion in Racket? Thanks Don Green Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Some guidance and help for Section 4.5.1

2013-04-28 Thread Stephen Bloch
On Apr 28, 2013, at 2:46 AM, Jordan Johnson wrote: > 1) Write a couple of test cases for insert-everywhere/in-one-word. Specific > data is almost always easier to think about than abstract names. At very > least, make a test case for a 1-letter word w1 and another for a 2-letter > word w2,

Re: [racket] Evaluating Racket source files from within another Racket source file

2013-04-28 Thread Matthew Flatt
At Sun, 28 Apr 2013 08:28:46 -0700, Matthew Butterick wrote: > > > > The syntax of `enter!' is supposed to be like `require', where the > > module name is not quoted > > > OK, I see what you're saying. And yes, the enter! / require connection is > noted in the docs. > > As a reader of docs, what

[racket] Papers written using Scribble

2013-04-28 Thread Nada Amin
Hello, Apart from http://www.cs.utah.edu/plt/publications/icfp09-fbf.pdf are there other (conference or journal) papers written using Scribble, with the .scrbl source available? I am particularly interested in examples which also use Redex. Thanks. Cheers, ~n Racket Users

Re: [racket] Beginner question cons vs list vs ?

2013-04-28 Thread Matthias Felleisen
Your base case must be a list (Contracts and tests are optional): #lang racket ;; - ;; a simple fizzbuzz function (provide (contract-out ;; given a natural number, produce the fizz/buzz list for it (fizzbuzz (->

[racket] Beginner question cons vs list vs ?

2013-04-28 Thread Leonard Cuff
I'm trying to teach myself scheme (racket) and decided to try writing fizzbuzz. My program mostly works, but instead of getting a single list, I get a list with a dot before the last list item, which I assume means I've got a 'cons' at the end rather than just one list. What am I doing wrong? Any

Re: [racket] Evaluating Racket source files from within another Racket source file

2013-04-28 Thread J. Ian Johnson
require is a syntactic form with restricted syntax to allow determining dependencies without evaluation. Your example with define breaks this restriction. -Ian - Original Message - From: Matthew Butterick To: Matthew Flatt Cc: Racket mailing list Sent: Sun, 28 Apr 2013 11:28:46 -0400 (

Re: [racket] Evaluating Racket source files from within another Racket source file

2013-04-28 Thread Matthew Butterick
> > The syntax of `enter!' is supposed to be like `require', where the > module name is not quoted OK, I see what you're saying. And yes, the enter! / require connection is noted in the docs. As a reader of docs, what trips me up here is that the docs for enter! and require both refer to a modul

Re: [racket] Evaluating Racket source files from within another Racket source file

2013-04-28 Thread Matthew Flatt
The syntax of `enter!' is supposed to be like `require', where the module name is not quoted. If you remove the quote, then something like (enter! file/gif) doesn't work. It would make sense to move the transitive module-reloading part of `enter!' to a a new module and provide a `dynamic-re-re

Re: [racket] Evaluating Racket source files from within another Racket source file

2013-04-28 Thread Matthew Butterick
Thanks, I'll try that. However, I still think there might be a bug in racket/enter.rkt. Currently lines 10-11 look like this: [(enter! mod flag ...) (andmap keyword? (syntax->datum #'(flag ...))) #'(do-enter! 'mod '(flag ...))] But when I remove the quoting from mod in line 11, like so