haskell-nix / hnix

A Haskell re-implementation of the Nix expression language
https://hackage.haskell.org/package/hnix
BSD 3-Clause "New" or "Revised" License
756 stars 115 forks source link

Make `typeFun` total #988

Closed mxxun closed 2 years ago

mxxun commented 2 years ago

Replaces typeFun's foldr1 with a total foldr. Admittedly NonEmpty syntax is not as pretty.

Anton-Latukha commented 2 years ago

Thank you.