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

> Maybe I'm missing something, but it seems like if a type has a lot of optional fields, which is pretty common, you have to explicitly pass None for all of them.

You can specify defaults for you record types via Type/default pattern https://github.com/Gabriella439/dhall-manual/blob/develop/ma...



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

Search: