Skip to content

Instantly share code, notes, and snippets.

@jmora
jmora / kata_tenis.html
Created October 6, 2012 23:14
Kata tenis.
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
table {border-collapse: collapse; border: 1px solid #000;}
</style>
<script>
var counter = {
texts: ['0', '15', '30', '40'],
specials: ['40, pierde', '40', 'deuce', 'ventaja', 'gana'],

Array abstraction in Clojure

Few days ago Mike Anderson wrote [a proposal][mike] for a generic matrix API in Clojure which could compete with NumPy. I wanted to write a similar post for months, but was reluctant to start. This problem is very dear to me. Basically, it is a matter if I can use Clojure for most of my work, or it remains a toy language for me. Thanks to Mike for bringing the question up. Though, I have a different vision of how we should approach arrays and matrices in Clojure.