Sha256: 04cbfcbcba58649b8dcfcc0760044e10b48c7b2ee64109d2dd77247b33ba2407

Contents?: true

Size: 190 Bytes

Versions: 92

Compression:

Stored size: 190 Bytes

Contents

%%% Geometry module.
-module(geometry).
-export([area/1]).

%% Compute rectangle and circle area.
area({rectangle, Width, Ht}) -> Width * Ht;
area({circle, R})            -> 3.14159 * R * R.

Version data entries

92 entries across 90 versions & 9 rubygems

Version Path
rouge-3.11.1 lib/rouge/demos/erlang
rouge-3.11.0 lib/rouge/demos/erlang
rouge-3.10.0 lib/rouge/demos/erlang
rouge-3.9.0 lib/rouge/demos/erlang
rouge-3.8.0 lib/rouge/demos/erlang
rouge-3.7.0 lib/rouge/demos/erlang
rouge-3.6.0 lib/rouge/demos/erlang
rouge-3.5.1 lib/rouge/demos/erlang
rouge-3.5.0 lib/rouge/demos/erlang
rouge-3.4.1 lib/rouge/demos/erlang
rouge-3.4.0 lib/rouge/demos/erlang
rouge-alda-3.3.0 lib/rouge/demos/erlang
rouge-3.3.0 lib/rouge/demos/erlang
rouge-3.2.1 lib/rouge/demos/erlang
rouge-3.2.0 lib/rouge/demos/erlang
rouge-lines-3.2.3 lib/rouge-lines/demos/erlang
rouge_ecl-1.0.0 lib/rouge/demos/erlang
rouge_ecl-0.0.1 lib/rouge/demos/erlang
rouge-3.1.1 lib/rouge/demos/erlang
rouge-3.1.0 lib/rouge/demos/erlang