[plt-scheme] Invoking units

From: Noel Welsh (noelwelsh at gmail.com)
Date: Mon Jun 15 04:47:01 EDT 2009

I always use the 'infer' variants these days. The unit
gaussian-cluster@ below imports a binding named a (alpha rendered as
ascii). I just define a in the lexical environment and invoke as
follows:

(define a (vector covariance prior-mean prior-covariance))
(define-values/invoke-unit/infer gaussian-cluster@)

HTH,
N.


On Mon, Jun 15, 2009 at 1:14 AM, Paulo J. Matos<pocmatos at gmail.com> wrote:
> Hi,
>
> My units are a bit rusty and deprecated (last time I used them was
> pretty much in 300 I guess). I have a unit that imports 3 thunks:
...


Posted on the users mailing list.