[plt-scheme] Re: FrTime niggle
Noel Welsh wrote:
> I suspect, though cannot confirm, that FrTime defines
> a different execution semantics to normal Scheme. As
> the SRFIs are defined in the MzScheme language they
> don't execute in the same manner as FrTime code.
> Specifically they don't create time-varying values or
> expect to consume them. I think if you cut'n'pasted
> the iota definition into FrTime code it would work.
No, you can use SRFI 1's iota just fine with FrTime.
Welcome to DrScheme, version 206.1-cvs11mar2004
Language: FrTime.
> (require (lib "1.ss" "srfi"))
> (iota (modulo seconds 10))
(0 1 2 3)
>