gcodehs-0.1.2.0: GCode processor

Safe HaskellNone
LanguageHaskell2010

Data.GCode.Canon.Convert

Synopsis

Documentation

toCanon :: Code -> [Canon] Source #

Convert code to its canonical representation

ifHasParam :: (Monoid (f a), Applicative f) => ParamDesignator -> Code -> (Double -> a) -> f a Source #

ifNonEmptyAxes :: (Applicative f, Monoid (f a)) => Code -> (Axes -> a) -> f a Source #