hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit a12a210394b64a1b2f3e4d1c33aee121cc55829d
parent 23561b03f80b13786cb3b8d98e560b5fd0720ea6
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu,  1 Apr 2021 12:21:36 -0400

slice: add docs

Also removes that temporary declaration from unicode

Diffstat:
Aslice/docs.ha | 6++++++
Municode/unicode.ha | 2--
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/slice/docs.ha b/slice/docs.ha @@ -0,0 +1,6 @@ +// The slice module provides some utility functions for working with slices. In +// order to work with a user-supplied slice of an arbitrary type, the slice must +// be cast to []void and the size of the member type passed alongside it. These +// functions provide support code for common operations such as indexing and +// appending, which are normally provided by language features, but which are +// not available for []void slices. diff --git a/unicode/unicode.ha b/unicode/unicode.ha @@ -28,5 +28,3 @@ // // The present implementation of this module conforms to Unicode 13.0.0, which // was released on March 11th, 2020. - -def x: int = 0; // TEMP