Update for PureScript 0.15 (#194)

* Update shell and packages

* Fix code for 0.15

* Fix tests

* Format

* Add check-pulp command

* Generate bowerfile

* Add check-pulp to CI

* Add nixfmt to formatting

* Fixup test helpers

* Take 2

* PR comments (#1)

* Nix cleanup from PR

* Use arrows functions

* Remove unnecessary step

Co-authored-by: Connor Prussin <connor@prussin.net>
This commit is contained in:
Thomas Honeyman
2022-05-04 17:02:29 -04:00
committed by GitHub
parent bc93c23f21
commit 42bf4475e0
52 changed files with 495 additions and 436 deletions

View File

@@ -1,9 +1,10 @@
module Examples.BinaryResponse.Main where
import Prelude
import Effect.Console (log)
import HTTPure (Headers, Request, ResponseM, ServerM, header, ok', serve)
import Node.FS.Aff (readFile)
import HTTPure (ServerM, Request, ResponseM, Headers, serve, ok', header)
-- | The path to the file containing the response to send
filePath :: String