File: is_prefix.doc

package info (click to toggle)
hol-light 20170109-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 36,568 kB
  • ctags: 8,549
  • sloc: ml: 540,018; cpp: 439; lisp: 286; java: 279; makefile: 262; sh: 229; yacc: 108; perl: 78; ansic: 57; sed: 39
file content (19 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
\DOC is_prefix

\TYPE {is_prefix : string -> bool}

\SYNOPSIS
Tests if an identifier has prefix status.

\DESCRIBE
Certain identifiers {c} have prefix status, meaning that combinations of the 
form {c f x} will be parsed as {c (f x)} rather than the usual {(c f) x}. The 
call {is_prefix "c"} tests if {c} is one of those identifiers.

\FAILURE
Never fails.

\SEEALSO
parse_as_prefix, prefixes, unparse_as_prefix.

\ENDDOC