I'm glad there is a repository issue -- that's where I tried without
success. I tried the build available right now (3bb896d) without
success, but will look again tomorrow.
This is the reason I think Racket is so great. You were able to create
the lp language version 2 as an afterthought. Awesome.
Thanks Matthias
That helps!
Dan
Racket Users list:
http://lists.racket-lang.org/users
A 'when' expression returns the value of the last expression, in your case the
content of the section. By lifting the when out, you get both pieces:
#lang scribble/base
@(define some-condition #true)
@section{Section one}
Section one is for everyone.
@(when some-condition @section{Section t
Thanks Matthias
I should have been clearer: The conditional part works fine.
I am challenged to produce a valid element consisting of a section header
plus some other stuff. In my example, id some-condition is true, everything
compiles and runs, but the *Section two* heading doesn't appear.
Dan
That's about right but you want your conditional to produce some element.
In HtDP/2e, I use things like this all the time:
@(if draft? @bold{Draft Release} @bold{Stable Release})
where draft? is
@(define draft? (or (getenv "DRAFT") (is-draft?)))
that is, the flag is determined by either
Is there an easy way to include / exclude a section based on a flag?
E.g. In the following example, I want to include section two for some folk,
but not for others.
#lang scribble/base
@section{Section one}
Section one is for everyone.
@(when some-condition
@section{Section two}
"Secti
... after the next build, at least.
Problems related to the repository split have prevented the snapshots
from being up-to-date for the past few days, but I'm optimistic that
the next snapshot will be right.
At Tue, 16 Dec 2014 14:54:06 -0500, Matthias Felleisen wrote:
>
> You probably want the
You probably want the current snapshot:
http://www.cs.utah.edu/plt/snapshots/
On Dec 16, 2014, at 1:28 PM, Joel McCracken wrote:
> Forwarding to users, since I forgot to reply-all.
>
>
> -- Forwarded message --
> From: Joel McCracken
> Date: Tue, Dec 16, 2014 at 1:27 P
Forwarding to users, since I forgot to reply-all.
-- Forwarded message --
From: Joel McCracken
Date: Tue, Dec 16, 2014 at 1:27 PM
Subject: Re: [racket] using scribble/eval in conjunction with scribble/lp
To: Matthew Flatt
Hmm, I'm having trouble finding this new release of Rac
hi,
wenn i have a website, wich need du run a racket-code to evaluate some
expretion and returns the result. Ex. wich $ajax! how kann i installe the
Racket-System (DrRacket) on the Server? What is the difrent if i use
GitHub as Host (webserver using Github-Page) or any other Server!!
hoppe some on
10 matches
Mail list logo