Skip to content

Commit f8179e8

Browse files
Narigoraulraja
authored andcommitted
Update SingletonExercises.scala (#39)
`1` looks an awful lot like `l` in the current formatting. Using a different name for the list does make sense and should not change the results hopefully... :)
1 parent b03c81a commit f8179e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/scala/shapeless/SingletonExercises.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ object SingletonExercises extends FlatSpec with Matchers with org.scalaexercises
2222
def indexHListAndTuples(res0: String, res1: String) = {
2323
import syntax.std.tuple._
2424

25-
val l = 23 :: "foo" :: true :: HNil
26-
l(1) should be(res0)
25+
val hlist = 23 :: "foo" :: true :: HNil
26+
hlist(1) should be(res0)
2727

28-
val t = (23, "foo", true)
29-
t(1) should be(res1)
28+
val tuple = (23, "foo", true)
29+
tuple(1) should be(res1)
3030
}
3131

3232
import shapeless._, syntax.singleton._

0 commit comments

Comments
 (0)