//  Copyright © 2015 Rob Rix. All rights reserved.

extension Module {
	public static let modules: [String:Module] = Dictionary([
		unit,
		boolean,
		list,
		natural,
		maybe,
		either,
		pair,
		prelude,
		sigma,
		vector,
		finiteSet,
	].map { ($0.name, $0) })
}

//  Copyright © 2015 Rob Rix. All rights reserved.

extension Module {
	public static let modules: [String:Module] = Dictionary([
		unit,
		boolean,
		list,
		natural,
		maybe,
		either,
		pair,
		prelude,
		sigma,
		vector,
		finiteSet,
		string,
	].map { ($0.name, $0) })
}

Add the String module to the directory.
Add the String module to the directory.
