fixes broken tests - bad james!

This commit is contained in:
James Strachan
2012-04-17 10:48:58 +01:00
parent 3b95e7fa7f
commit 6ac4169003
3 changed files with 3 additions and 3 deletions
@@ -117,7 +117,7 @@ fun LinkedList<Int>.sum(f : (Int, Int )-> Int): Int {
// }
//}
fun Char.isDigit() = Character.isDigit(this)
// fun Char.isDigit() = Character.isDigit(this)
fun Reader.forEachChar(body : (Char) -> Unit) {
do {
@@ -86,7 +86,7 @@ class Luhny() {
}
}
fun Char.isDigit() = Character.isDigit(this)
// fun Char.isDigit() = Character.isDigit(this)
fun java.lang.Iterable<Int>.sum(f : (index : Int, value : Int) -> Int) : Int {
var sum = 0
@@ -103,7 +103,7 @@ fun <T> List<T>.backwards() : Iterable<T> = object : Iterable<T> {
}
}
fun Char.isDigit() = Character.isDigit(this)
// fun Char.isDigit() = Character.isDigit(this)
//class Queue<T>(initialBufSize : Int) {
//