YoVDO

Polymorphic Record Types in a Lifted Embedding

Offered By: Scala Days Conferences via YouTube

Tags

Scala Days Courses Scala Courses Domain-Specific Languages (DSL) Courses Database Management Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Related Courses

Teaching Domain Specific Languages in Scala
Scala Days Conferences via YouTube
Why Dolly Is Just the Beginning for Open LLM Models
Scala Days Conferences via YouTube
Building Billion Node Graphs for Machine Learning
Scala Days Conferences via YouTube
How Does Incremental Compilation Work with Scala 3
Scala Days Conferences via YouTube
AI Assisted Development
Scala Days Conferences via YouTube