| Ast.Uri (name, Some substs) ->
sprintf "%s \\subst [%s]" name (pp_substs substs)
| Ast.Implicit `Vector -> "?"
- | Ast.Implicit `JustOne -> "..."
+ | Ast.Implicit `JustOne -> "…"
| Ast.Meta (index, substs) ->
sprintf "%d[%s]" index
(String.concat "; "
let regexp qkeyword = "'" ( ident | pident ) "'"
let regexp implicit = '?'
-let regexp implicit_vector = "..."
let regexp placeholder = '%'
let regexp meta = implicit number
let s = Ulexing.utf8_lexeme lexbuf in
return lexbuf ("META", String.sub s 1 (String.length s - 1))
| implicit -> return lexbuf ("IMPLICIT", "")
- | implicit_vector -> return lexbuf ("IMPLICITVECTOR", "")
| placeholder -> return lexbuf ("PLACEHOLDER", "")
| ident -> handle_keywords lexbuf (Hashtbl.mem !level2_ast_keywords) "IDENT"
| variable_ident -> return lexbuf ("IDENT", Ulexing.utf8_lexeme lexbuf)
| r = NREF -> return_term loc (Ast.NRef (NReference.reference_of_string r))
| n = NUMBER -> return_term loc (Ast.Num (n, 0))
| IMPLICIT -> return_term loc (Ast.Implicit `JustOne)
- | IMPLICITVECTOR -> return_term loc (Ast.Implicit `Vector)
+ | SYMBOL <:unicode<ldots>> -> return_term loc (Ast.Implicit `Vector)
| PLACEHOLDER -> return_term loc Ast.UserInput
| m = META -> return_term loc (Ast.Meta (int_of_string m, []))
| m = META; s = meta_substs ->
(fst_row :: List.flatten tl_rows
@ [ break; keyword "in"; break; k where ])))
| Ast.Implicit `JustOne -> builtin_symbol "?"
- | Ast.Implicit `Vector -> builtin_symbol "..."
+ | Ast.Implicit `Vector -> builtin_symbol "…"
| Ast.Meta (n, l) ->
let local_context l =
List.map (function None -> None | Some t -> Some (k t)) l
| `Hole -> "□"
| `Term -> "Term"
| `Typeof x -> "Ty("^string_of_int x^")"
- | `Vector -> "..."
+ | `Vector -> "…"
;;
let ppterm ~formatter:f ~context ~subst ~metasenv:_ ?(inside_fix=false) t =