File: after.doc

package info (click to toggle)
hol88 2.02.19940316-8
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 63,120 kB
  • ctags: 19,367
  • sloc: ml: 199,939; ansic: 9,300; sh: 7,118; makefile: 6,074; lisp: 2,747; yacc: 894; sed: 201; cpp: 87; awk: 5
file content (25 lines) | stat: -rw-r--r-- 359 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
\DOC after

\TYPE {after : (* list -> * list -> * list)}

Finds the difference between two lists.

\LIBRARY window

\SYNOPSIS
\DESCRIBE
{after l1 l2} is the list {l} such that {(l1 @ l) = l2}.

\FAILURE
{after l1 l2} fails if {l1} is not a prefix of {l2}.

\EXAMPLE
{
   #after [1; 2] [1; 2; 3];;
   [3] : int list
}

\SEEALSO
prefix, suffix, before

\ENDDOC