package ecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = {
  1. symbol : Symbol.t;
  2. type_ : 'a Ecaml_value.Value.Type.t;
}
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
val create : string -> 'a Ecaml_value.Value.Type.t -> 'a t
module And_value : sig ... end
val and_value : 'a t -> 'a -> And_value.t

Standard properties

(describe-variable 'bookmark-alist) documents most of them.

front_context_string and rear_context_string are meant to handle changes to the file. The bookmark-default-handler function first jumps to position, then searches forward for front_context_string, then searches backwards for rear_context_string.

val annotation : string t
val filename : Core.Filename.t t
val front_context_string : string t

Typical use is to defun a handler and set handler to Function.of_symbol.

The property has type Function.t t so that we can deserialize values like (lambda ...) set from elisp.

val position : Position.t t
val rear_context_string : string t
OCaml

Innovation. Community. Security.