accumulating with loop
- From: Matthew D Swank <akopa.gmane.poster@xxxxxxxxx>
- Date: Sun, 14 Sep 2008 01:11:13 GMT
Is there any way I can do this fold w/o the setf?
(loop :with state := next-state
:for i :from 0 :below n
:do (setf state (build-nfa regex state))
:finally (return state)))
Thanks,
Matt
.
- Follow-Ups:
- Re: accumulating with loop
- From: Thomas A. Russ
- Re: accumulating with loop
- From: Michal Przybylek
- Re: accumulating with loop
- From: Bob Felts
- Re: accumulating with loop
- Prev by Date: Re: What do you LISPers think of Haskell?
- Next by Date: Re: A Proper Lexer
- Previous by thread: Re: Ann: "zen style programming"
- Next by thread: Re: accumulating with loop
- Index(es):