Jonathan S. Shapiro wrote:
> Yes, and instantaneously. Result of years of practice, and does not
> invalidate your point in the slightest.
>
;-)
> notion of range is easily generalized to the notion of set. The
> problem with this approach is that it does not handle irregular loops
> well (e.g. all *even* slots in a vector), and it has a hard time
> dealing with co-induction.
>
Agreed, though most cases like these would benefit to go to a more
general loop system. Comprehensions can also help:
{ i <- 0..n-1 when i mod 2 == 0 } |> ...
> I am not clear from your description what the distinction between
> letrec and let loop is, however. If "let loop" is used, does this mean
> that it is *required* for all invocations to be in tail position?
> Pardon my ignorance here!
>
Yes, that is exactly the intension.
>> "Emacs would be a far better OS if it was shipped with
>> a halfway-decent text editor." -- Slashdot, Dec 13. 2005.
>>
>
> Amen.
>
I still use Emacs. Org-mode is fantastic!
PKE
--
Pål-Kristian Engstad ([email protected]),
Lead Graphics & Engine Programmer,
Naughty Dog, Inc., 1601 Cloverfield Blvd, 6000 North,
Santa Monica, CA 90404, USA. Ph.: (310) 633-9112.
"Emacs would be a far better OS if it was shipped with
a halfway-decent text editor." -- Slashdot, Dec 13. 2005.
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev