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

You most likely asked an AI for this. They always think there is an `if` keyword in case statements in Gleam. There isn't one, sadly.

EDIT: I am wrong. Apparently there are, but it's a bit of a strange thing where they can only be used as clauses in `if` statements, and without doing any calculations.






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

Search: