Skip to content

Instantly share code, notes, and snippets.

@andrevidela
Last active January 7, 2019 14:42
Show Gist options
  • Save andrevidela/568cc9804c4a26170f287ce70f91f117 to your computer and use it in GitHub Desktop.
Save andrevidela/568cc9804c4a26170f287ce70f91f117 to your computer and use it in GitHub Desktop.
extension Vector: TwoDimensions {
static func make2D(_ fst: A, _ snd: A) -> Vector<A> {
return Vector(fst: fst, snd: snd)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment