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.41k stars 142 forks source link

Fixing some partial function warnings being emitted by GHC #483

Closed lepsa closed 7 months ago

lepsa commented 7 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 7 months ago

not great, but not horrible. :)