Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Polymorphic Record Types in a Lifted Embedding

Scala Days Conferences via YouTube

Overview

Explore the intricacies of Slick, Lightbend's relational database library for Scala, in this 52-minute conference talk from Scala Days New York 2016. Dive into the "lifted embedding" at the core of Slick's Scala DSL, which allows developers to work with database tables using syntax similar to Scala collections. Discover how the "Shape" abstraction enables the use of standard Scala tuples in the DSL with arbitrary nesting, and learn about its application to Slick's HList implementation. Gain insights into functional dependencies, a key language feature added in Scala 2.8 for implementing the "CanBuildFrom" abstraction. The talk covers topics such as AST, lifted representation, primitive values, extension methods, tables, columns, and implicit examples, providing a comprehensive overview of Slick's polymorphic record types in a lifted embedding.

Syllabus

Introduction
What is Slick
AST
Lifted embedding
Lifted representation
Type R
Primitive values
Extension methods
Tables
Columns
Examples
Implicit example
Can build from
Implicit shapes
Implementation
Query
H Lists

Taught by

Scala Days Conferences

Reviews

Start your review of Polymorphic Record Types in a Lifted Embedding

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.