GPX-0.5: Parse GPX files

Data.Geo.GPX.FixType

Description

Synopsis

Documentation

foldFixTypeSource

Arguments

:: a

The value if none.

-> a

The value if twod.

-> a

The value if threed.

-> a

The value if dgps.

-> a

The value if pps.

-> FixType

The value to fold.

-> a 

The catamorphism for FixType.

none :: FixTypeSource

Construct a FixType with a value of none.

twod :: FixTypeSource

Construct a FixType with a value of 2d.

threed :: FixTypeSource

Construct a FixType with a value of 3d.

dgps :: FixTypeSource

Construct a FixType with a value of dgps.

pps :: FixTypeSource

Construct a FixType with a value of pps.

fixTypeSource

Arguments

:: String

The string value to construct a FixType with.

-> Maybe FixType 

Construct a FixType using a string with a value of [none, 2d, 3d, dgps, pps].