qfpl / coordinate Goto Github PK
View Code? Open in Web Editor NEWA representation of latitude and longitude
License: Other
A representation of latitude and longitude
License: Other
<edwardk> also theoretically AsCoordinate p f t should subtype AsLatitude p f t and AsLongitude p f t -- class (AsLatitude p f t, AsLongitude p f t) => AsCoordinate p f t where ...
<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
From the documentation (and actually trying it), it appears that there's no way to create the meridian 180. I'm not entrenched in geography, so I'm not sure why this decision was made but I imagine it was for good reason.
My question is, what should I do if I wanted to represent 180 in a program I am writing? Maybe I am thinking about it incorrectly to want 180, but it seems like there are actual locations at this meridian: http://en.wikipedia.org/wiki/180th_meridian so it would make sense to me to be able to represent them. Any suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.