[racket] Constructors for sequences
ok. then it is a type problem, I was wrong.
On Sun, Apr 29, 2012 at 3:56 PM, Jens Axel Søgaard wrote:
> 2012/4/29 Galler <lzgaller at optonline.net>:
>
>>> (distribute sin list 1 2 3)
>> (0.8414709848078965 0.9092974268256817 0.1411200080598672)
>
> This makes the constructor explicit. That's what I want to avoid.
>
> The problem is that a user can define his own type of sequence,
> and I'd like my function work with user defined sequences too.
>
> --
> Jens Axel Søgaard