Overview
Learn how to effectively attach interfaces to code using typeclasses in Scala, by implementing a genetic algorithm. The course covers creating types, comparators, and various implementations, with a focus on testing using ScalaCheck. The teaching method is hands-on, with examples run directly from the REPL. This course is intended for developers familiar with Scala looking to enhance their skills in typeclasses and genetic algorithms.
Syllabus
Introduction
Outline
Where can we start
Creating our own types
Creating our comparator
Martins paper
Skylar
Type classes
Examples
Proposal
Proposed Algorithm
One Idea
Test
Next Double
Marriage
Crossover
Random mutations
Final iteration
Finding the optimal solution
Modern art
Image comparison
Fitness function
Suggestions
References
Taught by
Scala Days Conferences