daml/libs-haskell/da-hs-base
Neil Mitchell ee3b62c380
Clean up the logging in hie-core (#1839)
* Move prettyPosition over to a more sensible place

* Avoid some pretty printing

* Remove duplicate methods and switch to having a function to get the logger handle

* Remove unncessary bits of the logger

* Remove reportSeriousErrorDie - was unused

* Rename the Logger methods to Logger rather than Handle

* Delete the unique supply

* Decrease the use of getServiceEnv

* Move getIdeOptions inside Service

* Add getFilesOfInterest rule

* Hide the existence of Env

* Inline some redundant forwarding methods

* Add a FIXME for a dodgy function

* Delete some redundant imports

* Rename Map to HMap, since I need to use Data.Map too

* Make the Shake-specific Diagnostics functions into that module

* Delete errorDiag which was unused

* Inline the diagnostic function, since it had one user

* Add ofInterest rule as a separate module

* Sort the exposed modules

* Fix up the demo

* Make sure you add the OfInterestVar global

* HLint

* Get rid of some of interest stuff in other places

* Remove the OfInterest stuff from Service
2019-06-24 12:46:51 +01:00
..
src Clean up the logging in hie-core (#1839) 2019-06-24 12:46:51 +01:00
tests Remove use of managed for starting the scenario service (#1508) 2019-06-04 17:17:05 +02:00
BUILD.bazel Delete prettyprinter-syntax (#1829) 2019-06-24 08:00:42 +01:00
LICENSE open-sourcing daml 2019-04-04 09:33:38 +01:00
README.md open-sourcing daml 2019-04-04 09:33:38 +01:00

Base library for DA Haskell code

The libraries provided by Hackage adapted to the needs of DA.

The intention of this version of this library published as part of Simon Meier's HaskellerZ talk on 2016-01-27 is that it serves as an inspirational source for how to adapt Hackage to a company's needs. DA currently does not plan to provide an officially supported version of this library. However, we very much encourage people to take and reshape this code into a library that allows to share this kind of Hackage-adaption-code.

Slides Video