src/Pure/General/toml.scala
changeset 79005 6201057b98dd
parent 79004 39373f2151c4
child 79006 dad92daaf73a
equal deleted inserted replaced
79004:39373f2151c4 79005:6201057b98dd
   399 
   399 
   400     def last: Keys = new Keys(rep.takeRight(1))
   400     def last: Keys = new Keys(rep.takeRight(1))
   401     def the_last: Key = rep.last
   401     def the_last: Key = rep.last
   402 
   402 
   403     def head: Keys = new Keys(rep.take(1))
   403     def head: Keys = new Keys(rep.take(1))
       
   404     def next: Keys = new Keys(rep.drop(1))
   404     def the_head: Key = rep.head
   405     def the_head: Key = rep.head
       
   406     def the_key: Key = Library.the_single(rep)
   405 
   407 
   406     def length: Int = rep.length
   408     def length: Int = rep.length
   407 
   409 
   408     def +(other: Keys): Keys = new Keys(rep ::: other.rep)
   410     def +(other: Keys): Keys = new Keys(rep ::: other.rep)
   409 
   411