Circular programming

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Circular programming

Maciej Piechotka
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

Reply | Threaded
Open this post in threaded view
|

Circular programming

Peter Verswyvelen-2
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 <[hidden email]>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
> [hidden email]
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20090815/d8755cf3/attachment-0001.html
Reply | Threaded
Open this post in threaded view
|

Circular programming

Peter Verswyvelen-2
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 <[hidden email]>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 <[hidden email]>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
>> [hidden email]
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20090815/f922ad19/attachment.html
Reply | Threaded
Open this post in threaded view
|

Circular programming

Maciej Piechotka
On Sat, 2009-08-15 at 14:27 +0200, Peter Verswyvelen wrote:
> oh and reading first about fix should help too:
>
>
> http://en.wikibooks.org/wiki/Haskell/Fix_and_recursion
>

Thanks. That helped a lot - so it is 'wired'[1] recursion.


[1] for imperative programmers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/beginners/attachments/20090816/379a2977/attachment.bin