Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

Are there any restrictions on return types? #83

@JeffreyBenjaminBrown

Description

@JeffreyBenjaminBrown

This language looks amazing!

The tutorial leads me to believe the arguments to a functor must be strings or integers:

"We can also have rules which contain both variables and atoms. (An atom is an argument
to a functor. Types of atoms include strings in quotes, like "Steve", and numbers,
like 903 or 3.14159. Variables don’t count as atoms, because they stand in place of atoms.)"

A very cursory glance at this paper leads me to believe that a Dyna functor's return type can be specified as any type, or left unrestricted.

Is that so?

(I apologize if I'm asking this question in the wrong place; if that's so, please let me know where to move it.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions