Hello Racketeers,

I have been playing around with the `math/number-theory` package and I 
wanted to use a `for`-loop of Fibonacci numbers. I had to write something 

    (for ([i (in-naturals)])
      (define fib (fibonacci i))

So I thought it would be nice to have an `in-fibonacci` sequence. According 
to the Racket reference [1] one can implement a custom sequence using 
structure type properties, but according to the Typed Racket guide [2] 
structure type properties are not supported in Typed Racket. Is there any 
other way to get `in-fibonacci` into the module or should I just live 
without it?

[1] https://docs.racket-lang.org/reference/sequences.html?q=sequences

You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to