Closed strager closed 11 years ago
def foo(Int -> Int) // Note missing colon. ->x x x * 3 foo sayInt // :1:1: type error: cannot solve effect type constraint () = IO // :1:9: note: () is from here
Requiring a block would give better errors. Is that acceptable?
def pi: 3.141592653589793 // ^ Notice the colon.
Yes, that'd be great.
Grumble grump write some tests grump.