Welcome to the ultimate test for our new AI buddy! These challenges are designed to push Gemini CLI to its limits while having fun with collaborative AI development.
Test Gemini's ability to handle large context windows and file injection.
struct ObjectToConstruct { | |
let propertyOne: String? | |
let propertyTwo: Array<String>? | |
let propertyThree: Bool? | |
} | |
class ConstructBuilder { | |
//MARK: Abstract factory pattern | |
protocol AbstractProductA{ | |
func display() -> String | |
} | |
protocol AbstractProductB{ | |
func display() -> String |
//MARK: From https://mikeash.com/pyblog/friday-qa-2015-11-20-covariance-and-contravariance.html | |
import UIKit | |
//MARK: TYPE VARIANCE LESSON | |
//First we explore supertypes and subtypes | |
class Thing {} | |
class Vehicle: Thing {} |
import UIKit | |
class Thing { | |
var name: String | |
var quantity: Int | |
init(name: String, quantity: Int){ | |
self.name = name |
//Exercises from https://www.pointfree.co/episodes/ep9-algebraic-data-types-exponents | |
import UIKit | |
enum Either<A,B> { | |
case left(A) | |
case right(B) | |
} | |
struct Pair<A,B> { |
Welcome to the ultimate test for our new AI buddy! These challenges are designed to push Gemini CLI to its limits while having fun with collaborative AI development.
Test Gemini's ability to handle large context windows and file injection.