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 shapeless._ | |
trait ZipConst[C, L <: HList] { | |
type Out | |
def apply(c: C, l: L): Out | |
} | |
trait ZipConstAux[C, L <: HList, O <: HList] { | |
def apply(c: C, l: L): O | |
} |
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
object FizzBuzz { | |
val defaultRules = List( | |
Rule(3, "fizz"), | |
Rule(5, "buzz") | |
) | |
def main(args: Array[String]) = { | |
fizzBuzz() foreach(println) | |
} |
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
<!doctype html> | |
<html> | |
<head> | |
<title></title> | |
<style> | |
body { | |
background: white; | |
text-align: center; | |
padding: 20px; | |
font-family: Georgia, serif; |
NewerOlder