src/Pure/General/toml.scala
changeset 79005 6201057b98dd
parent 79004 39373f2151c4
child 79006 dad92daaf73a
--- a/src/Pure/General/toml.scala	Sat Nov 18 12:34:10 2023 +0100
+++ b/src/Pure/General/toml.scala	Sat Nov 18 19:16:16 2023 +0100
@@ -401,7 +401,9 @@
     def the_last: Key = rep.last
 
     def head: Keys = new Keys(rep.take(1))
+    def next: Keys = new Keys(rep.drop(1))
     def the_head: Key = rep.head
+    def the_key: Key = Library.the_single(rep)
 
     def length: Int = rep.length