<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-11295132.post7948805726669382520..comments</id><updated>2009-12-07T07:01:40.747-08:00</updated><category term='category theory'/><category term='lawvere theories'/><category term='astronomy'/><category term='optimisation'/><category term='self-reference'/><category term='comonads'/><category term='haskell'/><category term='programming'/><category term='monad'/><category term='mathematics'/><category term='physics'/><category term='probability'/><category term='types'/><category term='quantum'/><title type='text'>Comments on A Neighborhood of Infinity: Monads in C, pt. II</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.sigfpe.com/feeds/7948805726669382520/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html'/><author><name>sigfpe</name><uri>http://www.blogger.com/profile/08096190433222340957</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://homepage.mac.com/sigfpe/.Pictures/Photo%20Album%20Pictures/2002-12-07%2014.53.40%20-0800/ImageDSC01397_1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11295132.post-4749426977212840668</id><published>2009-12-06T23:02:31.303-08:00</published><updated>2009-12-06T23:02:31.303-08:00</updated><title type='text'>Nice, this code is good to show that monads can be...</title><content type='html'>Nice, this code is good to show that monads can be implemented in C. &lt;br /&gt;If anyone wants to refine it, one way is to embed it in a macro, in order to use any other type.&lt;br /&gt;More laborious option is to implement manifest types.&lt;br /&gt;Want it lazy? Implement lambda calculus including an eta-conversion, fixed point combinators, ...&lt;br /&gt;Good idea for course semester project.&lt;br /&gt;See the wizard book for manifest types and Essentials of Programming Languages Friedman et al, not the last edition, the black cover, to implement lambda-calculus</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/4749426977212840668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/4749426977212840668'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html?showComment=1260169351303#c4749426977212840668' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html' ref='tag:blogger.com,1999:blog-11295132.post-7948805726669382520' source='http://www.blogger.com/feeds/11295132/posts/default/7948805726669382520' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-958803207'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-9089441298534029394</id><published>2009-02-24T03:38:00.000-08:00</published><updated>2009-02-24T03:38:00.000-08:00</updated><title type='text'>D'oh, ignore that last comment, I mistakenly thoug...</title><content type='html'>D'oh, ignore that last comment, I mistakenly thought it was returning a pointer to the structure not a copy. :-/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/9089441298534029394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/9089441298534029394'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html?showComment=1235475480000#c9089441298534029394' title=''/><author><name>Pete</name><uri>http://www.blogger.com/profile/08075296498582938825</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html' ref='tag:blogger.com,1999:blog-11295132.post-7948805726669382520' source='http://www.blogger.com/feeds/11295132/posts/default/7948805726669382520' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1691873445'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-2383057419567472871</id><published>2009-02-24T02:33:00.000-08:00</published><updated>2009-02-24T02:33:00.000-08:00</updated><title type='text'>This code is dangerous and will likely crash since...</title><content type='html'>This code is dangerous and will likely crash since you are returning pointers to memory allocated on the stack!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/2383057419567472871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/2383057419567472871'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html?showComment=1235471580000#c2383057419567472871' title=''/><author><name>Pete</name><uri>http://www.blogger.com/profile/08075296498582938825</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html' ref='tag:blogger.com,1999:blog-11295132.post-7948805726669382520' source='http://www.blogger.com/feeds/11295132/posts/default/7948805726669382520' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1691873445'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-3114267592393254388</id><published>2007-09-17T19:10:00.000-07:00</published><updated>2007-09-17T19:10:00.000-07:00</updated><title type='text'>Thanks for the nice post!</title><content type='html'>Thanks for the nice post!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/3114267592393254388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/3114267592393254388'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html?showComment=1190081400000#c3114267592393254388' title=''/><author><name>Michael</name><uri>http://free-ps3-for-me.blogspot.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html' ref='tag:blogger.com,1999:blog-11295132.post-7948805726669382520' source='http://www.blogger.com/feeds/11295132/posts/default/7948805726669382520' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1613360470'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-5884127032831841334</id><published>2007-03-02T06:27:00.000-08:00</published><updated>2007-03-02T06:27:00.000-08:00</updated><title type='text'>Monads work in eager or lazy languages, it makes l...</title><content type='html'>Monads work in eager or lazy languages, it makes little difference. In a sense monads are just mathematical constructions defined by some equations, so what matters is what things evaluate to, not the order they're evaluated in.&lt;BR/&gt;&lt;BR/&gt;Having said that...in Haskell there is a nice way to use monads to make it convenient to write strict code even though the language is lazy.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/5884127032831841334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/5884127032831841334'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html?showComment=1172845620000#c5884127032831841334' title=''/><author><name>sigfpe</name><uri>http://www.blogger.com/profile/08096190433222340957</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html' ref='tag:blogger.com,1999:blog-11295132.post-7948805726669382520' source='http://www.blogger.com/feeds/11295132/posts/default/7948805726669382520' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-961546855'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-2806753843769054813</id><published>2007-03-02T02:45:00.000-08:00</published><updated>2007-03-02T02:45:00.000-08:00</updated><title type='text'>Well, all these C functions are eager. Isn't it th...</title><content type='html'>Well, all these C functions are eager. Isn't it the main point that Haskell functions are lazy? Or it doesn't really matter?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/2806753843769054813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/7948805726669382520/comments/default/2806753843769054813'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html?showComment=1172832300000#c2806753843769054813' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2007/02/monads-in-c-pt-ii.html' ref='tag:blogger.com,1999:blog-11295132.post-7948805726669382520' source='http://www.blogger.com/feeds/11295132/posts/default/7948805726669382520' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-959261670'/></entry></feed>
