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

Fixing some partial function warnings being emitted by GHC #483

Closed lepsa closed 4 months ago

lepsa commented 4 months ago

Replacing tail with a varient that emits an empty list when the input list is also empty. Otherwise it behaves as Prelude.tail

julialongtin commented 4 months ago

not great, but not horrible. :)