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

Begin writing of function expression builder

Scalar functions now work slightly.
It remains to
- cast arguments whenever necessary
- compute the right returned value type

In short:
``
let inc : Z -> Z, i -> i+1;
cout << inc(2) << "\n";   // produces 3
cout << inc(2.3) << "\n"; // fails: conversion NIY
``
parent b8b97dbe
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment