skip to main | skip to sidebar

My personal bookmarks


Tuesday, February 11, 2014

Shapeless - a type class and dependent type based generic programming library for Scala


https://github.com/milessabin/shapeless/wiki/Feature-overview:-shapeless-2.0.0

Feature overview: shapeless 2.0.0

Contents

  • Polymorphic function values
  • Heterogenous lists
  • HList-style operations on standard Scala tuples
  • Facilities for abstracting over arity
  • Heterogenous maps
  • Singleton-typed literals
  • Extensible records
  • Coproducts
  • Generic representation of (sealed families of) case classes
  • Boilerplate-free lenses for arbitrary case classes
  • Automatic type class instance derivation
  • Collections with statically know sizes
  • Type safe cast
  • Testing for non-compilation
All the examples below assume you have previously imported shapeless._
Posted by David Chang at 11:51 PM
Labels: Scala

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

InfoQ

  • InfoQ
  • DZone
  • Matthias Nehlsen
  • Parleys
  • Learning - Coursera
  • Learning - edX
  • Behind the times
  • Bruce Eckel
  • Christophe Coenraets
  • EL Rincon
  • Gizmodo
  • Great Scala Talks
  • Groovy Blogs
  • Java World
  • Mandubian Blog
  • NetBeans Screen Casts
  • NetBeans Tutorials
  • Planet CouchDB
  • R - FlowingData
  • R - Journal of Statistical Software
  • R - mailing list
  • R - seek
  • R - Bloggers
  • Simply Statistics
  • Shared Memory
  • Smashing Magazine
  • Strongly Typed, Loosely Coupled
  • Taranfx
  • Team Blogs

Blog Archive

  • ►  2023 (1)
    • ►  April (1)
  • ►  2021 (1)
    • ►  November (1)
  • ►  2019 (1)
    • ►  February (1)
  • ►  2018 (11)
    • ►  November (1)
    • ►  September (2)
    • ►  July (1)
    • ►  June (7)
  • ►  2017 (7)
    • ►  December (1)
    • ►  October (3)
    • ►  June (3)
  • ►  2016 (6)
    • ►  December (4)
    • ►  March (2)
  • ►  2015 (22)
    • ►  July (14)
    • ►  May (1)
    • ►  April (3)
    • ►  March (2)
    • ►  February (2)
  • ▼  2014 (71)
    • ►  November (1)
    • ►  October (1)
    • ►  September (1)
    • ►  August (3)
    • ►  July (6)
    • ►  June (3)
    • ►  May (7)
    • ►  April (19)
    • ►  March (14)
    • ▼  February (9)
      • How to remove duplicate entries from a list in Scala
      • An introduction to SBT
      • Shapeless - a type class and dependent type based ...
      • ReactiveMongo - Asynchronous & Non-Blocking Scala ...
      • Spark RDD document
      • JavaFX + GraniteDS
      • Spark RDD
      • Data Explorer( or Dex) is a tool for exploring data.
      • Why JavaFX ?
    • ►  January (7)
  • ►  2013 (12)
    • ►  December (4)
    • ►  November (4)
    • ►  February (1)
    • ►  January (3)
  • ►  2012 (43)
    • ►  August (3)
    • ►  July (5)
    • ►  May (4)
    • ►  April (6)
    • ►  March (12)
    • ►  February (2)
    • ►  January (11)
  • ►  2011 (69)
    • ►  December (12)
    • ►  October (6)
    • ►  September (1)
    • ►  July (10)
    • ►  June (11)
    • ►  April (6)
    • ►  March (8)
    • ►  February (7)
    • ►  January (8)
  • ►  2010 (37)
    • ►  December (12)
    • ►  November (4)
    • ►  October (2)
    • ►  August (1)
    • ►  July (1)
    • ►  June (1)
    • ►  April (3)
    • ►  March (1)
    • ►  February (12)
  • ►  2008 (1)
    • ►  March (1)

Tags

 

Total Pageviews