<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://behalek.cs.vsb.cz/wiki/index.php?action=history&amp;feed=atom&amp;title=PFP_Laboratory_11</id>
	<title>PFP Laboratory 11 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://behalek.cs.vsb.cz/wiki/index.php?action=history&amp;feed=atom&amp;title=PFP_Laboratory_11"/>
	<link rel="alternate" type="text/html" href="http://behalek.cs.vsb.cz/wiki/index.php?title=PFP_Laboratory_11&amp;action=history"/>
	<updated>2026-04-21T16:48:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>http://behalek.cs.vsb.cz/wiki/index.php?title=PFP_Laboratory_11&amp;diff=3339&amp;oldid=prev</id>
		<title>Beh01: Created page with &quot;== State monad==   * In your prefered programming language, define a function representing a state: &lt;code&gt;State s a :: s -&gt; (s,a)&lt;/code&gt;. For example in C#, it  will be someth...&quot;</title>
		<link rel="alternate" type="text/html" href="http://behalek.cs.vsb.cz/wiki/index.php?title=PFP_Laboratory_11&amp;diff=3339&amp;oldid=prev"/>
		<updated>2022-11-22T08:30:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== State monad==   * In your prefered programming language, define a function representing a state: &amp;lt;code&amp;gt;State s a :: s -&amp;gt; (s,a)&amp;lt;/code&amp;gt;. For example in C#, it  will be someth...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== State monad== &lt;br /&gt;
&lt;br /&gt;
* In your prefered programming language, define a function representing a state: &amp;lt;code&amp;gt;State s a :: s -&amp;gt; (s,a)&amp;lt;/code&amp;gt;. For example in C#, it  will be something like this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;delegate (TState State, T Value) State&amp;lt;TState, T&amp;gt;(TState state)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Implement functions &amp;#039;&amp;#039;&amp;#039;bind&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;return&amp;#039;&amp;#039;&amp;#039; as it is defined for monads (or &amp;#039;&amp;#039;&amp;#039;SelectMany&amp;#039;&amp;#039;&amp;#039;, if you are using C#).&lt;/div&gt;</summary>
		<author><name>Beh01</name></author>
		
	</entry>
</feed>