1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00
Commit Graph

31 Commits

Author SHA1 Message Date
Rob Rix
4531c9afc7 🔥 Prologue’s re-export of MonadError. 2018-10-25 10:21:14 -04:00
Rob Rix
131cae4d7b Merge branch 'master' into higher-order-effects 2018-10-24 14:04:13 -04:00
Patrick Thomson
ef696d3c41 Split up Semantic.IO.
This looks like a big patch, but it's very straightforward: no
behavior has changed.

After the umpteenth time spent hitting a compile error because I
passed a `FilePath` rather than a `File` to `readBlobFromPath`, I
decided to finally make the needed refactors to Semantic.IO, and to
split off the `File` type and `Files` effect. This patch:

* adds the `MonadIO` class to `Prologue`'s export list
* moves `File` into `Data.File`
* moves `Handle` into `Data.Handle`
* moves `Files` into `Semantic.Task.Files`
* moves functions for reading blobs into `Data.Blob`
* keeps general IO helpers in Semantic.IO
* renames `readFile` to `readBlobFromFile`
* renames `readBlobFromPath` to `readBlobFromFile'`

This should have a positive effect on compile times and ease of
navigation throughout the codebase.
2018-10-23 15:37:49 -04:00
Rob Rix
034e2469ff Bump higher-order-effects. 2018-10-22 10:26:15 -04:00
Rob Rix
c9e6912068 Port most of the system over to higher-order-effects. 2018-10-16 18:48:08 -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
19eb04c51e 🔥 project entry points. 2018-06-21 13:33:12 -04:00
Patrick Thomson
cfbfd0e16e so much less code needed! 2018-06-18 11:40:01 -04:00
Patrick Thomson
62d238df09 🔥 Preluded and make prelude paths simpler/explicit
Preluded was overengineered anyway.
2018-06-15 11:49:26 -04:00
Patrick Thomson
19e7ff7510 Reinstate import graph functionality. 2018-06-13 12:47:35 -04:00
Patrick Thomson
36d5b7562a Revert "gRPC import graph" 2018-06-13 12:34:35 -04:00
Patrick Thomson
bb6a4b0a8a last few fixes 2018-06-13 12:08:42 -04:00
Patrick Thomson
17bf0fa3a7 fix bogus instances 2018-06-12 14:42:49 -04:00
Patrick Thomson
248eb4f207 clarify 2018-06-12 14:13:45 -04:00
Patrick Thomson
63fdf40cb0 Concrete was a lousy name 2018-06-12 14:10:28 -04:00
Patrick Thomson
9c758ad3fe Lint 2018-06-12 14:00:51 -04:00
Patrick Thomson
e661e49f73 kill trace 2018-06-12 12:11:37 -04:00
Patrick Thomson
30c7d0d554 formatting 2018-06-12 12:07:17 -04:00
Patrick Thomson
f0b96e793d remove unused functions 2018-06-12 11:54:25 -04:00
Patrick Thomson
c950e3af37 huge simplifications 2018-06-12 11:34:40 -04:00
Patrick Thomson
39cf6c3551 whoops 2018-06-11 17:10:44 -04:00
Patrick Thomson
084129cde0 preliminary implementation of findFiles 2018-06-11 16:18:16 -04:00
Patrick Thomson
ea1b44085a fix bumps in the road 2018-06-11 14:43:35 -04:00
Patrick Thomson
14b01603e4 it works as long as you package the prelude and comment out Util 2018-06-08 14:40:12 -04:00
Patrick Thomson
a90d70fa36 generalize Project 2018-06-08 12:41:07 -04:00
Patrick Thomson
4a7ebf71dd Merge remote-tracking branch 'origin/master' into fix-maybe-language 2018-06-04 18:33:03 -04:00
Patrick Thomson
16066c1f7d fewer spurious changes 2018-06-04 18:10:00 -04:00
Patrick Thomson
2a8e02856b tentative commit to move from Maybe Language to Language.
should fix a lot of issues around decoding Maybe Language fields.
2018-06-04 14:54:30 -04:00
Patrick Thomson
64fd3b0fcc Use Text rather than ByteString for Name values. 2018-05-30 18:16:39 -04:00
Timothy Clem
f81ea4bff5 s/File/Project b/c that makes more sense to me 2018-05-16 08:38:00 -07:00