Professional

Home
Learn Shen
Videos
Community Wiki
Community
OS Kernel
OS Library
Shen Professional

 

The Standard Extension Plugin

The Standard Extension plugin or STE is a large plugin composed of several libraries. The purpose of the STE is to provide many of the basic utility functions used by programmers that do not exist in the Shen kernel. In the interests of organisation, the documentation is divided over the constitutent libraries.

Strings
Calendar
Maths
Vectors
Higher Order Functions
Lists
File Handling
Random Numbers
Complex Numbers

Willi Riha has pointed out that the STE is scattered over many packages; inheritance is used create a superpackage called ste whose external symbols are invoked by (external ste).  Hence it is only necessary to write 

(package <package name> (append (external ste) <external>)   
         <code here>)

to import all of the STE functions into the package.  Altogether there are 289 external functions in the STE.  Most of the kudos to Willi.