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.0.0 lib/rouge/demos/erlang
rouge-2.2.1 lib/rouge/demos/erlang
rouge-2.2.0 lib/rouge/demos/erlang
rougegal-2.1.2 lib/rouge/demos/erlang
tdiary-5.0.5 vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/erlang
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/erlang
tdiary-5.0.5 vendor/bundle/gems/rouge-2.1.1/lib/rouge/demos/erlang
rouge-2.1.1 lib/rouge/demos/erlang
rouge-2.1.0 lib/rouge/demos/erlang
tdiary-5.0.4 vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/erlang
rouge-2.0.7 lib/rouge/demos/erlang
rouge-2.0.6 lib/rouge/demos/erlang
rouge-2.0.5 lib/rouge/demos/erlang
rouge-2.0.3 lib/rouge/demos/erlang
rouge-2.0.2 lib/rouge/demos/erlang
rouge-2.0.1 lib/rouge/demos/erlang
rouge-2.0.0 lib/rouge/demos/erlang
rouge-1.11.1 lib/rouge/demos/erlang
rouge-1.11.0 lib/rouge/demos/erlang
rouge-1.10.1 lib/rouge/demos/erlang