Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do i start learning shapeless concepts in scala [closed]

Tags:

I would like to learn about polytypic concepts in Scala, I came across shapeless library what would be the best starting point for learning and applying shapeless.

like image 429
prassee Avatar asked Jun 09 '13 12:06

prassee


1 Answers

I don't know if thats an answer you wan't, but the best push for me to start learning/using shapeless was a couple of Miles videos from different Scala conferences :

From flatmap
ScalaNE 2012
ScalaNE 2013

His forgotten blog

And as a big practise - i'm writing a lot using Spray toolkit, it uses shapeless inside. So try to write some web server or some client.

Also a github's wiki contains good intro for the library.

Great idea - try to rewrite some case classes into shapeless records with hlists, it's pretty cool to use it with some JSON converter =). Much of it is some generic kind of stuff wich is not very useful in real project, but if you want better understanding of type level programming, it's really great stuff

like image 120
4lex1v Avatar answered Oct 13 '22 02:10

4lex1v