Skip to content

Instantly share code, notes, and snippets.

@BitPuffin
Created November 19, 2013 19:36
Show Gist options
  • Save BitPuffin/7551145 to your computer and use it in GitHub Desktop.
Save BitPuffin/7551145 to your computer and use it in GitHub Desktop.
>>> type TVector[T, D] = array[D, T]
>>> var a: TVector[float32, range[0..3]] = [0.83f32, 3.83f32, 88.247f32, -74.28f32]
>>> echo a[0]
8.2999999999999996e-01
# just sayin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment