This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ms.podium.services | |
import scala.util.Try | |
import net.ruippeixotog.scalascraper.browser.JsoupBrowser | |
import net.ruippeixotog.scalascraper.dsl.DSL.Extract._ | |
import net.ruippeixotog.scalascraper.dsl.DSL._ | |
/* | |
Yet another example of scala-scrapper usage. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Вопрос: А разве нельзя было то же самое на shapeless зарядить с автоматическим выводом тайп-классов? | |
/* в статье взят за пример гетерогенный лист, но это не единственный тип и не главная цель | |
использования данного подхода с макросами. | |
Самый простой случай, с которым мы все сталкиваемся, | |
имея дело с одинаковым поведением наследников | |
*/ | |
// case one | |
trait Simple[T] { |