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.28.0 lib/rouge/demos/erlang
rouge-3.27.0 lib/rouge/demos/erlang
rouge-3.26.1 lib/rouge/demos/erlang
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/erlang
rouge-3.26.0 lib/rouge/demos/erlang
rouge-3.25.0 lib/rouge/demos/erlang
rouge-3.24.0 lib/rouge/demos/erlang
rouge-3.23.0 lib/rouge/demos/erlang
rouge-3.22.0 lib/rouge/demos/erlang
rouge-3.21.0 lib/rouge/demos/erlang
rouge-3.20.0 lib/rouge/demos/erlang
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/rouge-2.2.1/lib/rouge/demos/erlang
rouge-3.19.0 lib/rouge/demos/erlang
rouge-3.18.0 lib/rouge/demos/erlang
rouge-3.17.0 lib/rouge/demos/erlang
rouge-3.16.0 lib/rouge/demos/erlang
rouge-3.15.0 lib/rouge/demos/erlang
rouge-3.14.0 lib/rouge/demos/erlang
rouge-3.13.0 lib/rouge/demos/erlang
rouge-3.12.0 lib/rouge/demos/erlang