Generic Repository protocol + memory implementation
Challenge on lesson: Checkpoint: Typing
CHALLENGE
Difficulty: advanced+25 XP
Implement Repository(Protocol[T]), MemoryRepository(Generic[T]) (key_fn constructor; first-add-wins on duplicate keys), and seed(repo, users).
Press Submit to check your solution.
Back to lesson: Checkpoint: Typing