Hopefully the core Racket stuff does what you need. If not, you might
take a look at: http://www.neilvandyke.org/racket/canonicalize-path/
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe from this group and stop receiving
https://docs.racket-lang.org/reference/Manipulating_Paths.html?q=resolve-path#%28def._%28%28quote._~23~25kernel%29._resolve-path%29%29
On Thu, Sep 28, 2017 at 5:50 PM, David Storrs wrote:
> The link-exists? function will tell me that something is a symlink.
> How do I
The link-exists? function will tell me that something is a symlink.
How do I tell what it's pointing to?
I'm writing code that must move data from one computer to another, and
I need a way to say "create the file here and put the data in it" vs
"create a symlink here that points to a file over
I missed this too but am very grateful for the YouTube link, after which
I'm sure I'll grok the version at RacketCon better than I would have
otherwise. Thanks!
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group
I got it to work:
#lang scribble/manual
@(require scribble/core scribble/eval foo)
...
@(define my-eval (make-base-eval))
@interaction-eval[#:eval my-eval (require foo)]
@examples[#:eval my-eval
(magic)
]
Thank Ben Greenman for your 2017-09-24 reply to jos.koot ("repeated code
Fantastic. Thank you, Neil & Ben.
Regards,
Jordan
> On Sep 28, 2017, at 11:09, Neil Van Dyke wrote:
>
> If you don't care whether you edit in HTML syntax, and you'd like a slightly
> more programming-ish interface, there's also:
>
Try adding `#:eval foo-eval` to `interaction`. (I'm guessing that would
work.)
I'm more sure this will work:
#lang scribble/manual
@(require scribble/example "../main.rkt")
...
@(define foo-eval (make-base-eval '(require "../main.rkt")))
@examples[#:eval foo-eval #:label #f
(magic)
I hope this is an easy question for someone. I started a new foo package:
raco pkg new foo
I put my functions in foo/main.rkt. I saw a foo/scribblings/ dir, so I
created a file foo/scribblings/foo.scribl. I've got a nice little doc file
in there, which I can preview using:
cd
If you don't care whether you edit in HTML syntax, and you'd like a
slightly more programming-ish interface, there's also:
http://www.neilvandyke.org/racket/html-template/
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe from
Yes, you can use scribble/html to define functions from lists to documents.
For example, this scribble file calls a function to build an ` ... `
page:
https://github.com/nuprl/gtp/blob/gh-pages/about.rkt
and here's the function:
https://github.com/nuprl/gtp/blob/gh-pages/templates.rkt#L124
--
Hi all,
Problem: I want to generate many documents from a source template (of which
only a few small parts change, from doc to doc) and many groups of values.
Ideally I’d like to be able to write files like this:
*** template ***
...
@(for/list ([item my-list]) (li item))
...
*** list
11 matches
Mail list logo