logo       

Re: [plt-dev] defmodulelang and planet: msg#00088

plt-dev

Subject: Re: [plt-dev] defmodulelang and planet

At Fri, 26 Jun 2009 19:14:18 +0800, Chongkai Zhu wrote:
> How do I defmodulelang a planet language? I tried
>
> @defmodulelang[(planet id)]
>
> but the result was
>
> #lang (planet id)
>
> which has an extra pair of parenthesis.

In SVN, `defmodulelang' is now extended to let you separate the
language name from the module path, where the language name is
arbitrary content:

@(define planet-id-lang @scheme[@#,schememodname[planet] who/what])

@defmodulelang[@planet-id-lang #:module-path (planet who/what)]

> Also, will
> @schememod[planet id]
>
> link "id" to the "defmodulelang" part?

There's a new `schememodlink' that similarly separates the module path
from the hyperlinked content:

@schememodlink[(planet who/what)]{@planet-id-lang}


_________________________________________________
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-dev

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise