coordinate icon indicating copy to clipboard operation
coordinate copied to clipboard

Tweak coordinatePrism'

Open tonymorris opened this issue 10 years ago • 0 comments

<edwardk> you can also tweak coordinatePrism to take one pair of constraints easily, by Store or Context as what you decode with
<edwardk> coordinatePrism' :: (AsLatitude (->) Store lat, AsLongitude (->) Store lon) => Prism' (lat, lon) Coordinate
<edwardk> er, (Store lat) and (Store lon)
<edwardk> (or Context lat lat / Context lon lon

tonymorris avatar Nov 01 '14 21:11 tonymorris