Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

563500 views
1
<!-- %W example.xml GAP documentation Werner Nickel -->
2
<!-- %W Greg Gamble -->
3
<!-- %H -->
4
<!-- %Y Copyright (C) 1997, School of Math & Comp. Sci., St Andrews, Scotland -->
5
6
7
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
8
<Chapter Label="The Example Package">
9
<Heading>The Example Package</Heading>
10
11
<Index>Example package</Index>
12
This chapter describes the &GAP; package &Example;. As its name
13
suggests it is an example of how to create a &GAP; package. It has
14
little functionality except for being a package.
15
<P/>
16
See Sections&nbsp;<Ref Sect="Unpacking the Example Package"/>,
17
<Ref Sect="Compiling Binaries of the Example Package"/>
18
and&nbsp;<Ref Sect="Loading the Example Package"/>
19
for how to install, compile and load the &Example; package, or
20
Appendix&nbsp;<Ref Chap="Guidelines for Writing a GAP Package"/>
21
for guidelines on how to write a &GAP; package.
22
<P/>
23
If you are viewing this with on-line help, type:
24
<P/>
25
<Example><![CDATA[
26
gap> ?Example package
27
]]></Example>
28
<P/>
29
to see the functions provided by the &Example; package.
30
31
32
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
33
<Section Label="The Main Functions">
34
<Heading>The Main Functions</Heading>
35
36
The following functions are available:
37
38
<#Include Label="ListDirectory">
39
40
<#Include Label="FindFile">
41
42
<#Include Label="LoadedPackages">
43
44
You might like to check out some of the other information in the <C>GAPInfo</C>
45
record (see <Ref Sect="GAPInfo" BookName="ref"/>).
46
47
<#Include Label="Which">
48
49
<#Include Label="WhereIsPkgProgram">
50
51
<#Include Label="HelloWorld">
52
53
<#Include Label="FruitCake">
54
55
<#Include Label="Recipe">
56
57
</Section>
58
</Chapter>
59
60
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
61
<!-- %% -->
62
<!-- %E -->
63
64
65