I'm not understending circular programming. What it is used for? Where feedback variable came from (yes - I know it's wrong question as Haskell is lazy)? I've read http://www.haskell.org/haskellwiki/Circular_programming but I didn't understend the concept and pattern. Regards
It might help to read the Yampa Arcade<http://haskell.cs.yale.edu/yale/papers/haskell-workshop03/yampa-arcade.pdf>and then Plugging a Space Leak with an Arrow<http://cs-www.cs.yale.edu/homes/hl293/download/leak.pdf>to get a practical example of circuit and circular programming. On Sat, Aug 15, 2009 at 11:16 AM, Maciej Piechotka <uzytkownik2@gmail.com>wrote:
I'm not understending circular programming. What it is used for? Where feedback variable came from (yes - I know it's wrong question as Haskell is lazy)?
I've read http://www.haskell.org/haskellwiki/Circular_programming but I didn't understend the concept and pattern.
Regards
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
oh and reading first about fix should help too: http://en.wikibooks.org/wiki/Haskell/Fix_and_recursion <http://en.wikibooks.org/wiki/Haskell/Fix_and_recursion> On Sat, Aug 15, 2009 at 1:43 PM, Peter Verswyvelen <bugfact@gmail.com>wrote:
It might help to read the Yampa Arcade<http://haskell.cs.yale.edu/yale/papers/haskell-workshop03/yampa-arcade.pdf>and then Plugging a Space Leak with an Arrow<http://cs-www.cs.yale.edu/homes/hl293/download/leak.pdf>to get a practical example of circuit and circular programming.
On Sat, Aug 15, 2009 at 11:16 AM, Maciej Piechotka <uzytkownik2@gmail.com>wrote:
I'm not understending circular programming. What it is used for? Where feedback variable came from (yes - I know it's wrong question as Haskell is lazy)?
I've read http://www.haskell.org/haskellwiki/Circular_programming but I didn't understend the concept and pattern.
Regards
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
On Sat, 2009-08-15 at 14:27 +0200, Peter Verswyvelen wrote:
oh and reading first about fix should help too:
Thanks. That helped a lot - so it is 'wired'[1] recursion. [1] for imperative programmers
participants (2)
-
Maciej Piechotka -
Peter Verswyvelen