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
/* | |
~~ Snowball Poem ~~ | |
Snowball (also called a Chaterism): A poem in which each line is a single word, | |
and each successive word is one letter longer. One of the constrained writing | |
techniques invented by the Oulipo (Workshop of Potential Literature). | |
~~ Program Description ~~ | |
This program takes input from the file "input-raw.txt". It examines the file for |
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
import slick.lifted.MappedTypeMapper | |
import java.sql.Date | |
import org.joda.time.DateTime | |
import slick.lifted.TypeMapper.DateTypeMapper | |
object DateTimeMapper { | |
implicit def date2dateTime = MappedTypeMapper.base[DateTime, Date] ( | |
dateTime => new Date(dateTime.getMillis), | |
date => new DateTime(date) |