-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linear #215
Merged
Linear #215
Changes from 54 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
0f80bd5
Generalize Angle to Angle v and Angle Double
Mathnerd314 825f519
Checkpoint
Mathnerd314 bcb48c9
Checkpoint (non-compiling)
Mathnerd314 2d7a1a0
Forgot a file
Mathnerd314 06f0536
Mostly finished refactoring (still needs language/import cleanups bef…
Mathnerd314 f21cf4d
Minor tweaks
Mathnerd314 660ae2a
Merge branch 'master' into generalize-double
Mathnerd314 8c35f53
Merge remote-tracking branch 'remotes/origin/master' into generalize-…
Mathnerd314 f257330
Fix up so it compiles
Mathnerd314 7c02053
git ls-files | grep '\.hs$' | xargs -n 1 stylish-haskell -c misc/styl…
Mathnerd314 cf92580
language pragma tweaks
Mathnerd314 892b6ab
more language tweaks
Mathnerd314 8bd3e0e
Merge branch 'master' of github.com:diagrams/diagrams-lib into genera…
Mathnerd314 c49c3d0
Split R2Ish into R2Sym, and remove some useless instances of Point ou…
Mathnerd314 dff0564
Remove R2Sym in favor of R2D (D for Data) - I have a (bogus) Ord inst…
Mathnerd314 cd66e8e
Typeable/Show instances for R2Basis
Mathnerd314 b2fb74b
Add Float and Generic TwoD types and change exports to properly hide …
Mathnerd314 e1a681d
Fix errors on GHC 7.6
Mathnerd314 c84cced
Add parameters to GradientStop and TextAlignment, which I missed on m…
Mathnerd314 2a40713
Some progress.
cchalmers 4b8469a
More progress.
cchalmers 48cbd1d
Bounding box.
cchalmers fe4892a
Bounding box.
cchalmers a70c9cf
Merge branch 'generalize-double' of https://github.com/cchalmers/diag…
cchalmers 552c822
Starting on 2D and 3D modules.
cchalmers a267069
Change VN to Vn.
cchalmers 71d5ada
Almost done.
cchalmers 9961036
Some Bergey sugestions. (and combinators)
cchalmers 3a5ff43
Builds without vector-space.
cchalmers e1894c6
Update for new lenses.
cchalmers f237e03
Coordinate instances for linear types.
cchalmers 79c9a2e
Remove unused types.
cchalmers cf195d0
Use linear's classes for _x, _y, _z.
cchalmers c989031
Uncomment default pragma.
cchalmers 26582ff
Bring back prelude.
cchalmers 15751d7
lerp has arguments reversed in linear.
cchalmers 507309a
Added (poor) Traced instances for Bounding box.
cchalmers 46a5a9e
General cleanup.
cchalmers 317c7ec
Merge Prelude.ThreeD with Prelude.
cchalmers d4a5fbd
Added Prelude back.
cchalmers 5d68ad7
Added Polar, Cylindrical and Spherical coordinates.
cchalmers 7e5ca2b
Use stylish-haskell config.
cchalmers e24baef
Fixed scaling measures.
cchalmers a11a0f3
Fix bug with showOrigin.
cchalmers 8457055
Postpone new polar coordinate and general cleanup.
cchalmers 0266b2b
Merge branch 'master' into linear
bergey b53a171
add missing comma in .cabal
bergey 3437160
linear updates for more recent code in master
bergey fe6f372
Fixes to changes to HasLinearMap and Measure from core.
cchalmers 0e3afee
Some fixes to Angle and BoundingBox.
cchalmers 5a3aace
Remove Data instance for BoundingBox.
cchalmers df659a4
Remove redundent import.
cchalmers db94ac4
First attempt at fixes for 7.6.
cchalmers 4dee63c
move `project` to Diagrams.Points
bergey 2b59c1f
Some changes I missed.
cchalmers c20fb8c
Make Typeable1 instances for Path v and CameraLens l.
cchalmers ced8456
Remove redundent Data.Typeable from Diagrams.Combinators.
cchalmers cc232a6
Fix Typeable1 instances.
cchalmers dde9d02
Call it Path.
cchalmers 63e92b1
add Enum instance for Angle
jeffreyrosenbluth 0268582
document semantics of Lights
bergey 65cfee7
Add Diagrams.ThreeD to prelude.
cchalmers 68ad27a
Merge branch 'linear' of https://github.com/diagrams/diagrams-lib int…
cchalmers d92afe2
cabal: conservative upper bound on linear
bergey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
import Distribution.Simple | ||
import Distribution.Simple | ||
main = defaultMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# stylish-haskell configuration file | ||
# ================================== | ||
|
||
steps: | ||
# Import cleanup | ||
- imports: | ||
# global produced the smallest diff | ||
align: global | ||
|
||
# Language pragmas | ||
- language_pragmas: | ||
style: vertical | ||
remove_redundant: true | ||
|
||
# Align the types in record declarations | ||
- records: {} | ||
|
||
# Remove trailing whitespace | ||
- trailing_whitespace: {} | ||
|
||
# unused steps - UnicodeSyntax, tabs to spaces | ||
|
||
# Wrap to 100 columns, because I feel like it | ||
columns: 100 | ||
|
||
# No language extensions are enabled by default. | ||
# language_extensions: | ||
# - TemplateHaskell | ||
# - QuasiQuotes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general Diagrams puts upper bounds at the smallest value that could require code changes, assuming the dependency follows the PVP. That would be something like
linear >= 1.10 && < 1.11
. Does @ekmettt provide some stronger promise of backwards compatibility forlinear < 2.0
that should change that?