Haskell-Things / ImplicitCAD

A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
https://implicitcad.org/
GNU Affero General Public License v3.0
1.32k stars 140 forks source link

Removing more partial functions the GHC picked up. #486

Closed lepsa closed 4 months ago

lepsa commented 4 months ago

Removing instances of head that GHC is flagging, except for one in command line arguement parsing.

Reworked the tail replacement to use drop 1 rather than using uncons, as I wasn't happy with the previous version.

julialongtin commented 4 months ago

Thank you!