Created
April 12, 2011 08:30
-
-
Save julienrf/915174 to your computer and use it in GitHub Desktop.
Bigtable template in Glitter
This file contains 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 glitter._ | |
object Bigtable { | |
def template(table: Array[Array[Int]]) = | |
'table ( | |
forM (table) (row => | |
'tr :: forM (row) ('td :: _.toString) | |
) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment