[dylan-lang/opendylan] d2b9f0: [dfmc-modeling] Make <mutable-object-with-elements...

GitHub <[email protected]> Sun, 18 Oct 2015 08:18:39 -0700
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <5623b84fb334_65fd3fcea8b752bc11122@hookshot-fe2-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: d2b9f01e6d9190499de713e4b59340acf1f641a4
      https://github.com/dylan-lang/opendylan/commit/d2b9f01e6d9190499de713e4b59340acf1f641a4
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-10-17 (Sat, 17 Oct 2015)

  Changed paths:
    M sources/dfmc/modeling/objects.dylan

  Log Message:
  -----------
  [dfmc-modeling] Make <mutable-object-with-elements> open.

On Jul 18, 2001, gz marked <mutable-object-with-elements> as
compiler-open with the commit comment:

    Force <&object> and <&mutable-object-with-elements> to be
    compiler-open now that the default for model classes is sealed.

<object-with-elements> was left as open entirely, not just compiler-open
and oddly enough, <mutable-object-with-elements> was marked as both
open and compiler-open.

Since <object-with-elements> is open, it is useful for the mutable
counterpart to also be open.

* sources/dfmc/modeling/objects.dylan
  (<mutable-object-with-elements>): Split the &class definition
   into separate compiler-class and model-class definitions so
   that they can have different sealing adjectives. This lets
   both the compiler and the run-time see this class as being
   open for extension. (Just getting rid of compiler-open on the
   &class doesn't work because then the C-FFI definition can't
   inherit from this class at compile time.)


  Commit: 714f0e0927c60f6fe546cbcf51c4cfe5dd663d4c
      https://github.com/dylan-lang/opendylan/commit/714f0e0927c60f6fe546cbcf51c4cfe5dd663d4c
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-10-17 (Sat, 17 Oct 2015)

  Changed paths:
    M documentation/library-reference/source/c-ffi/index.rst
    M documentation/library-reference/source/dylan/index.rst
    A documentation/library-reference/source/dylan/object-with-elements.rst

  Log Message:
  -----------
  [docs,library-reference] Document <object-with-elements>.

* documentation/library-reference/source/dylan/index.rst: Link to new
   document.

* documentation/library-reference/source/dylan/object-with-elements.rst:
   New document covering <object-with-elements> and
   <mutable-object-with-elements>.

* documentation/library-reference/source/c-ffi/index.rst
  (<C-statically-typed-pointer>): Note that it has a superclass of
   <mutable-object-with-elements>.


  Commit: 70f42d4f4fb777f2deb34d104367fb79572457ed
      https://github.com/dylan-lang/opendylan/commit/70f42d4f4fb777f2deb34d104367fb79572457ed
  Author: Peter S. Housel <[email protected]>
  Date:   2015-10-18 (Sun, 18 Oct 2015)

  Changed paths:
    M documentation/library-reference/source/c-ffi/index.rst
    M documentation/library-reference/source/dylan/index.rst
    A documentation/library-reference/source/dylan/object-with-elements.rst
    M sources/dfmc/modeling/objects.dylan

  Log Message:
  -----------
  Merge pull request #1000 from waywardmonkeys/open-mutable-object-with-elements

Open <mutable-object-with-elements>


Compare: https://github.com/dylan-lang/opendylan/compare/e6e1d1c492bd...70f42d4f4fb7

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter