Skip to content

Commit

Permalink
Merge pull request #683 from trueagi-io/reduct
Browse files Browse the repository at this point in the history
Fix type for add-reduct and fix doc for quote
  • Loading branch information
vsbogd authored May 3, 2024
2 parents 5cd8235 + d8f972a commit 33392dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/metta/runner/stdlib.metta
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
(@param "Atomspace to add atom into")
(@param "Atom to add")))
(@return "Unit atom"))
(: add-reduct (-> Space %Undefined% (->)))
(= (add-reduct $dst $atom) (add-atom $dst $atom))
(: add-reduct (-> hyperon::space::DynSpace %Undefined% (->)))
(= (add-reduct $dst $atom) (add-atom $dst $atom))

(@doc add-reduct
(@doc quote
(@desc "Prevents atom from being reduced")
(@params (
(@param "Atom")))
Expand Down

0 comments on commit 33392dc

Please sign in to comment.