At Wed, 9 Jul 2014 15:02:09 +0530, Animesh Pandey wrote:
I have three small images of same size. I want to display them one
after another.
I'm not completely sure of your goal, but I think you probably meant to
send `bird-bitmap` to `draw-bitmap-section` in each step.
One way way to add to the
I'm not sure whether to call it a bug or a limitation of `lazy`.
The `lazy` language doesn't delay a reference to an identifier. As a
result,
(define x y)
(define y (list 1))
(car x)
fails. The case could be made that the right-hand side of the definition
of `x` should have been a lazy
The readtable strategy works when language itself uses a
readtable-based reader. The idea is that you install a mapping for `#λ`
while leaving all the other mappings in place. If language uses a
readtable-based reader, then it picks up your extension, otherwise it
doesn't.
I think a `#lang afl
I think the ordering of submodules is unavoidable, but the
documentation should make more clear that the order of `module*`
declarations matters.
Meanwhile, the documentation for `module+` needs to clarify that it
puts the generated `module*` at the end of the enclosing module, even
if there's
Yes, I agree that option 1 sounds better.
Every once in a while, I find that option 2 works well with the pattern
foo.rkt:
#lang racket
(define-logger foo) ; uses `(current-logger)`
bar.rkt:
#lang racket
(define-logger bar) ; uses `(current-logger)`
main.rkt:
#lang racket
ILC 2014 - International Lisp Conference
Lisp on the Move
August 15-17 2014, Université de Montréal, Montréal, Canada
Sponsored by the Association of Lisp Users
In cooperation with: ACM SIGPLAN
On Jul 10, 2014, at 6:40 AM, Matthew Flatt mfl...@cs.utah.edu wrote:
The readtable strategy works when language itself uses a
readtable-based reader. The idea is that you install a mapping for `#λ`
while leaving all the other mappings in place. If language uses a
readtable-based reader, then
I think the problem may be in `at-exp`.
If you change
pkgs/racket-pkgs/at-exp-lib/at-exp/lang/reader.rkt
and replace the use of `at-readtable` with `(make-at-readtable)`, does
that fix the problem?
At Thu, 10 Jul 2014 11:30:18 -0400, Alexander D. Knauth wrote:
On Jul 10, 2014, at 6:40 AM,
Ok now it does this:
#lang afl at-exp racket/base
(map #λ@+[% 1] '(1 2 3)) ; @+: unbound identifier in module in: @+
#lang at-exp afl racket/base ; different order
(map #λ@+[% 1] '(1 2 3)) ; ‘(2 3 4)
#lang afl at-exp racket/base ; original order
@#λ(+ % 1)[1] ; 2
#lang at-exp afl racket/base ;
Thank you for the in-depth analysis. Very interesting.
Following your reasoning, if I edit lazy.rkt and force `values` to use
`multiple-values` for the single entry case, the example that was
previously broken now works. (I just have no idea if this breaks something
else in the process.)
at
On Jul 10, 2014, at 12:56 PM, Alexander D. Knauth alexan...@knauth.org wrote:
Ok now it does this:
#lang afl at-exp racket/base
(map #λ@+[% 1] '(1 2 3)) ; @+: unbound identifier in module in: @+
After doing the read-syntax/recursive thing now this first error goes away (I
have no Idea
Another alternative might be to make a visible grid of cells (using
table-panel, for example) and rather than scrolling the canvas they are on,
use the scroll bars to change what data is displayed in those cells. That
is, have the visible grid of cells be a window into the (potential much
larger)
I was getting some odd behavior on authors whose names ended in and
when compiling a bibliography, and dug into the source a bit. A
little armchair debugging: should this line
Another alternative might be to make a visible grid of cells (using
table-panel, for example) and rather than scrolling the canvas they are on,
use the scroll bars to change what data is displayed in those cells. That
is, have the visible grid of cells be a window into the (potential much
Dmitry Pavlov wrote at 07/09/2014 04:50 AM:
I have to do a simple spreadsheet editor and I wonder
whether Racket suits my needs. The main challenge
is that the spreadsheet editor should be able to edit
tables as big as 1000x1000 or 1x100 cells.
For a million cells like that, when using any
Actually, this is a bug, because the expression in a single-argument
values call is forced prematurely.
eg, This should not error:
- (let-values ([(x) (values (error a))]) 1)
; a [,bt for context]
Just like this does not error.
- (let-values ([(x y) (values (error a) (error b))]) 1)
1
Lazy
On Thu, Jul 10, 2014 at 4:01 PM, Joe Gibbs Politz j...@cs.brown.edu wrote:
I was getting some odd behavior on authors whose names ended in and
when compiling a bibliography, and dug into the source a bit. A
little armchair debugging: should this line
You're very close. Try
(parameterize ([plot-x-ticks no-ticks])
(plot ...))
Neil ⊥
On 07/09/2014 12:04 AM, Robby Findler wrote:
Anyone know how to make a plot using 'lines' with ticks that are of my
own divising instead of the existing? The closest I've been able to
come is the
Thanks!!
Robby
On Thu, Jul 10, 2014 at 7:27 PM, Neil Toronto neil.toro...@gmail.com wrote:
You're very close. Try
(parameterize ([plot-x-ticks no-ticks])
(plot ...))
Neil ⊥
On 07/09/2014 12:04 AM, Robby Findler wrote:
Anyone know how to make a plot using 'lines' with ticks
There are also Eli's class notes. I don't have a URL handy but I am sure if you
google Eli Barzilay and course you'll find his notes on the various levels
of lazy (plus homework assignments :-) -- Matthias
On Jul 10, 2014, at 6:41 PM, Stephen Chang wrote:
Actually, this is a bug,
Oh, and of course you could just use:
(authors (author-name Edward L. Deci)
(author-name Robert J. Vallerand)
(author-name Luc G. Pelletier)
(author-name Richard M. Ryan))
Robby
On Thu, Jul 10, 2014 at 7:16 PM, Robby Findler
ro...@eecs.northwestern.edu
You can just edit the file in your copy of racket and then run 'raco setup'.
Good point, thanks, that'll work in a pinch for the final build.
Still open to other ideas, because among myself and my co-authors
there are probably half a dozen machines that this might end up
getting built on, so
It looks like he has taken those down. But I'm sure he would email a copy
if asked (the think is http://pl.barzilay.org/resources.html#classnotes btw)
On Thu, Jul 10, 2014 at 8:42 PM, Matthias Felleisen matth...@ccs.neu.edu
wrote:
There are also Eli's class notes. I don't have a URL handy but
(Or don't remove it, but also just don't use it.)
On Thu, Jul 10, 2014 at 11:36 PM, Robby Findler
ro...@eecs.northwestern.edu wrote:
Oh, I'm not sure of the best way, but way that should work is if you
port that one by hand. Just remove it from the bibtex file in question
and write out the
On Thu, Jul 10, 2014 at 11:29:37PM -0400, Joe Gibbs Politz wrote:
You can just edit the file in your copy of racket and then run 'raco setup'.
Good point, thanks, that'll work in a pinch for the final build.
Still open to other ideas, because among myself and my co-authors
there are
Oh, I'm not sure of the best way, but way that should work is if you
port that one by hand. Just remove it from the bibtex file in question
and write out the corresponding call to make-bib. (I hope you'll find
that Matthew's API is a lot less painful and error-prone than
bibtex's!).
You should be
26 matches
Mail list logo