From d15400e6ab75eb70eeba92622872f0fc82afe701 Mon Sep 17 00:00:00 2001 From: Ben Rimmington Date: Tue, 14 Jan 2020 02:39:59 +0000 Subject: [PATCH] [BigInt] Add the Words typealias --- Sources/BigInt/BigInt.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sources/BigInt/BigInt.swift b/Sources/BigInt/BigInt.swift index c3af628..507f679 100644 --- a/Sources/BigInt/BigInt.swift +++ b/Sources/BigInt/BigInt.swift @@ -10,7 +10,10 @@ //===----------------------------------------------------------------------===// public struct BigInt: SignedInteger { - public private(set) var words: [UInt] + + public typealias Words = [UInt] + + public private(set) var words: Words @usableFromInline internal init(words: Words) {