This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>stathissideris</groupId> | |
<artifactId>ditaa</artifactId> | |
<packaging>jar</packaging> | |
<version>0.11.0</version> | |
<name>ditaa</name> | |
<description>command-line utility that can convert diagrams drawn using ascii art into proper bitmap graphics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% 'ditaa' package | |
% | |
% (c) Hiroshi Ukai | |
% | |
%% This program can be redistributed and/or modified under the terms | |
%% of the LaTeX Project Public License Distributed from CTAN archives | |
%% in directory macros/latex/base/lppl.txt. | |
% | |
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{ditaa} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def! tak | |
(fn* [x y z] | |
(if (<= x y) | |
z | |
(tak (tak (- x 1) y z) | |
(tak (- y 1) z x) | |
(tak (- z 1) x y))))) | |
(println (tak 24 16 8)) |