- Notifications
You must be signed in to change notification settings - Fork5
SMLFamily/BasisLibrary
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository and associatedwiki provides a platform for managing changes to theStandard ML Basis Library specification.
The SML Basis Library was purposefully designed to be limited in its scope. Specifically, it included features that satisified one of the following properties:
- features that required special compiler support, such as strings and arrays.
- features that require an interface to the host operating system, such as sockets and file-system access.
- features that are more concise or efficient than an equivalent combination of other features.
- features that have clear or proven utility or were part of previous versions of the SML Basis (e.g., the SML'90 Basis).
These properties are meant to serve as guidelines for what belongs in the Basis Library, instead of in an utility or application-specific library.
Proposals for new Basis Library modules should follow the coding conventions used in the published version of the original specification. These conventions are
- Alphanumeric value identifiers are in mixed-case, with a leading lowercase letter;e.g.,
mapandopenIn. - Type identifiers are all lowercase, with words separated by underscores;e.g.,
wordandfile_desc. - Signature identifiers are in all capitals, with words separated by underscores;e.g.,
PACK_WORDandOS_PATH. We refer to this convention as thesignature convention. - Structure and functor identifiers are in mixed-case, with initial letters of words capitalized;e.g.,
GeneralandWideChar. We refer to this convention as thestructure convention. - Alphanumeric datatype constructors follow the signature convention;e.g.,
SOME,A_READ, andFOLLOW_ALL. In certain cases, where external usage or aesthetics dictates otherwise, the structure convention can be used. Within the Basis library, the only use of the latter convention occurs with the months and weekdays inDate,e.g.,JanandMon.The one exception to this rule are the traditional constructorsnil,true, andfalse. - Exception identifiers follow the structure convention;e.g.,
DomainandSysErr.
We need to develop a process for how to handling proposals. Issues include
- what should a proposal contain
- how should proposals be submitted (is there an editor?)
- how to resolve discussion and approve a proposal
One possible model is theSRFI process.
About
Repository and Wiki for enriching the Standard ML Basis Library
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors3
Uh oh!
There was an error while loading.Please reload this page.