src/Pure/PIDE/document_id.scala
changeset 71601 97ccf48c2f0c
parent 66415 96ad7d5ff613
child 75393 87ebf5a50283
equal deleted inserted replaced
71600:64aad1e46f98 71601:97ccf48c2f0c
    15   type Version = Generic
    15   type Version = Generic
    16   type Command = Generic
    16   type Command = Generic
    17   type Exec = Generic
    17   type Exec = Generic
    18 
    18 
    19   val none: Generic = 0
    19   val none: Generic = 0
    20   val make = Counter.make()
    20   val make: Counter = Counter.make()
    21 
    21 
    22   def apply(id: Generic): String = Value.Long.apply(id)
    22   def apply(id: Generic): String = Value.Long.apply(id)
    23   def unapply(s: String): Option[Generic] = Value.Long.unapply(s)
    23   def unapply(s: String): Option[Generic] = Value.Long.unapply(s)
    24 }
    24 }