Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Repository and Wiki for enriching the Standard ML Basis Library

NotificationsYou must be signed in to change notification settings

SMLFamily/BasisLibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

This repository and associatedwiki provides a platform for managing changes to theStandard ML Basis Library specification.

Scope

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.

Conventions

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.,map andopenIn.
  • Type identifiers are all lowercase, with words separated by underscores;e.g.,word andfile_desc.
  • Signature identifiers are in all capitals, with words separated by underscores;e.g.,PACK_WORD andOS_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.,General andWideChar. 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.,Jan andMon.The one exception to this rule are the traditional constructorsnil,true, andfalse.
  • Exception identifiers follow the structure convention;e.g.,Domain andSysErr.

Process

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp