| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
specified independently
|
|
|
| |
This can be useful if you've stored the dependencies of your application in one directory, but have your application in another directory.
|
| |
|
| |
|
|
|
|
| |
(https://github.com/ndmitchell/hoogle/blob/3dbf68bfd701f942d3af2e6debb74a0a78cd392e/docs/API.md#json-api) to get documentation for not indexed packages. Closes #21.
|
| |
|
| |
|
|
|
|
|
|
| |
This commit adds an option to create an on-disk key-value store that contains all the data from PackageInfo of each indexed package in a queriable form. The store can be used by haskell-code-server to respond to API requests. The main benefit of using the store, compared to deserializing and loading PackageInfo of each package into memory, is reduced memory usage (approximately 7 times for a set of Haskell packages).
The key-value store on disk consists of two files: 'index' and 'values'. 'index' is a small file that contains a map from strings to locations in a 'values' file. 'index' file should be deserialized and loaded into memory. 'values' is a large file that contains serialized Haskell data structures. 'values' file can be either read directly (without deserializing) or memory-mapped.
|
| |
|
|
|
|
| |
Vector.fromListN allocates less memory and allows to remove the call to Vector.force before compaction ('compact $ Vector.fromList [1,2,3]' crashes, 'compact $ Vector.fromListN 3 [1,2,3]' doesn't crash)
|
| |
|
|
|
|
| |
When there is no --js-path option, haskell-code-server serves embedded static assets.
|
| |
|
|
|
|
| |
list of references
|
|
|
|
| |
supported yet.
|
|
|