Hacker News new | past | comments | ask | show | jobs | submit login

> In Python you need to be careful to wrap that in () or use a \

I guess that's because in the REPL Python need's to know whether the line has finished yet or not. OCaml and F# uses two semicolons ';;' for that purpose, but only in the REPL. In Haskell you can use braces and semicolons or '{:' and ':}' in the REPL.




It's not just in the repl.




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

Search: