Shapeless is a powerful generic programming library for Scala, enabling compile-time abstraction and manipulation of types. It provides features such as HLists (heterogenous lists), generic derivation of type class instances, dependent types, and polymorphic functions—allowing developers to write boilerplate-free, type-safe code.

Features

  • Supports HLists and Coproducts for heterogeneous data structures
  • Generic derivation of type class instances across case classes
  • Polymorphic functions and function lifting across varying types
  • Compile-time tooling for transformations between tuples, case classes, and sealed traits
  • Powerful type-level programming without macros
  • Useful for serialization, validation, auto-derivation, and boilerplate reduction

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Shapeless

Shapeless Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Shapeless!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Libraries

Registered

13 hours ago