Skip to content

upgrade to purescript 0.14.1 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,46 @@ let additions =


let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.13.6-20200404/packages.dhall sha256:f239f2e215d0cbd5c203307701748581938f74c4c78f4aeffa32c11c131ef7b6
https://github.com/purescript/package-sets/releases/download/psc-0.14.1-20210506/packages.dhall sha256:d199e142515f9cc15838d8e6d724a98cd0ca776ceb426b7b36e841311643e3ef

let overrides = {=}

let additions = {=}
let additions =
{ arraybuffer =
{ dependencies =
[ "effect"
, "arraybuffer-types"
, "maybe"
, "typelevel"
, "uint"
, "float32"
, "partial"
, "nullable"
, "functions"
]
, repo = "https://github.com/jacereda/purescript-arraybuffer.git"
, version = "v10.0.2"
}
, float32 =
{ dependencies =
[ "prelude"
]
, repo = "https://github.com/athanclark/purescript-float32.git"
, version = "v0.2.0"
}
, uint =
{ dependencies =
[ "effect"
, "quickcheck-laws"
, "console"
, "maybe"
, "math"
, "psci-support"
, "quickcheck"
]
, repo = "https://github.com/zaquest/purescript-uint.git"
, version = "v5.1.4"
}
}

in upstream // overrides // additions
4 changes: 2 additions & 2 deletions src/Data/ArrayBuffer/Class.purs
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ decodeArrayBuffer b = readArrayBuffer b 0



class GEncodeArrayBuffer (row :: # Type) (list :: RL.RowList) where
class GEncodeArrayBuffer (row :: Row Type) (list :: RL.RowList Type) where
gPutArrayBuffer :: Record row -> RLProxy list -> Effect (O.Object ArrayBuffer)

instance gEncodeArrayBufferNil :: GEncodeArrayBuffer row RL.Nil where
Expand All @@ -824,7 +824,7 @@ instance gEncodeArrayBufferCons ::
rest <- gPutArrayBuffer row (RLProxy :: RLProxy tail)
pure (O.insert (reflectSymbol sProxy) x rest)

class GDecodeArrayBuffer (row :: # Type) (list :: RL.RowList) | list -> row where
class GDecodeArrayBuffer (row :: Row Type) (list :: RL.RowList Type) | list -> row where
gReadArrayBuffer :: O.Object ArrayBuffer -> RLProxy list -> Effect (Record row)

instance gDecodeArrayBufferNil :: GDecodeArrayBuffer () RL.Nil where
Expand Down