Permalink
Browse files

add github link to OCaml section

  • Loading branch information...
1 parent bfae408 commit 02814d31ca9598b45c5bfb457808e2b7d00fb808 @mzp mzp committed Feb 24, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 index.html
View
@@ -343,14 +343,15 @@ <h3 id="crosslang">Implementation projects</h3>
<div id="qs-ocaml" class="qs">
<h4>OCaml</h4>
+ <ul class="hlist">
+ <li><a href="https://github.com/msgpack/msgpack-ocaml">GitHub</a></li>
+ </ul>
<pre class="prettyprint">$ opam install msgpack</pre>
<pre class="prettyprint">
type t = { ans : int } with conv(msgpack)
let bytes =
- Msgpack.Serialize.serialize_string
- (msgpack_of_t { ans = 42 })
-
+ Msgpack.Serialize.serialize_string (msgpack_of_t { ans = 42 })
let { ans = n } =
t_of_msgpack (Msgpack.Serialize.deserialize_string bytes)</pre>
<a href="https://github.com/msgpack/msgpack-ocaml/tree/master/proof">This library is mathematically proven!</a>

0 comments on commit 02814d3

Please sign in to comment.