Haskell Tutorial

Introduction

All Apache Thrift tutorials require that you have:

  1. The Apache Thrift Compiler and Libraries, see Download and Building from Source for more details.
  2. Generated the tutorial.thrift and shared.thrift files:
    thrift -r --gen hs tutorial.thrift
  3. Followed all prerequisites listed below.

Prerequisites

Client

<input name="a" type="hidden" value="search" />
<input name="h" type="hidden" value="HEAD" />
<select name="st" >
<option selected="selected" value="commit">commit</option>
<option value="grep">grep</option>
<option value="author">author</option>
<option value="committer">committer</option>
<option value="pickaxe">pickaxe</option>
</select> <a href="/repos/asf?p=thrift.git;a=search_help" title="search help">?</a> search:
<input type="text" name="s"  />
<span title="Extended regular expression"><label><input type="checkbox" name="sr" value="1" />re</label></span></div>
</form>
<div class="page_body">
<br /><br />
404 - Cannot find file
<br />
</div>
<div class="page_footer">
<div class="page_footer_text">Apache Thrift</div>
<a class="rss_logo" href="/repos/asf?p=thrift.git;a=rss;f=tutorial/hs/HaskellClient.hs" title="history of tutorial/hs/HaskellClient.hs RSS feed">RSS</a>
<a class="rss_logo" href="/repos/asf?p=thrift.git;a=atom;f=tutorial/hs/HaskellClient.hs" title="history of tutorial/hs/HaskellClient.hs Atom feed">Atom</a>
</div>
<script type="text/javascript" src="/static/gitweb.js"></script>
<script type="text/javascript">
window.onload = function () {
	var tz_cookie = { name: 'gitweb_tz', expires: 14, path: '/' };
	onloadTZSetup('local', tz_cookie, 'datetime');
};
</script>
</body>
</html>

Server

<input name="a" type="hidden" value="search" />
<input name="h" type="hidden" value="HEAD" />
<select name="st" >
<option selected="selected" value="commit">commit</option>
<option value="grep">grep</option>
<option value="author">author</option>
<option value="committer">committer</option>
<option value="pickaxe">pickaxe</option>
</select> <a href="/repos/asf?p=thrift.git;a=search_help" title="search help">?</a> search:
<input type="text" name="s"  />
<span title="Extended regular expression"><label><input type="checkbox" name="sr" value="1" />re</label></span></div>
</form>
<div class="page_body">
<br /><br />
404 - Cannot find file
<br />
</div>
<div class="page_footer">
<div class="page_footer_text">Apache Thrift</div>
<a class="rss_logo" href="/repos/asf?p=thrift.git;a=rss;f=tutorial/hs/HaskellServer.hs" title="history of tutorial/hs/HaskellServer.hs RSS feed">RSS</a>
<a class="rss_logo" href="/repos/asf?p=thrift.git;a=atom;f=tutorial/hs/HaskellServer.hs" title="history of tutorial/hs/HaskellServer.hs Atom feed">Atom</a>
</div>
<script type="text/javascript" src="/static/gitweb.js"></script>
<script type="text/javascript">
window.onload = function () {
	var tz_cookie = { name: 'gitweb_tz', expires: 14, path: '/' };
	onloadTZSetup('local', tz_cookie, 'datetime');
};
</script>
</body>
</html>

Additional Information