Skip to content
Snippets Groups Projects
Commit 8ea90776 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Rework CFunction arguments treatment

It now uses FunctionArgumentConverter and ASTNodeDataTypeFlattener. This leads
to a more consistent implementation and use of CFunction along with
FunctionExpression.

Now one can write
``
import math;
let x_and_3: R->R*R, x->(x,3);
R x = pow(x_and_3(2));
``
the novelty is that `pow` acts (has one could expect) as a `R*R->R` function
expression which makes is more natural (even if this example may not show its
relevance)
parent 3a5b2816
No related branches found
No related tags found
1 merge request!37Feature/language
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment