Changes to example.

This commit is contained in:
Christoffer Lerno
2021-11-13 21:33:13 +01:00
parent d3fed67dbe
commit e2621617f1

View File

@@ -80,8 +80,8 @@ define DoubleStack = Stack<double>;
// have an parameterization of Stack<int>) so it would
// be same as declaring IntStack2 an alias of IntStack
// How to import an external function
// here it is libc's printf:
// Importing an external C function is straightforward
// here is an example of importing libc's printf:
extern fn int printf(char* format, ...);
fn void test()