OCaml Planet
http://planet.ocamlcore.org
OCaml Planet - http://planet.ocamlcore.orgAndrej Bauer: Formal proofs are not just deduction steps
http://math.andrej.com/2016/08/30/formal-proofs-are-not-just-deduction-steps/
<p>I have participated in a couple of <a href="http://math.andrej.com/2016/08/09/what-is-a-formal-proof/">lengthy</a> <a href="https://golem.ph.utexas.edu/category/2016/08/what_is_a_formal_proof.html">discussions</a> about formal proofs. I realized that an old misconception is creeping in. Let me expose it.</p>
<p><span id="more-1933"></span></p>
<p>In traditional mathematical logic (by which I mean first-order logic, as established by Hilbert, Ackermann, Skolem, Gödel and others) the concepts of <em>logical formula</em> and <em>formal </em><em>proof</em> are the central notions. This is so because the main goal of traditional logic is the meta-mathematical study of <em>provability,</em> i.e., what can be proved in principle. Other concerns, such as what can be computed in principle, are relegated to other disciplines, such as computability theory.</p>
<p>It is too easy to forget that mathematical logic is only an idealization of what mathematicians actually do. Indeed, a bizarre reversal has occurred in which mathematicians have adopted the practice of dressing up their activity as a series of theorems with proofs, even when a different kind of presentation is called for. Definitions are allowed but seen as just convenient abbreviations, and logicians enforce this view with the <a href="https://en.wikipedia.org/wiki/Conservativity_theorem">Conservativity theorem</a>. Some even feel embarrassed about placing too much motivation and explanatory text in between the theorems, and others are annoyed by a speaker who spends a moment on motivation instead of plunging right into a series of unexplained technical moves.</p>
<p>To show what I am talking about let us consider a typical situation when the theorem-proof form is inappropriate. Often we see a statement and a proof of the form</p>
<blockquote><p><strong>Theorem:</strong> There exists a gadget $x$ such that $\phi(x)$.</p>
<p>Proof. We construct $x$ as follows. (An explicit construction $C$ is given). QED</p></blockquote>
<p>but then the rest of the the text clearly refers to the particular construction $C$ from the proof. At a formal level this is wrong because the theorem states $\exists x . \phi(x)$ and it therefore <em>abstracts away</em> the construction in the proof (this is <em>not</em> about excluded middle at all, in case you are wondering). Whatever is done inside the proof is inaccessible because <a href="https://www.cs.cmu.edu/~fp/courses/15317-f08/lectures/08-irrelevance.pdf">proofs are irrelevant</a>.</p>
<p>Lately Vladimir Voevodsky has been advocating a different style of writing in which we state <em>Problems</em> which are then solved by giving <em>constructions</em> (see for instance <a href="http://arxiv.org/pdf/1601.02158v1.pdf">page 3 here</a>)<em>.</em> This is a strict generalization of traditional logic because a theorem with a proof can be seen as the problem/construction “construct the proof of the given statement”. Vladimir Voevodsky may have been motivated by Martin-Löf’s type theory, where this is the common view, but let us also note that Euclid <a href="http://aleph0.clarku.edu/~djoyce/java/elements/bookIV/propIV10.html">did it as well</a>. Remembering Euclid and paying attention to Martin-Löf’s teaching is a very positive development, but is not the one I would like to talk about.</p>
<p>Another crucial component of mathematical activity which is obscured by traditional logic is <em>computation</em>. Traditional logic, and to some extent also type theory, hides computation behind equality. Would you like to compute $2 + 2$? Just make a series of deduction steps whose conclusion is $2 + 2 = 4$. But how do we know what we are supposed to prove if we have not calculated the result yet? Computation is <em>not</em> about proving equalities, it is a <em>process</em> which leads from inputs to outputs. Moreover, I claim that computation is a <em>fundamental</em> process which requires no expression in terms of another activity, nor does it need an independent justification.</p>
<p>Another word for computation is <em>manipulation of objects</em>. Even in traditional logic we must admit that before logic itself comes manipulation of syntax. One has to be able not only to build and recognize syntactic objects, but also manipulate them in non-trivial ways by performing substitution. Once substitution is on the table we’re only a step away from $\lambda$-calculus.</p>
<p>The over-emphasis on formal derivations is making difficult certain discussions and design decisions about computer-verified mathematics. Some insist that formal derivations must be accessible, either explicitly as objects stored in memory or implicitly through applications of structural recursion, for independent proof-checking or proof transformations. I think this is fine as far as derivations and constructions go, but let us not forget computation. It is a design error to encode computations as chains of equations glued together by applications of transitivity. An independent verification of a computation involves independently re-running the computation – not verifying someone else’s trace of it encoded as a derivation. A transformation of a computation is not a transformation of a chain of equations – it is something else, but what? I am not sure.</p>
<p>Once computation is recognized as essential, irreducible and fundamental, we can start asking the right questions:</p>
<ol>
<li><em>What is computation in general?</em></li>
<li><em>What form of computation should be allowed in proof checkers?</em></li>
<li><em>How do we specify computation in proof objects so that it can be independently verified by proof checkers?</em></li>
</ol>
<p>We have a pretty good idea about the answer to the first question.</p>
<p>A good answer to the second question seems difficult to accept. Several modern proof assistants encode computation in terms of normalization of terms, which shows that they have not quite freed themselves from the traditional view that computation is about proving equalities. If we really do believe that computation is basic then proof checkers should allow <em>general</em> and <em>explicit</em> computation inside the trusted core. After all, if you do not trust your own computer to compute correctly, why would you trust it to verify proofs?</p>
<p>The third question is about design. Coq has <a href="http://plv.mpi-sws.org/mtac/">Mtac</a>, HOL and Andromeda essentially <em>are</em> <a href="http://www.ocaml.org/">meta</a>–<a href="http://andromedans.github.io/andromeda/meta-language.html">level</a> programming languages, and Agda has<a href="http://www.types2016.uns.ac.rs/images/abstracts/cockx.pdf"> rewrite rules</a>. I suppose I do not have to explain my view here: there is little reason to make the user jump through hoops by having them encode computation as normalization, or application of tactics, or whatnot. Just give them a programming language!</p>
<p>Lest someone misunderstands me, let me conclude by a couple of disclaimers.</p>
<p>First, I am <em>not</em> saying that anything was wrong with the 20th century logic. It was amazing, it was a revolution, a pinnacle of human achievement. It’s just that the current century (and possible all the subsequent ones) belongs to computers. The 20th century logicians thought about what <em>can be formally proved in principle</em>, while we need to think about <em>how to formally prove in practice</em>.</p>
<p>Second, I am <em>not</em> advocating untrusted or insecure proof checkers. I am advocating <em>flexible</em> trusted proof checkers that allow users a <em>direct expression</em> of their mathematical activity, which is not possible as long as we stick to the traditional notion of formal derivation.</p>
<p><strong>Supplemental:</strong> I think I should explain a bit more precisely how I imagine basic computations would be performed in a trusted kernel. A traditional kernel checks that the given certificate is valid evidence of derivability of some judgment. (Note: I did not say that kernels check formal derivations because they do not do that in practice. Not a single one I know.) For instance, in Martin-Löf type theory a typing judgment $\Gamma \vdash e : A$ contains enough information to decide whether it is derivable, so it can be used as a certificate for its own derivability. Now, sometimes it makes sense to compute parts of the judgment on the fly (typically $e$) instead of giving it explicitly, for various reasons (efficiency, modularity, automation). In such cases it should be possible to provide a program $p$ which computes those parts, and the kernel should know how to run $p$. (It is irrelevant whether $p$ is total, but that is a separate discussion.) There is of course the question of how we can trust computations. There are in fact several such questions:</p>
<ol>
<li><em>Can we trust the kernel to faithfully execute programs? </em>For instance, if the kernel uses the CPU to compute sums of 64-bit integers, can that be trusted? And what if the language interpreter has a bug? This is the same sort of trust as general trust in the kernel, so it is not really new: in order to know that the kernel works correctly we need to certify all components that it depends on (the CPU, the operating system, the compiler used to compile the kernel, the source code of the kernel, etc.)</li>
<li><em>Can the programs executed by the kernel perform illegal instructions that corrupt the it or trick it into doing something bad?</em> This is a standard question about programming languages that is addressed by <a href="https://www.cs.cmu.edu/~fp/courses/15312-f04/handouts/06-safety.pdf">safety theorems</a>.</li>
<li><em>Can we trust that the given program $p$ actually computes the intended object?</em> In some situations this question is irrelevant because the evidence will be checked later on anyway. An example of this would be a program which computes (parts of) a witness $(a,b)$ for a statement $\sum_{x : A} B(x)$. We do not care where $(a,b)$ came from because the kernel is going to use them as certificates of $\sum_{x : A} B(x)$ and discover potential problems anyhow. In other situations we are very much interested in knowing that the program does the right thing, but this is a standard situation as well: if you need to know that your program works correctly, state and prove the correctness criterion.</li>
</ol>
<p>So I think there’s nothing new or fishy about trust and correctness in what I am proposing. The important thing is that we let the kernel run arbitrary programs that the user can express directly the way programs are normally written in an general-purpose programming language. Insisting that computation take on a particular form (a chain of equations tied together by transitivity, prolog-like proof search, a confluent and terminating normalization procedure) is ultimately limiting.</p>2016-08-30T15:08:36+00:00Andrej BauerCaml Weekly News: OCaml Weekly News, 30 Aug 2016
http://alan.petitepomme.net/cwn/2016.08.30.html
<ol><li><a href="http://alan.petitepomme.net/cwn/2016.08.30.html#1">OCaml 4.04.0+beta1</a></li> <li><a href="http://alan.petitepomme.net/cwn/2016.08.30.html#2">Asetmap 0.8.0</a></li> <li><a href="http://alan.petitepomme.net/cwn/2016.08.30.html#3">CSML: bindings between OCaml and .NET (now fully open-source!)</a></li> <li><a href="http://alan.petitepomme.net/cwn/2016.08.30.html#4">Emacs + OCaml = Ecaml</a></li> <li><a href="http://alan.petitepomme.net/cwn/2016.08.30.html#5">Other OCaml News</a></li></ol>2016-08-30T12:00:00+00:00Github OCaml jobs: Full Time: Software Developer (Functional Programming) at Jane Street in New York, NY; London, UK; Hong Kong
http://jobs.github.com/positions/0a9333c4-71da-11e0-9ac7-692793c00b45
<p>Software Developer </p>
<p>Jane Street is a proprietary quantitative trading firm, focusing primarily on trading equities and equity derivatives. We use innovative technology, a scientific approach, and a deep understanding of markets to stay successful in our highly competitive field. We operate around the clock and around the globe, employing over 400 people in offices in New York, London and Hong Kong.</p>
<p>The markets in which we trade change rapidly, but our intellectual approach changes faster still. Every day, we have new problems to solve and new theories to test. Our entrepreneurial culture is driven by our talented team of traders and programmers. At Jane Street, we don't come to work wanting to leave. We come to work excited to test new theories, have thought-provoking discussions, and maybe sneak in a game of ping-pong or two. Keeping our culture casual and our employees happy is of paramount importance to us.</p>
<p>We are looking to hire great software developers with an interest in functional programming. OCaml, a statically typed functional programming language with similarities to Haskell, Scheme, Erlang, F# and SML, is our language of choice. We've got the largest team of OCaml developers in any industrial setting, and probably the world's largest OCaml codebase. We use OCaml for running our entire business, supporting everything from research to systems administration to trading systems. If you're interested in seeing how functional programming plays out in the real world, there's no better place.</p>
<p>The atmosphere is informal and intellectual. There is a focus on education, and people learn about software and trading, both through formal classes and on the job. The work is challenging, and you get to see the practical impact of your efforts in quick and dramatic terms. Jane Street is also small enough that people have the freedom to get involved in many different areas of the business. Compensation is highly competitive, and there's a lot of room for growth.</p>
<p>You can learn more about Jane Street and our technology from our main site, janestreet.com. You can also look at a a talk given at CMU about why Jane Street uses functional programming (<a href="http://ocaml.janestreet.com/?q=node/61">http://ocaml.janestreet.com/?q=node/61</a>), and our programming blog (<a href="http://ocaml.janestreet.com">http://ocaml.janestreet.com</a>).</p>
<p>We also have extensive benefits, including:</p>
<ul>
<li>90% book reimbursement for work-related books</li>
<li>90% tuition reimbursement for continuing education</li>
<li>Excellent, zero-premium medical and dental insurance</li>
<li>Free lunch delivered daily from a selection of restaurants</li>
<li>Catered breakfasts and fresh brewed Peet's coffee</li>
<li>An on-site, private gym in New York with towel service</li>
<li>Kitchens fully stocked with a variety of snack choices</li>
<li>Full company 401(k) match up to 6% of salary, vests immediately</li>
<li>Three weeks of paid vacation for new hires in the US</li>
<li>16 weeks fully paid maternity/paternity leave for primary caregivers, plus additional unpaid leave</li>
</ul>
<p>More information at <a href="http://janestreet.com/culture/benefits/">http://janestreet.com/culture/benefits/</a></p>2016-08-29T13:04:25+00:00Shayne Fletcher: Perfectly balanced binary search trees
http://blog.shaynefletcher.org/2016/08/perfectly-balanced-binary-search-trees.html
<p>The type of "association tables" (binary search trees). </p><pre class="prettyprint ml"><br />type (α, β) t =<br />| Empty<br />| Node of (α , β) t * α * β * (α, β) t * int<br /></pre>There are two cases : a tree that is empty or, a node consisting of a left sub-tree, a key, the value associated with that key, a right sub-tree and, an integer representing the "height" of the tree (the number of nodes to traverse before reaching the most distant leaf). <p></p><p>The binary search tree invariant will be made to apply in that for any non empty tree $n$, every node in the left sub-tree is ordered less than $n$ and every node in the right sub-tree of $n$ is ordered greater than $n$ (in this program, ordering of keys is performed using the <code>Pervasives.compare</code> function). </p><p>This function, <code>height</code>, given a tree, extracts its height. </p><pre class="prettyprint ml"><br />let height : (α, β) t -> int = function<br /> | Empty -> 0<br /> | Node (_, _, _, _, h) -> h<br /></pre><p></p><p>The value <code>empty</code>, is a constant, the empty tree. </p><pre class="prettyprint ml"><br />let empty : (α, β) t = Empty<br /></pre><p></p><p><code>create l x d r</code> creates a new non-empty tree with left sub-tree <code>l</code>, right sub-tree <code>r</code> and the binding of key <code>x</code> to the data <code>d</code>. The height of the tree created is computed from the heights of the two sub-trees. </p><pre class="prettyprint ml"><br />let create (l : (α, β) t) (x : α) (d : β) (r : (α, β) t) : (α, β) t =<br /> let hl = height l and hr = height r in<br /> Node (l, x, d, r, (max hl hr) + 1)<br /></pre><p></p><p>This next function, <code>balance</code> is where all the action is at. Like the preceding function <code>create</code>, it is a factory function for interior nodes and so takes the same argument list as <code>create</code>. It has an additional duty though in that the tree that it produces takes balancing into consideration. </p><pre class="prettyprint ml"><br />let balance (l : (α, β) t) (x : α) (d : β) (r : (α, β) t) : (α, β) t =<br /> let hl = height l and hr = height r in<br /> if hl > hr + 1 then<br /> match l with<br /></pre>In this branch of the program, it has determined that production of a node with the given left and right sub-trees (denoted $l$ and $r$ respectively) would be unbalanced because $h(l) > hr(1) + 1$ (where $h$ denotes the height function). <p></p><p>There are two possible reasons to account for this. They are considered in turn. </p><pre class="prettyprint ml"><br /> (*Case 1*)<br /> | Node (ll, lv, ld, lr, _) when height ll >= height lr -><br /> create ll lv ld (create lr x d r)<br /></pre>So here, we find that $h(l) > h(r) + 1$, because of the height of the left sub-tree of $l$. <pre class="prettyprint ml"><br /> (*Case 2*)<br /> | Node (ll, lv, ld, Node (lrl, lrv, lrd, lrr, _), _) -><br /> create (create ll lv ld lrl) lrv lrd (create lrr x d r)<br /></pre>In this case, $h(l) > h(r) + 1$ because of the height of the right sub-tree of $l$. <pre class="prettyprint ml"><br /> | _ -> assert false<br /></pre>We <code>assert false</code> for all other patterns as we aim to admit by construction no further possibilities. <p></p><p>We now consider the case $h(r) > h(l) + 1$, that is the right sub-tree being "too long". </p><pre class="prettyprint ml"><br /> else if hr > hl + 1 then<br /> match r with<br /></pre><p></p><p>There are two possible reasons. </p><pre class="prettyprint ml"><br /> (*Case 3*)<br /> | Node (rl, rv, rd, rr, _) when height rr >= height rl -><br /> create (create l x d rl) rv rd rr<br /></pre>Here $h(r) > h(l) + 1$ because of the right sub-tree of $r$. <pre class="prettyprint ml"><br /> (*Case 4*)<br /> | Node (Node (rll, rlv, rld, rlr, _), rv, rd, rr, _) -><br /> create (create l x d rll) rlv rld (create rlr rv rd rr)<br /></pre>Lastly, $h(r) > h(l) + 1$ because of the left sub-tree of $r$. <pre class="prettyprint ml"><br /> | _ -> assert false<br /></pre>Again, all other patterns are (if we write this program correctly according to our intentions,) impossible and so, <code>assert false</code> as there are no further possibilities. <p></p><p>In the last case, neither $h(l) > h(r) + 1$ or $h(r) > h(l) + 1$ so no rotation is required. </p><pre class="prettyprint ml"><br /> else<br /> create l x d r<br /></pre><p></p><p><code>add x data t</code> computes a new tree from <code>t</code> containing a binding of <code>x</code> to <code>data</code>. It resembles standard insertion into a binary search tree except that it propagates rotations through the tree to maintain balance after the insertion. </p><pre class="prettyprint ml"><br />let rec add (x : α) (data : β) : (α, β) t -> (α, β) t = function<br /> | Empty -> Node (Empty, x, data, Empty, 1)<br /> | Node (l, v, d, r, h) -><br /> let c = compare x v in<br /> if c = 0 then<br /> Node (l, x, data, r, h)<br /> else if c < 0 then<br /> balance (add x data l) v d r<br /> else <br /> balance l v d (add x data r)<br /></pre><p></p><p>To implement removal of nodes from a tree, we'll find ourselves needing a function to "merge" two binary searchtrees $l$ and $r$ say where we can assume that all the elements of $l$ are ordered before the elements of $r$. </p><pre class="prettyprint ml"><br />let rec merge (l : (α, β) t) (r : (α, β) t) : (α, β) t = <br /> match (l, r) with<br /> | Empty, t -> t<br /> | t, Empty -> t<br /> | Node (l1, v1, d1, r1, h1), Node (l2, v2, d2, r2, h2) -><br /> balance l1 v1 d1 (balance (merge r1 l2) v2 d2 r2)<br /></pre>Again, rotations are propagated through the tree to ensure the result of the merge results in a perfectly balanced tree. <p></p><p>With <code>merge</code> available, implementing <code>remove</code> becomes tractable. </p><pre class="prettyprint ml"><br />let remove (id : α) (t : (α, β) t) : (α, β) t = <br /> let rec remove_rec = function<br /> | Empty -> Empty<br /> | Node (l, k, d, r, _) -><br /> let c = compare id k in<br /> if c = 0 then merge l r else<br /> if c < 0 then balance (remove_rec l) k d r<br /> else balance l k d (remove_rec r) in<br /> remove_rec t<br /></pre><p></p><p>The remaining algorithms below are "stock" algorithms for binary search trees with no particular consideration of balancing necessary and so we won't dwell on them here. </p><pre class="prettyprint ml"><br />let rec find (x : α) : (α, β) t -> β = function<br /> | Empty -> raise Not_found<br /> | Node (l, v, d, r, _) -><br /> let c = compare x v in<br /> if c = 0 then d<br /> else find x (if c < 0 then l else r)<br /><br />let rec mem (x : α) : (α, β) t -> bool = function<br /> | Empty -> false<br /> | Node (l, v, d, r, _) -><br /> let c = compare x v in<br /> c = 0 || mem x (if c < 0 then l else r)<br /> <br />let rec iter (f : α -> β -> unit) : (α, β) t -> unit = function<br /> | Empty -> ()<br /> | Node (l, v, d, r, _) -><br /> iter f l; f v d; iter f r<br /><br />let rec map (f : α -> β -> γ) : (α, β) t -> (α, γ) t = function<br /> | Empty -> Empty<br /> | Node (l, k, d, r, h) -> <br /> Node (map f l, k, f k d, map f r, h)<br /><br />let rec fold (f : α -> β -> γ -> γ) (m : (α, β) t) (acc : γ) : γ =<br /> match m with<br /> | Empty -> acc<br /> | Node (l, k, d, r, _) -> fold f r (f k d (fold f l acc))<br /><br />open Format<br /><br />let print <br /> (print_key : formatter -> α -> unit)<br /> (print_data : formatter -> β -> unit)<br /> (ppf : formatter)<br /> (tbl : (α, β) t) : unit =<br /> let print_tbl ppf tbl =<br /> iter (fun k d -> <br /> fprintf ppf "@[<2>%a ->@ %a;@]@ " print_key k print_data d)<br /> tbl in<br /> fprintf ppf "@[<hv>[[%a]]@]" print_tbl tbl<br /></pre><p>The source code for this post can be found in the file 'ocaml/misc/tbl.ml' in the OCaml source distribution. More information on balanced binary search trees including similar but different implementation techniques and complexity analyses can be found in <a href="https://www.cs.cornell.edu/courses/cs3110/2009sp/lectures/lec11.html">this Cornell lecture</a> and <a href="http://www.cs.cornell.edu/courses/cs3110/2008fa/lectures/lec20.html">this one</a>. </p>2016-08-27T13:18:15+00:00Shayne FletcherFunctional Jobs: Full-Stack Developer (Haskell/PureScript) at CollegeVine (Full-time)
https://functionaljobs.com/jobs/8951-full-stack-developer-haskell-purescript-at-collegevine
<h3>Overview</h3>
<p>CollegeVine is looking for a product-focused full-stack developer to help engineer the future of mentorship and higher education attainment.</p>
<p>There aren't many industries left that haven't been significantly disrupted by technology in some way, but you're reading about one right here! You will find many opportunities to apply high-leverage computer science (think machine learning, probabilistic reasoning, etc.) as well as plenty of opportunities for the more human side of the problem. As it stands, the current admissions process is a huge source of stress and confusion for students and parents alike. If we execute correctly, your work will impact the entire next generation of college graduates-to-be.</p>
<p>You will join a fast-moving company whose culture centers around authenticity, excellence, and balance. You'll find that everyone likes to keep things simple and transparent. We prefer to be goal-oriented and hands-off as long as you are a self-starter.</p>
<p>Our modern perspective on developer potential means we celebrate and optimize for real output. And that's probably the reason why we're a polyglot functional programming shop, with emphasis on Haskell and functional paradigms. Our infrastructure and non-mission-critical tooling tends to be in whatever works best for the task at hand: sometimes that's Haskell with advanced GHC extensions a-blazin', other times it's minimalist Ruby or bash—basically, it's a team decision based on whatever sits at the intersection of appropriateness, developer joy, quality, and velocity.</p>
<p>As an early-stage company headquartered in Cambridge, MA, we have a strong preference for key members of our team to be located in the Boston metro area; however, given that our company has its roots in remote work (and that it's 2016), we are open to remote arrangements after one year of continuous employment and/or executive approval.</p>
<h3>Requirements</h3>
<p>You know you are right for this position if:</p>
<ul>
<li>You have at least five years of professional software engineering experience, and at least two years of preference for a high-level programming language that's used in industry, like Haskell, Clojure, OCaml, Erlang, F#, or similar.</li>
<li>You have some front-end experience with JS or a functional language that compiles to JS, like PureScript, Elm, Clojurescript, or similar. We use PureScript, React, and ES6 on the front-end. It's pretty awesome.</li>
<li>You are a self-starter and internally motivated, with a strong desire to be part of a successful team that shares your high standards.</li>
<li>You have great written communication skills and are comfortable with making big decisions over digital presence (e.g. video chat).</li>
<li>You have polyglot experience along several axes (dynamic/static, imperative/functional, lazy/strict, weird/not-weird).</li>
<li>You are comfortable with modern infrastructure essentials like AWS, Heroku, Docker, CI, etc. You have basic but passable sysadmin skills.</li>
<li>You are fluent with git.</li>
<li>You instrument before you optimize. You test before you ship. You listen before you conclude. You measure before you cut. Twice.</li>
</ul>
<h3>Benefits</h3>
<p>We offer a competitive salary and a full suite of benefits, some of them unconventional, but awesome for the right person:</p>
<ul>
<li>Medical, dental, vision insurance and 401k come standard.</li>
<li>Flexible hours with a 4-hour core - plan the rest of your workday as you wish, just give us the majority of your most productive hours. Productivity ideas: avoid traffic, never wait in line at the grocery store, wake up without an alarm clock.</li>
<li>Goal-based environment (as opposed to grind-based or decree-based environment; work smarter, not harder; intelligently, not mindlessly). We collaborate on setting goals, but you set your own process for accomplishing those goals. You will be entrusted with a lot of responsibility and you might even experience fulfillment and self-actualization as a result.</li>
<li>Daily physical activity/mindfulness break + stipend: invest a non-core hour to make yourself more awesome by using it for yoga, tap-dance lessons, a new bike, massage, a surfboard - use your imagination! Just don’t sit at a computer all day! Come back to work more relaxed and productive and share your joy with the rest of the team. Note: You must present and share proof of your newly enriched life with the team in order to receive the stipend.</li>
<li>Equipment/setup budget so you can tool up the way you want. A brand new 15" MBP is standard issue if you have no strong opinions.</li>
</ul>
<p>Remember: We’re a startup. You’re an early employee. We face challenges. We have to ship. Your ideas matter. You <em>will</em> make a difference.</p>
<p>Get information on <a href="https://functionaljobs.com/jobs/8951-full-stack-developer-haskell-purescript-at-collegevine">how to apply</a> for this position.</p>2016-08-26T23:22:19+00:00Caml Weekly News: OCaml Weekly News, 23 Aug 2016
http://alan.petitepomme.net/cwn/2016.08.23.html
<ol><li><a href="http://alan.petitepomme.net/cwn/2016.08.23.html#1">OCaml-MariaDB</a></li> <li><a href="http://alan.petitepomme.net/cwn/2016.08.23.html#2">CPS converting existential data type</a></li> <li><a href="http://alan.petitepomme.net/cwn/2016.08.23.html#3">OASIS v0.4.7</a></li> <li><a href="http://alan.petitepomme.net/cwn/2016.08.23.html#4">Other OCaml News</a></li></ol>2016-08-23T12:00:00+00:00Sylvain Le Gall: Release of OASIS 0.4.7
http://le-gall.net/sylvain+violaine/blog/index.php?post/2016/08/22/Release-of-OASIS-0.4.6
<p>I am happy to announce the release of OASIS v0.4.7.</p>
<p><img src="http://le-gall.net/sylvain+violaine/blog/images/logo.png" alt="Logo OASIS small" style="display: block; margin: 0 auto;" title="Logo OASIS small, juin 2012" /></p>
<p>OASIS is a tool to help OCaml developers to integrate configure, build and install systems in their projects. It should help to create standard entry points in the source code build system, allowing external tools to analyse projects easily.</p>
<p>This tool is freely inspired by Cabal which is the same kind of tool for Haskell.</p>
<p>You can find the new release <a href="https://forge.ocamlcore.org/frs/?group_id=54&release_id=1223">here</a> and the changelog <a href="https://forge.ocamlcore.org/frs/shownotes.php?release_id=1223">here</a>. More information about OASIS in general on the <a href="http://oasis.forge.ocamlcore.org">OASIS website</a>.</p>
<p>Pull request for inclusion in OPAM is <a href="https://github.com/ocaml/opam-repository/pull/7281">pending</a>.</p>
<p>Here is a quick summary of the important changes:</p>
<ul>
<li>Drop support for OASISFormat 0.2 and 0.1.</li>
<li>New plugin "omake" to support build, doc and install actions.</li>
<li>Improve automatic tests (Travis CI and AppVeyor)</li>
<li>Trim down the dependencies (removed ocaml-gettext, camlp4, ocaml-data-notation)</li>
</ul>
<p>Features:</p>
<ul>
<li>findlib_directory (beta): to install libraries in sub-directories of findlib.</li>
<li>findlib_extra_files (beta): to install extra files with ocamlfind.</li>
<li>source_patterns (alpha): to provide module to source file mapping.</li>
</ul>
<p>This version contains a lot of changes and is the achievement of a huge amount of work. The addition of OMake as a plugin is a huge progress. The overall work has been targeted at making OASIS more library like. This is still a work in progress but we made some clear improvement by getting rid of various side effect (like the requirement of using "chdir" to handle the "-C", which leads to propage ~ctxt everywhere and design OASISFileSystem).</p>
<p>I would like to thanks again the contributor for this release: Spiros Eliopoulos, Paul Snively, Jeremie Dimino, Christopher Zimmermann, Christophe Troestler, Max Mouratov, Jacques-Pascal Deplaix, Geoff Shannon, Simon Cruanes, Vladimir Brankov, Gabriel Radanne, Evgenii Lepikhin, Petter Urkedal, Gerd Stolpmann and Anton Bachin.</p>2016-08-22T23:51:18+00:00gildorOCamlCore Forge News: OASIS v0.4.7 release
https://forge.ocamlcore.org/forum/forum.php?forum_id=938
Read the full blog post here:
http://le-gall.net/sylvain+violaine/blog/index.php?post/2016/08/22/Release-of-OASIS-0.4.62016-08-22T23:37:29+00:00Sylvain Le GallFunctional Jobs: Software Engineer (Haskell/Clojure) at Capital Match (Full-time)
https://functionaljobs.com/jobs/8949-software-engineer-haskell-clojure-at-capital-match
<p><strong>Overview</strong></p>
<p><a href="https://www.capital-match.com">Capital Match</a> is a leading marketplace lending and invoice financing platform in Singapore. Our in-house platform, mostly developed in Haskell, has in the last year seen more than USD 10 million business loans processed with a strong monthly growth (current rate of USD 1.5-2.5 million monthly). We are also eyeing expansion into new geographies and product categories. Very exciting times!</p>
<p>We have just secured another funding round to build a world-class technology as the key business differentiator. The key components include credit risk engine, seamless banking integration and end-to-end product automation from loan origination to debt collection.</p>
<p><strong>Responsibilities</strong></p>
<p>We are looking to hire a software engineer with a minimum of 2-3 years coding experience. The current tech team includes a product manager and 3 software engineers. We are currently also in the process of hiring CTO.</p>
<p>The candidate should have been involved in a development of multiple web-based products from scratch. He should be interested in all aspects of the creation, growth and operations of a secure web-based platform: front-to-back features development, distributed deployment and automation in the cloud, build and test automation etc.</p>
<p>Background in fintech and especially lending / invoice financing space would be a great advantage.</p>
<p><strong>Requirements</strong></p>
<p>Our platform is primarily developed in Haskell with an Om/ClojureScript frontend. We are expecting our candidate to have experience working with a functional programming language e.g. Haskell/Scala/OCaml/F#/Clojure/Lisp/Erlang.</p>
<p>Deployment and production is managed with Docker containers using standard cloud infrastructure so familiarity with Linux systems, command-line environment and cloud-based deployment is mandatory. Minimum exposure to and understanding of XP practices (TDD, CI, Emergent Design, Refactoring, Peer review and programming, Continuous improvement) is expected. </p>
<p>We are looking for candidates that are living in or are willing to relocate to Singapore.</p>
<p><strong>Offer</strong></p>
<p>We offer a combination of salary and equity depending on experience and skills of the candidate.</p>
<p>Most expats who relocate to Singapore do not have to pay their home country taxes and the local tax rate in Singapore is more or less 5% (effective on the proposed salary range).</p>
<p>Visa sponsorship will be provided. </p>
<p>Singapore is a great place to live, a vibrant city rich with diverse cultures, a very strong financial sector and a central location in Southeast Asia.</p>
<p>Get information on <a href="https://functionaljobs.com/jobs/8949-software-engineer-haskell-clojure-at-capital-match">how to apply</a> for this position.</p>2016-08-12T11:05:58+00:00OCamlCore Forge News: planet.ocamlcore.org will soon be deprecated
https://forge.ocamlcore.org/forum/forum.php?forum_id=937
For the past 8 years the OCaml Planet was running on http://planet.ocamlcore.org. A few years ago, another planet has forked and it is now better maintained than the old one. This new planet is located here http://ocaml.org/community/planet/ and the old planet will soon redirect to this new location.
If you use a feed reader, I recommend to point it directly to the new planet:
http://ocaml.org/feed.xml2016-08-12T07:26:21+00:00Sylvain Le Gall