Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation: Document DOOD #1345

Merged
merged 1 commit into from
Oct 18, 2020
Merged

Conversation

housel
Copy link
Member

@housel housel commented Oct 18, 2020

No description provided.

Copy link
Member

@cgay cgay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice.


Provide a mechanism for indexes. The keys are symbols and are
loaded lazily using a binary search. This is known to be an
inferior layout strategy and will be replaced by b*-tree's in the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably need a backslash before the asterisk.

-------

Internally DOOD loads objects by instantiation and slot assignment. An
object is instantiated via allocate, which returns an uninitialized
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think allocate is not defined anywhere.

next-method();
rectangle-area(object)
:= rectange-height(object) * rectange-width(object);
end method;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: rectange ?

This commit adds documentation for the DOOD library, adapted from the
Functional Developer 2.0 release notes.

* documentation/library-reference/source/dood/index.rst: New document.

* documentation/library-reference/source/index.rst: Add the dood
  document to the Library Reference toctree.
@housel housel merged commit 4d6522c into dylan-lang:master Oct 18, 2020
@housel housel deleted the document-dood branch October 18, 2020 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants