make shape-cell private again
A pub record may point to a private one now (sex#57); its importers are handed the declaration. natfloat stays pub: a mineral holds one by value, so importers need its size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -63,8 +63,7 @@
|
||||
(define DIST-NARROWGAUSSIAN 5)
|
||||
(define DIST-STRONGERINVEXP 6)
|
||||
|
||||
;; TODO sex#57: make this private again once a pub record can use a
|
||||
;; private type.
|
||||
;;; pub because a mineral holds one, and its importers need the size
|
||||
(pub record natfloat ((dist int) (avg float) (var float)))
|
||||
|
||||
;;; A mineral is one code with an ore map. Its map is made with the
|
||||
|
||||
@@ -100,9 +100,7 @@
|
||||
|
||||
;;; NaturalShape -----------------------------------------------------
|
||||
|
||||
;; TODO sex#57: make this private again once a pub record can use a
|
||||
;; private type.
|
||||
(pub record shape-cell ((x int) (z int) (open [bool 4]) (live bool)))
|
||||
(record shape-cell ((x int) (z int) (open [bool 4]) (live bool)))
|
||||
|
||||
(pub record natural-shape
|
||||
((rng (* lcg))
|
||||
|
||||
Reference in New Issue
Block a user