Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Set the type of all the parameters to your new function to bool, then compile. The compiler error will tell you, "Error: you passed a foo<'bar, baz> instead of a bool". Then you change the type in the function's parameter to "foo<'bar, baz>".


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: