Skip to content

Create reader for evaluable type #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
devcdcc opened this issue Aug 31, 2023 · 1 comment
Open

Create reader for evaluable type #14

devcdcc opened this issue Aug 31, 2023 · 1 comment
Assignees

Comments

@devcdcc
Copy link
Owner

devcdcc commented Aug 31, 2023

The Evaluable type must complain for computable values or functions, i.e.
computable value:

{
a = 22
a  ^ 2 // return
}

// or 
 => // evaluate if that syntax or something similar does make sense.
    a = 22
    a ^ 2

the function is similar to the behind code, but it will work as a lambda, meaning that could be computable many times and could receive parameters.
Example:


(a,b) = (a + b) ^ 2


// or

(a, b)  =
    c = a + b
    c ^ 2

// parameters also could be typed 
(a; U, b: U) =
    c = a + b
    c ^ 2

// or typed params with return type
(a; U, b: U) => F[U] =
    c = a + b
    c ^ 2

@devcdcc devcdcc self-assigned this Aug 31, 2023
@devcdcc
Copy link
Owner Author

devcdcc commented Aug 31, 2023

it should be merged with #2.

devcdcc added a commit that referenced this issue Sep 10, 2023
TODO: create reader for evaluable types #14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant