Logo

Programming-Idioms

History of Idiom 5 > diff from v16 to v17

Edit summary for version 17 by :

Version 16

2015-09-03, 11:26:43

Version 17

2015-09-03, 13:28:00

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
[x y]
Doc URL
http://clojure.org/data_structures#Data Structures-Vectors (IPersistentVector)