The signature for build-path/convention-type is:
(build-path/convention-type type
base
sub ...) → path-for-some-system?
type : (or/c 'unix 'windows)
base : (or/c path-string? path-for-some-system? 'up 'same)
sub : (or/c (and/c (or/c path-string? path-for-some-system?)
Thank you all so much for your comments (the resulting discussion was also
entertaining and unexpected).
If I were to implement path auto-completion, would it be useful if it
wasn’t integrated into DrRacket? I am not precisely sure what I would be
adding this functionality to if not DrRacket.
On
This is amazing! Thank you very much!
On Mon, Oct 23, 2017 at 4:49 PM, Jens Axel Søgaard
wrote:
> I forgot to show how to make a graph.
>
> #lang racket
> (require racket/draw metapict metapict/graph)
>
> (set-curve-pict-size 300 300) ; width and height of image
>
Here is how to do it using MetaPict:
#lang racket
(require racket/draw metapict)
(set-curve-pict-size 300 300) ; width and height of image
(ahlength 1.0); size of arrow head
(define p
(with-window (window -12 12 -12 12) ; xmin, xmax, ymin, ymax
(draw
I forgot to show how to make a graph.
#lang racket
(require racket/draw metapict metapict/graph)
(set-curve-pict-size 300 300) ; width and height of image
(ahlength 1.0); size of arrow head
(define (f x) (sin x))
(define p
(with-window (window -12 12 -12 12) ;
On Mon, Oct 23, 2017 at 3:04 PM, Lawrence Bottorff wrote:
> I'd like to use Racket to generate scalable (svg?) graphics like gnuplot or
> GeoGebra does. For example, I'd like to create a cartesian coordinate graph
> system, then draw functions on it. One thing in particular
At Mon, 23 Oct 2017 18:56:27 -0400, David Storrs wrote:
> The signature for build-path/convention-type is:
> [...]
> What gives?
The blue-box contract on `build-path/convention-type` in the
documentation does not encode all of the constraints of the function
(in much the same way that the
The code is in drracket/private/tools.rkt; I think that that value
(the thing inside the outer listof) ends up in the `spec` field of an
`installed-tool` field and my read of the code suggests that it should
be (or/c string? (listof string?)), but I'm not completely confident
in that.
Robby
On
Seems like this has been asked before. But the exact search query is eluding
me.
One can do `raco pkg install http://url/to/public/git/repo`.
Is it possible to use a private repo as the target of `raco pkg install`?
(IIRC, no.)
What is the least painful workaround? Make a local clone of the
I'd like to use Racket to generate scalable (svg?) graphics like gnuplot or
GeoGebra does. For example, I'd like to create a cartesian coordinate graph
system, then draw functions on it. One thing in particular would be to draw
a graph of a circle based on the standard form of a circle, e.g., x^2
John,
If your name is ever submitted for sainthood, I'll sign the documents.
Many thanks from a grateful teacher! (Now I need to learn how to do this
stuff myself...)
Regards,
Josh
On Sun, Oct 22, 2017 at 8:58 PM, John Clements
wrote:
> Okay, this might now be
Hi all,
I'm working on a set of lecture notes in Scribble, and the code blocks
contain identifiers that are Greek letters (namely, capital gamma and
lowercase rho). I'd like to render a pretty PDF as well as HTML output.
In the resulting LaTeX, however, the code includes things like
12 matches
Mail list logo