1
1
mirror of https://github.com/github/semantic.git synced 2025-01-05 05:58:34 +03:00
semantic/test
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
..
Analysis The tests pass. That’s all that matters. 2018-09-25 15:17:06 -05:00
Assigning/Assignment Fix up the tests 2018-09-25 11:18:51 -05:00
Control Merge branch 'master' into first-order-closures 2018-09-27 13:37:25 -05:00
Data Remove Data.Record entirely 2018-09-26 14:05:29 -05:00
Diffing Reduce usage of DiffAnnotation 2018-09-25 16:52:40 -05:00
fixtures Merge branch 'master' into term-rewriting-mk2 2018-09-19 11:51:28 -04:00
Graphing/Calls Split up Semantic.IO. 2018-10-23 15:37:49 -04:00
Integration remove java from integration spec 2018-07-23 15:22:44 -04:00
Matching/Go Fix literals to store text internally. 2018-05-30 22:32:22 -04:00
Numeric Use a hand-written integer parser. 2018-06-25 11:55:32 -04:00
Proto3 One more roundtrip test 2018-09-06 16:29:32 -07:00
Rendering/TOC weirdness in tests 2018-10-16 23:04:39 -04:00
Reprinting Split up Semantic.IO. 2018-10-23 15:37:49 -04:00
Semantic Split up Semantic.IO. 2018-10-23 15:37:49 -04:00
Test/Hspec Upgrade to LTS 12.0. 2018-07-12 17:13:46 -04:00
Doctests.hs Fix the doctests. 2018-08-13 10:20:13 -04:00
Examples.hs Split up Semantic.IO. 2018-10-23 15:37:49 -04:00
Lint.hs We configure language extensions in .hlint.yaml now. 2018-06-19 09:47:08 -04:00
Spec.hs add spec file 2018-09-14 13:10:22 -04:00
SpecHelpers.hs Split up Semantic.IO. 2018-10-23 15:37:49 -04:00