Mercurial > repos > tabletprog
view modules/vec.tp @ 336:2a0463c46913
Add hash method to float types and make hash always return a 32-bit int
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 03 Apr 2015 23:07:06 -0700 |
parents | 860075fdc2d3 |
children |
line wrap: on
line source
#{ x:y <- :_x :_y { #{ x <- _x y <- _y } } x:y:z <- :_x :_y :_z { #{ x <- _x y <- _y z <- _z } } x:y:z:w <- :_x :_y :_z :_w { #{ x <- _x y <- _y z <- _z w <- _w } } }