You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When composing two functions f and f2 with f o f2, the console is not able to print the result. Instead, it terminates the console abruptly without a message. See complete snippet below.
rascal>int f(int x) = x + 1;
int (int): func(
int(),
[int()],
[],
{},origin=|prompt:///|(0,21,<1,0>,<1,21>))
rascal>int f2(int x) = x + 1;
int (int): func(
int(),
[int()],
[],
{},origin=|prompt:///|(0,22,<1,0>,<1,22>))
rascal>(f o f2)(1)
int: 3
rascal>(f o f2)
int (...):
No trace or error message shown. It just stops.
The text was updated successfully, but these errors were encountered:
When composing two functions
f
andf2
withf o f2
, the console is not able to print the result. Instead, it terminates the console abruptly without a message. See complete snippet below.No trace or error message shown. It just stops.
The text was updated successfully, but these errors were encountered: