Logo

Programming-Idioms

History of Idiom 5 > diff from v346 to v347

Edit summary for version 347 by :
New Erlang implementation by user [elbrujohalcon]

Version 346

2015-11-18, 11:58:55

Version 347

2015-11-18, 11:59:20

Idiom #5 Create a 2D Point data structure

Declare a container type for two floating-point numbers x and y

Idiom #5 Create a 2D Point data structure

Declare a container type for two floating-point numbers x and y

Code
PointAsATuple = {X, Y}.