Patrick Thomson
98030486eb
rename AdjList to ImportGraph
2018-06-26 16:54:09 -04:00
Patrick Thomson
c99e63db33
adjust to the new definition of Project
2018-06-26 14:05:58 -04:00
Patrick Thomson
bbf814acc1
Merge remote-tracking branch 'origin/master' into import-graph-mk2
2018-06-26 13:49:24 -04:00
Rob Rix
3639cf98cd
Merge pull request #1971 from github/topologically-sorted-imports
...
Topologically sorted imports
2018-06-26 12:31:52 -04:00
Patrick Thomson
6f7d094154
not sure how this obsolete file got in here
2018-06-26 12:24:42 -04:00
Rob Rix
818b295160
Merge branch 'topologically-sorted-imports' of https://github.com/github/semantic into topologically-sorted-imports
2018-06-26 12:22:51 -04:00
Rob Rix
7842eef72a
Just say id.
2018-06-26 12:22:40 -04:00
Rob Rix
0e7c47c2ec
Merge branch 'master' into topologically-sorted-imports
2018-06-26 11:50:28 -04:00
Patrick Thomson
c47c25136e
Remove v1alpha1 string in packages as per @vmg's recommendation.
2018-06-26 10:50:38 -04:00
Patrick Thomson
82cc597bdc
Pull in error_details.proto and use that for error messages.
2018-06-26 10:48:34 -04:00
Patrick Thomson
bc139ef8fc
Merge remote-tracking branch 'origin/master' into import-graph-mk2
2018-06-26 10:34:11 -04:00
Patrick Thomson
1b47b9fe91
Merge pull request #1988 from github/profile-in-new-workdir
...
Build --profile builds in a separate stack-work directory.
2018-06-26 10:27:44 -04:00
Rob Rix
fa68f6b8f3
🔥 keys.
2018-06-25 18:01:03 -04:00
Rob Rix
fcb7ae815e
Inline evalModule into run.
2018-06-25 17:53:11 -04:00
Rob Rix
6a466c62e6
Note a FIXME.
2018-06-25 17:50:01 -04:00
Rob Rix
45262b585e
Merge branch 'master' into topologically-sorted-imports
2018-06-25 17:43:26 -04:00
Rob Rix
9526d365d6
Placate hlint.
2018-06-25 17:40:09 -04:00
Rob Rix
a556930e9e
Fix the Go specs.
2018-06-25 17:38:52 -04:00
Rob Rix
a0dfbb449f
Fix some errant pure ()s.
2018-06-25 17:36:56 -04:00
Rob Rix
67463461f9
Fix the PHP specs.
2018-06-25 17:36:32 -04:00
Rob Rix
1f129a6a50
Fix the Python specs.
2018-06-25 17:33:38 -04:00
Rob Rix
dad58e7c20
Fix the Ruby specs.
2018-06-25 17:28:35 -04:00
Rob Rix
fbc4d3f2fb
Test a cyclic graph.
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 16:11:36 -04:00
Rob Rix
4943a58d43
Test a diamond graph.
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 16:09:55 -04:00
Rob Rix
d346a36559
Add some more doctests.
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 16:07:54 -04:00
Rob Rix
e3b06dada8
Import the graph constructors unqualified.
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 16:06:08 -04:00
Rob Rix
f70974e206
Fix up the TypeScript specs.
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 15:57:04 -04:00
Rob Rix
935ac3015f
Line the types up.
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 15:56:00 -04:00
Rob Rix
c9d340affb
Define topologicalSort using the depth-first algorithm.
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 15:55:49 -04:00
Rob Rix
abc872af86
Correct the docs for topologicalSort.
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 15:52:27 -04:00
Patrick Thomson
b42cef4f36
Merge remote-tracking branch 'origin/master' into import-graph-mk2
2018-06-25 15:39:38 -04:00
Patrick Thomson
91894d47cf
Merge remote-tracking branch 'origin/master' into profile-in-new-workdir
2018-06-25 15:37:05 -04:00
Patrick Thomson
9eb470680f
Build --profile builds in a separate stack-work directory.
...
Profiling builds are good and useful, but the fact that you have to
rebuild the world when switching between profiling and and standard
builds makes them too much of a timesink to actually use. This patch
avoids the above effect by keeping profiling build artifacts in a
`.stack-work-profiling` directory. It depends on a few other patches
to ignore said directories in our vendored dependencies.
To test, install `profiteur` and `hp2pretty`, run
`script/profile "parse $SOME_SOURCE_FILE"`, then break for lunch. You
should get nice information from the profiling system without
recompiling on further `stack build` invocations.
I learned this from [Matt Parsons](https://twitter.com/mattoflambda/status/997599878216802305 ).
2018-06-25 15:34:20 -04:00
Rick Winfrey
78d4d444a0
Merge pull request #1986 from github/haskell-enhancement
...
Complete Haskell Assignment
2018-06-25 11:32:57 -07:00
Rick Winfrey
a279d96985
Update test fixtures
2018-06-25 11:20:30 -07:00
Rick Winfrey
f90f3a913e
Add back support for datatype declarations with no constructors
2018-06-25 11:17:23 -07:00
Rick Winfrey
1c56c1a1b4
Replace enum syntax constructors with a single constructor
2018-06-25 11:14:07 -07:00
Rob Rix
1ac4b8d006
Inline the definitiion of edgeCountsByVertex.
2018-06-25 13:05:22 -04:00
Rob Rix
091a341de4
Test topological sort on a -> b -> c.
...
This test fails.
2018-06-25 13:02:49 -04:00
Rob Rix
2e3636c015
Test topological sort on a -> b.
2018-06-25 13:02:37 -04:00
Rob Rix
f451d2bacd
📝 topologicalSort.
2018-06-25 12:57:12 -04:00
Rob Rix
95bad99319
Just modify for now.
2018-06-25 12:53:33 -04:00
Rob Rix
3fb45b5d50
Preserve the structure of the data we’re testing against.
2018-06-25 12:27:30 -04:00
Rob Rix
76185ed450
Use irrefutable patterns in the PHP specs.
2018-06-25 12:02:50 -04:00
Rob Rix
cb4938ef92
Add all the modules to the Go specs.
2018-06-25 11:59:27 -04:00
Rob Rix
525f025e73
Use irrefutable patterns in the Go specs.
2018-06-25 11:56:42 -04:00
Rob Rix
bfd79c062d
🔥 the “evaluates” prefix.
2018-06-25 11:55:54 -04:00
Rob Rix
65d85e682d
Use irrefutable patterns in the Python import specs.
2018-06-25 11:55:00 -04:00
Rob Rix
7ae66f18ea
Just say Python.
2018-06-25 11:51:17 -04:00
Rob Rix
7552099085
Use a State effect to work around https://github.com/joshvera/effects/issues/47
2018-06-25 11:38:05 -04:00