Skip to content

Source 3 Non-Det: Improve documentation for amb operator #701

@anubh-v

Description

@anubh-v

To aid individuals coming from Source 3, the docs should mention that amb is not intended to behave like ordinary Source functions.

Specifically, when we evaluate amb(alpha(), bravo()), the call is not evaluated "inside out".
The expression bravo() will only be evaluated upon backtracking.

Moreover, amb cannot be passed around as a value.

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or requestminorless important than important but more than nice-to-have

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions