[Proposal] Split apart the standard library into multiple packages #331
eliaslfox
started this conversation in
Ideas and Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently Coalton's standard library is spread across 21 files. Many functions are prefixed to avoid name collisions. Users of Coalton must avoid top level definitions that collide with the standard library, and could ever collide with the standard library. To remedy this the following changes should be made to the package layout.
macros.lisp
are moved tocoalton
.types.lisp
andbuiltins.lisp
are kept incoalton-library
coalton-library/vector
and have prefixes removed from their definitions. They intended to be imported with package local nicknames asvector
andcell
.coalton-prelude
is created to reexport classes, list functions, and other currently un-prefixed definitions.coalton-user
would:use
coalton
andcoalton-prelude
.Beta Was this translation helpful? Give feedback.
All reactions