jckarter/clay — Issue #24: clayfix needs to remove 'procedure'/'define' from before monomorphic definitions
Author: jckarter
Created: 2011-12-10 05:22:43+00:00
State: open

Clay 0.1 now uses `define foo(x:T, y:U);` as syntax for defining a generic function interface, and `define foo(x:T, y:U) { ... }` with a body is invalid. clayfix needs to update code that placed the optional `procedure` keyword before a full definition.

```
// 0.0
procedure foo;
procedure bar(x,y) = x + y;

// 0.1
define foo;
bar(x,y) = x + y;
```