Apply a callback to an array: Difference between revisions

Content added Content deleted
m (→‎{{header|Picat}}: Added trans tag)
Line 2,474: Line 2,474:
</lang>
</lang>


{{trans|Prolog}}

This variant is inspired by the Prolog solution (using assert/1 to define a predicate) and shows the integration with Picat's underlying B-Prolog engine.
This variant is inspired by the Prolog solution (using assert/1 to define a predicate) and shows the integration with Picat's underlying B-Prolog engine.