Commit afcab72f authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[simple-json] lots of rewrites for Simple.JSON

Also, spago build used now.
parent 8d5bcec1
......@@ -3587,7 +3587,7 @@
"newtype"
],
"repo": "https://github.com/hdgarrood/purescript-sequences.git",
"version": "v2.1.0"
"version": "v3.0.2"
},
"server-sent-events": {
"dependencies": [
......@@ -3662,6 +3662,13 @@
"repo": "https://github.com/justinwoo/purescript-simple-json.git",
"version": "v8.0.0"
},
"simple-json-generics": {
"dependencies": [
"simple-json"
],
"repo": "https://github.com/justinwoo/purescript-simple-json-generics",
"version": "v0.1.0"
},
"simple-jwt": {
"dependencies": [
"crypto",
......@@ -4159,8 +4166,8 @@
"typelevel",
"unsafe-coerce"
],
"repo": "https://github.com/athanclark/purescript-tuples-native",
"version": "v2.0.1"
"repo": "https://github.com/poorscript/purescript-tuples-native",
"version": "v2.2.0"
},
"turf": {
"dependencies": [
......
......@@ -508,7 +508,7 @@ referring to both the `Read` and `Write` classes:
```purescript
class (Read box val, Write box val) <= ReadWrite box val | box -> val
instance readWrite :: (Read box val, Write box val) => ReadWrite box val
instance (Read box val, Write box val) => ReadWrite box val
```
When you don't care about the current value, you can use `write`, the
......
......@@ -822,11 +822,29 @@
};
"sequences" = {
name = "sequences";
version = "v2.1.0";
version = "v3.0.2";
src = pkgs.fetchgit {
url = "https://github.com/hdgarrood/purescript-sequences.git";
rev = "v2.1.0";
sha256 = "10fkkmmb7qh4p5gmgb6xpxh9g8hy06ddy8cyfrs3py8a5b8h46hw";
rev = "v3.0.2";
sha256 = "0mc0jjs1119c2nyd08yhdmliq3s47lhrdknhziga3lnbzja889k4";
};
};
"simple-json" = {
name = "simple-json";
version = "v8.0.0";
src = pkgs.fetchgit {
url = "https://github.com/justinwoo/purescript-simple-json.git";
rev = "v8.0.0";
sha256 = "0q5hb324m1r5njnxq9wxgy99i0x8sd9mj2drq72i64xxr1k0m8qc";
};
};
"simple-json-generics" = {
name = "simple-json-generics";
version = "v0.1.0";
src = pkgs.fetchgit {
url = "https://github.com/justinwoo/purescript-simple-json-generics";
rev = "v0.1.0";
sha256 = "1izbrh9614yi0lzpnqbn9q7hbllhvvhrgyziganj7rzgphwn3ywx";
};
};
"simplecrypto" = {
......@@ -966,11 +984,11 @@
};
"tuples-native" = {
name = "tuples-native";
version = "v2.0.1";
version = "v2.2.0";
src = pkgs.fetchgit {
url = "https://github.com/athanclark/purescript-tuples-native";
rev = "v2.0.1";
sha256 = "1c8065krignnphiwnws9d5ingfx8k83wqnmd1zadyjlakfdg2b4h";
url = "https://github.com/poorscript/purescript-tuples-native";
rev = "v2.2.0";
sha256 = "0hplpqc2sbcjin084jqzhzqhprlc1achbqmsn9czpnf6ylgkqhaz";
};
};
"type-equality" = {
......@@ -1063,6 +1081,15 @@
sha256 = "0yfb97nk7179hp0r2iylj74wl7rnl1y2x6dh5hlipxg1kpq9yydk";
};
};
"variant" = {
name = "variant";
version = "v7.0.2";
src = pkgs.fetchgit {
url = "https://github.com/natefaubion/purescript-variant.git";
rev = "v7.0.2";
sha256 = "0a555fa2d8kd6rzfv9w64aphr7n6x0cizfp7n71wh5jw07b7hn5y";
};
};
"versions" = {
name = "versions";
version = "v6.0.0";
......
......@@ -38,7 +38,7 @@ let additions =
, "newtype"
]
, repo = "https://github.com/hdgarrood/purescript-sequences.git"
, version = "v2.1.0"
, version = "v3.0.2"
}
, spec-discovery =
{ dependencies = [ "prelude", "effect", "arrays", "spec", "node-fs" ]
......@@ -115,10 +115,16 @@ let additions =
, repo = "https://github.com/irresponsible/purescript-reactix"
, version = "v0.4.11"
}
, simple-json-generics =
{ dependencies =
[ "simple-json" ]
, repo = "https://github.com/justinwoo/purescript-simple-json-generics"
, version = "v0.1.0"
}
, toestand =
{ dependencies = [ "effect", "reactix", "prelude", "record", "tuples", "typelevel-prelude", "typisch" ]
, repo = "https://github.com/poorscript/purescript-toestand"
, version = "v0.6.1"
, version = "v0.6.2"
}
, typisch =
{ dependencies = [ "prelude" ]
......@@ -128,8 +134,8 @@ let additions =
, tuples-native =
{ dependencies =
[ "prelude", "typelevel", "unsafe-coerce" ]
, repo = "https://github.com/athanclark/purescript-tuples-native"
, version = "v2.0.1"
, repo = "https://github.com/poorscript/purescript-tuples-native"
, version = "v2.2.0"
}
, uint =
{ dependencies = [ "maybe", "math" ]
......
{
"aff": {
"dependencies": [
"datetime",
"effect",
"exceptions",
"functions",
"parallel",
"transformers",
"unsafe-coerce"
],
"repo": "https://github.com/slamdata/purescript-aff.git",
"version": "v5.1.1"
},
"aff-bus": {
"dependencies": [
"avar",
"prelude"
],
"repo": "https://github.com/slamdata/purescript-aff-bus.git",
"version": "v4.0.0"
},
"aff-coroutines": {
"dependencies": [
"aff",
"avar",
"console",
"coroutines"
],
"repo": "https://github.com/purescript-contrib/purescript-aff-coroutines.git",
"version": "v7.0.0"
},
"aff-promise": {
"dependencies": [
"aff",
"foreign"
],
"repo": "https://github.com/nwolverson/purescript-aff-promise.git",
"version": "v2.1.0"
},
"affjax": {
"dependencies": [
"aff",
"argonaut-core",
"arraybuffer-types",
"foreign",
"form-urlencoded",
"http-methods",
"integers",
"math",
"media-types",
"nullable",
"refs",
"unsafe-coerce",
"web-xhr"
],
"repo": "https://github.com/slamdata/purescript-affjax.git",
"version": "v9.0.0"
},
"ansi": {
"dependencies": [
"foldable-traversable",
"lists",
"strings"
],
"repo": "https://github.com/hdgarrood/purescript-ansi.git",
"version": "v5.0.0"
},
"argonaut": {
"dependencies": [
"argonaut-codecs",
"argonaut-core",
"argonaut-traversals"
],
"repo": "https://github.com/purescript-contrib/purescript-argonaut.git",
"version": "v6.0.0"
},
"argonaut-codecs": {
"dependencies": [
"argonaut-core",
"arrays",
"foreign-object",
"integers",
"maybe",
"nonempty",
"ordered-collections",
"record"
],
"repo": "https://github.com/purescript-contrib/purescript-argonaut-codecs.git",
"version": "v6.0.2"
},
"argonaut-core": {
"dependencies": [
"arrays",
"control",
"either",
"foreign-object",
"functions",
"gen",
"maybe",
"nonempty",
"prelude",
"strings",
"tailrec"
],
"repo": "https://github.com/purescript-contrib/purescript-argonaut-core.git",
"version": "v5.0.0"
},
"argonaut-generic": {
"dependencies": [
"argonaut-codecs",
"argonaut-core",
"generics-rep",
"record"
],
"repo": "https://github.com/purescript-contrib/purescript-argonaut-generic.git",
"version": "v5.0.0"
},
"argonaut-traversals": {
"dependencies": [
"argonaut-codecs",
"argonaut-core",
"profunctor-lenses"
],
"repo": "https://github.com/purescript-contrib/purescript-argonaut-traversals.git",
"version": "v7.0.0"
},
"array-views": {
"dependencies": [
"arrays",
"control",
"foldable-traversable",
"generics-rep",
"maybe",
"nonempty",
"prelude",
"profunctor",
"tuples",
"unfoldable"
],
"repo": "https://github.com/klntsky/purescript-array-views.git",
"version": "v0.0.2"
},
"arraybuffer": {
"dependencies": [
"arraybuffer-types",
"effect",
"float32",
"functions",
"maybe",
"nullable",
"partial",
"sized-vectors",
"typelevel",
"uint"
],
"repo": "https://github.com/jacereda/purescript-arraybuffer.git",
"version": "v10.0.0"
},
"arraybuffer-types": {
"dependencies": [],
"repo": "https://github.com/purescript-contrib/purescript-arraybuffer-types.git",
"version": "v2.0.0"
},
"arrays": {
"dependencies": [
"bifunctors",
"control",
"foldable-traversable",
"maybe",
"nonempty",
"partial",
"prelude",
"st",
"tailrec",
"tuples",
"unfoldable",
"unsafe-coerce"
],
"repo": "https://github.com/purescript/purescript-arrays.git",
"version": "v5.3.0"
},
"assert": {
"dependencies": [
"console",
"effect",
"prelude"
],
"repo": "https://github.com/purescript/purescript-assert.git",
"version": "v4.1.0"
},
"avar": {
"dependencies": [
"aff",
"effect",
"either",
"exceptions",
"functions",
"maybe"
],
"repo": "https://github.com/slamdata/purescript-avar.git",
"version": "v3.0.0"
},
"b64": {
"dependencies": [
"arraybuffer-types",
"either",
"encoding",
"enums",
"exceptions",
"functions",
"partial",
"prelude",
"strings"
],
"repo": "https://github.com/menelaos/purescript-b64.git",
"version": "v0.0.5"
},
"basic-auth": {
"dependencies": [
"crypto",
"node-http"
],
"repo": "https://github.com/oreshinya/purescript-basic-auth.git",
"version": "v1.0.2"
},
"behaviors": {
"dependencies": [
"effect",
"event",
"filterable",
"nullable",
"ordered-collections",
"prelude",
"web-events",
"web-html",
"web-uievents"
],
"repo": "https://github.com/paf31/purescript-behaviors.git",
"version": "v7.0.0"
},
"bifunctors": {
"dependencies": [
"newtype",
"prelude"
],
"repo": "https://github.com/purescript/purescript-bifunctors.git",
"version": "v4.0.0"
},
"bigints": {
"dependencies": [
"integers",
"maybe",
"strings"
],
"repo": "https://github.com/sharkdp/purescript-bigints.git",
"version": "v4.0.0"
},
"bucketchain": {
"dependencies": [
"aff",
"console",
"node-http",
"node-streams",
"transformers"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain.git",
"version": "v0.3.0"
},
"bucketchain-basic-auth": {
"dependencies": [
"basic-auth",
"bucketchain"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-basic-auth.git",
"version": "v0.2.0"
},
"bucketchain-conditional": {
"dependencies": [
"bucketchain",
"js-date"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-conditional.git",
"version": "v0.2.0"
},
"bucketchain-cors": {
"dependencies": [
"bucketchain",
"bucketchain-header-utils",
"http-methods"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-cors.git",
"version": "v0.2.0"
},
"bucketchain-csrf": {
"dependencies": [
"bucketchain"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-csrf.git",
"version": "v0.1.0"
},
"bucketchain-header-utils": {
"dependencies": [
"bucketchain"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-header-utils.git",
"version": "v0.1.0"
},
"bucketchain-health": {
"dependencies": [
"bucketchain"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-health.git",
"version": "v0.2.0"
},
"bucketchain-history-api-fallback": {
"dependencies": [
"bucketchain"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-history-api-fallback.git",
"version": "v0.2.0"
},
"bucketchain-logger": {
"dependencies": [
"bucketchain",
"js-date",
"node-process"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-logger.git",
"version": "v0.3.0"
},
"bucketchain-secure": {
"dependencies": [
"bucketchain"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-secure.git",
"version": "v0.1.0"
},
"bucketchain-simple-api": {
"dependencies": [
"bucketchain",
"media-types",
"simple-json",
"freet"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-simple-api.git",
"version": "v0.5.0"
},
"bucketchain-sslify": {
"dependencies": [
"bucketchain"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-sslify.git",
"version": "v0.2.0"
},
"bucketchain-static": {
"dependencies": [
"bucketchain",
"node-fs-aff"
],
"repo": "https://github.com/Bucketchain/purescript-bucketchain-static.git",
"version": "v0.3.0"
},
"bytestrings": {
"dependencies": [
"arrays",
"effect",
"exceptions",
"foldable-traversable",
"integers",
"leibniz",
"maybe",
"newtype",
"node-buffer",
"prelude",
"quickcheck",
"quotient",
"unsafe-coerce"
],
"repo": "https://github.com/rightfold/purescript-bytestrings.git",
"version": "v7.0.0"
},
"canvas": {
"dependencies": [
"arraybuffer-types",
"effect",
"exceptions",
"functions",
"maybe"
],
"repo": "https://github.com/purescript-web/purescript-canvas.git",
"version": "v4.0.0"
},
"catenable-lists": {
"dependencies": [
"control",
"foldable-traversable",
"lists",
"maybe",
"prelude",
"tuples",
"unfoldable"
],
"repo": "https://github.com/purescript/purescript-catenable-lists.git",
"version": "v5.0.1"
},
"checked-exceptions": {
"dependencies": [
"prelude",
"transformers",
"variant"
],
"repo": "https://github.com/natefaubion/purescript-checked-exceptions.git",
"version": "v3.0.0"
},
"cheerio": {
"dependencies": [
"console",
"effect",
"functions",
"prelude",
"test-unit"
],
"repo": "https://github.com/icyrockcom/purescript-cheerio.git",
"version": "v0.2.0"
},
"chirashi": {
"dependencies": [
"exceptions",
"prelude",
"typelevel-prelude",
"variant"
],
"repo": "https://github.com/justinwoo/purescript-chirashi.git",
"version": "v1.0.0"
},
"choco-pie": {
"dependencies": [
"event",
"prelude",
"record",
"typelevel-prelude"
],
"repo": "https://github.com/justinwoo/purescript-chocopie.git",
"version": "v5.0.0"
},
"colors": {
"dependencies": [
"arrays",
"integers",
"lists",
"partial",
"strings"
],
"repo": "https://github.com/sharkdp/purescript-colors.git",
"version": "v5.0.0"
},
"concur-react": {
"dependencies": [
"aff",
"arrays",
"avar",
"console",
"foldable-traversable",
"free",
"nonempty",
"react",
"react-dom",
"tailrec",
"web-dom",
"web-html"
],
"repo": "https://github.com/ajnsit/purescript-concur.git",
"version": "v0.3.8"
},
"console": {
"dependencies": [
"effect",
"prelude"
],
"repo": "https://github.com/purescript/purescript-console.git",
"version": "v4.2.0"
},
"const": {
"dependencies": [
"contravariant",
"foldable-traversable",
"invariant",
"newtype",
"prelude"
],
"repo": "https://github.com/purescript/purescript-const.git",
"version": "v4.1.0"
},
"contravariant": {
"dependencies": [
"either",
"newtype",
"prelude",
"tuples"
],
"repo": "https://github.com/purescript/purescript-contravariant.git",
"version": "v4.0.1"
},
"control": {
"dependencies": [
"prelude"
],
"repo": "https://github.com/purescript/purescript-control.git",
"version": "v4.1.0"
},
"coroutines": {
"dependencies": [
"freet",
"parallel",
"profunctor"
],
"repo": "https://github.com/purescript-contrib/purescript-coroutines.git",
"version": "v5.0.0"
},
"crypto": {
"dependencies": [
"node-buffer"
],
"repo": "https://github.com/oreshinya/purescript-crypto.git",
"version": "v2.0.1"
},
"css": {
"dependencies": [
"colors",
"console",
"generics-rep",
"nonempty",
"profunctor",
"strings",
"these",
"transformers"
],
"repo": "https://github.com/slamdata/purescript-css.git",
"version": "v4.0.0"
},
"cssom": {
"dependencies": [
"effect"
],
"repo": "https://github.com/danieljharvey/purescript-cssom.git",
"version": "v0.0.2"
},
"data-algebrae": {
"dependencies": [
"arrays",
"foreign-object",
"generics-rep",
"maybe",
"ordered-collections",
"prelude",
"spec",
"spec-quickcheck"
],
"repo": "https://github.com/i-am-tom/purescript-data-algebrae.git",
"version": "v4.0.0"
},
"datetime": {
"dependencies": [
"bifunctors",
"control",
"either",
"enums",
"foldable-traversable",
"functions",