File: bound.doc

package info (click to toggle)
hol88 2.02.19940316-35
  • links: PTS
  • area: main
  • in suites: buster
  • size: 65,988 kB
  • ctags: 21,623
  • sloc: ml: 199,939; ansic: 9,666; sh: 7,118; makefile: 6,095; lisp: 2,747; yacc: 894; sed: 201; cpp: 87; awk: 5
file content (36 lines) | stat: -rw-r--r-- 638 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
\DOC bound

\TYPE {bound : (window -> term list)}

\SYNOPSIS
The list of variables bound by a window.

\LIBRARY window

\DESCRIBE
{bound w} returns the list of variables which are said to be bound by
the window {w}.   This is list list of variables which appear to be
free in {w}, but are bound in the its parent window.

\EXAMPLE
{
    #letref b = [] : term list;;
    b = [] : term list
    
    #open_win
       [BODY]
       (\w. b:=bound w; w)
	   (create_win "= (\x:num.x + y)" [] []) ;;
    (|- (\x. x + y) = (\x. x + y), [], [], [], ["x"]) : window
    
    #b;;
    ["x"] : term list
}


\FAILURE
Never fails.

\SEEALSO

\ENDDOC