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

Well, assuming it's Haskell (given the lack of semicolon and otherwise valid Haskell syntax):

x is an unused variable in the function "int" you're defining. This function returns the ratio (as a ratio, not a float) 5 / 3 for any argument, and is equivalent to "int = const (5 % 3)", which you would be more likely to see (probably inlined).



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

Search: