spachetti/20190105 -> spachetti/20190131
This commit is contained in:
parent
2e3e7097e6
commit
80cdc6187d
|
@ -1,118 +1,8 @@
|
||||||
{-
|
|
||||||
Welcome to Spacchetti local packages!
|
|
||||||
|
|
||||||
Below are instructions for how to edit this file for most use
|
|
||||||
cases, so that you don't need to know Dhall to use it.
|
|
||||||
|
|
||||||
## Warning: Don't Move This Top-Level Comment!
|
|
||||||
|
|
||||||
Due to how `dhall format` currently works, this comment's
|
|
||||||
instructions cannot appear near corresponding sections below
|
|
||||||
because `dhall format` will delete the comment. However,
|
|
||||||
it will not delete a top-level comment like this one.
|
|
||||||
|
|
||||||
## Use Cases
|
|
||||||
|
|
||||||
Most will want to do one or both of these options:
|
|
||||||
1. Override/Patch a package's dependency
|
|
||||||
2. Add a package not already in the default package set
|
|
||||||
|
|
||||||
This file will continue to work whether you use one or both options.
|
|
||||||
Instructions for each option are explained below.
|
|
||||||
|
|
||||||
### Overriding/Patching a package
|
|
||||||
|
|
||||||
Purpose:
|
|
||||||
- Change a package's dependency to a newer/older release than the
|
|
||||||
default package set's release
|
|
||||||
- Use your own modified version of some dependency that may
|
|
||||||
include new API, changed API, removed API by
|
|
||||||
using your custom git repo of the library rather than
|
|
||||||
the package set's repo
|
|
||||||
|
|
||||||
Syntax:
|
|
||||||
Replace the overrides' "{=}" (an empty record) with the following idea
|
|
||||||
The "//" or "⫽" means "merge these two records and
|
|
||||||
when they have the same value, use the one on the right:"
|
|
||||||
-------------------------------
|
|
||||||
let override =
|
|
||||||
{ packageName =
|
|
||||||
upstream.packageName ⫽ { updateEntity1 = "new value", updateEntity2 = "new value" }
|
|
||||||
, packageName =
|
|
||||||
upstream.packageName ⫽ { version = "v4.0.0" }
|
|
||||||
, packageName =
|
|
||||||
upstream.packageName // { repo = "https://www.example.com/path/to/new/repo.git" }
|
|
||||||
}
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
Example:
|
|
||||||
-------------------------------
|
|
||||||
let overrides =
|
|
||||||
{ halogen =
|
|
||||||
upstream.halogen ⫽ { version = "master" }
|
|
||||||
, halogen-vdom =
|
|
||||||
upstream.halogen-vdom ⫽ { version = "v4.0.0" }
|
|
||||||
}
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
### Additions
|
|
||||||
|
|
||||||
Purpose:
|
|
||||||
- Add packages that aren't alread included in the default package set
|
|
||||||
|
|
||||||
Syntax:
|
|
||||||
Replace the additions' "{=}" (an empty record) with the following idea:
|
|
||||||
-------------------------------
|
|
||||||
let additions =
|
|
||||||
{ "package-name" =
|
|
||||||
mkPackage
|
|
||||||
[ "dependency1"
|
|
||||||
, "dependency2"
|
|
||||||
]
|
|
||||||
"https://example.com/path/to/git/repo.git"
|
|
||||||
"tag ('v4.0.0') or branch ('master')"
|
|
||||||
, "package-name" =
|
|
||||||
mkPackage
|
|
||||||
[ "dependency1"
|
|
||||||
, "dependency2"
|
|
||||||
]
|
|
||||||
"https://example.com/path/to/git/repo.git"
|
|
||||||
"tag ('v4.0.0') or branch ('master')"
|
|
||||||
, etc.
|
|
||||||
}
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
Example:
|
|
||||||
-------------------------------
|
|
||||||
let additions =
|
|
||||||
{ benchotron =
|
|
||||||
mkPackage
|
|
||||||
[ "arrays"
|
|
||||||
, "exists"
|
|
||||||
, "profunctor"
|
|
||||||
, "strings"
|
|
||||||
, "quickcheck"
|
|
||||||
, "lcg"
|
|
||||||
, "transformers"
|
|
||||||
, "foldable-traversable"
|
|
||||||
, "exceptions"
|
|
||||||
, "node-fs"
|
|
||||||
, "node-buffer"
|
|
||||||
, "node-readline"
|
|
||||||
, "datetime"
|
|
||||||
, "now"
|
|
||||||
]
|
|
||||||
"https://github.com/hdgarrood/purescript-benchotron.git"
|
|
||||||
"v7.0.0"
|
|
||||||
}
|
|
||||||
-------------------------------
|
|
||||||
-}
|
|
||||||
|
|
||||||
let mkPackage =
|
let mkPackage =
|
||||||
https://raw.githubusercontent.com/spacchetti/spacchetti/20190105/src/mkPackage.dhall sha256:8e1c6636f8a089f972b21cde0cef4b33fa36a2e503ad4c77928aabf92d2d4ec9
|
https://raw.githubusercontent.com/spacchetti/spacchetti/20190131/src/mkPackage.dhall sha256:8e1c6636f8a089f972b21cde0cef4b33fa36a2e503ad4c77928aabf92d2d4ec9
|
||||||
|
|
||||||
let upstream =
|
let upstream =
|
||||||
https://raw.githubusercontent.com/spacchetti/spacchetti/20190105/src/packages.dhall sha256:38fc3e19c193bb006c773ac84fc4a2888e5dcc610d36e49a9bdef7ecc7e1f8c9
|
https://raw.githubusercontent.com/spacchetti/spacchetti/20190131/src/packages.dhall sha256:b08ac97c4447bd49d5c5fef40d95ff181def4a84672f84b79035d01e59d53905
|
||||||
|
|
||||||
let overrides = {=}
|
let overrides = {=}
|
||||||
|
|
||||||
|
|
|
@ -182,6 +182,18 @@ var PS = {};
|
||||||
var $foreign = PS["Record.Unsafe"];
|
var $foreign = PS["Record.Unsafe"];
|
||||||
exports["unsafeGet"] = $foreign.unsafeGet;
|
exports["unsafeGet"] = $foreign.unsafeGet;
|
||||||
})(PS["Record.Unsafe"] = PS["Record.Unsafe"] || {});
|
})(PS["Record.Unsafe"] = PS["Record.Unsafe"] || {});
|
||||||
|
(function(exports) {
|
||||||
|
// Generated by purs version 0.12.2
|
||||||
|
"use strict";
|
||||||
|
var RLProxy = (function () {
|
||||||
|
function RLProxy() {
|
||||||
|
|
||||||
|
};
|
||||||
|
RLProxy.value = new RLProxy();
|
||||||
|
return RLProxy;
|
||||||
|
})();
|
||||||
|
exports["RLProxy"] = RLProxy;
|
||||||
|
})(PS["Type.Data.RowList"] = PS["Type.Data.RowList"] || {});
|
||||||
(function(exports) {
|
(function(exports) {
|
||||||
// Generated by purs version 0.12.2
|
// Generated by purs version 0.12.2
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -5386,21 +5398,6 @@ var PS = {};
|
||||||
var readProp = unsafeReadProp;
|
var readProp = unsafeReadProp;
|
||||||
exports["readProp"] = readProp;
|
exports["readProp"] = readProp;
|
||||||
})(PS["Foreign.Index"] = PS["Foreign.Index"] || {});
|
})(PS["Foreign.Index"] = PS["Foreign.Index"] || {});
|
||||||
(function(exports) {
|
|
||||||
// Generated by purs version 0.12.2
|
|
||||||
"use strict";
|
|
||||||
var Type_Data_Boolean = PS["Type.Data.Boolean"];
|
|
||||||
var Type_Data_Symbol = PS["Type.Data.Symbol"];
|
|
||||||
var Type_Equality = PS["Type.Equality"];
|
|
||||||
var RLProxy = (function () {
|
|
||||||
function RLProxy() {
|
|
||||||
|
|
||||||
};
|
|
||||||
RLProxy.value = new RLProxy();
|
|
||||||
return RLProxy;
|
|
||||||
})();
|
|
||||||
exports["RLProxy"] = RLProxy;
|
|
||||||
})(PS["Type.Row"] = PS["Type.Row"] || {});
|
|
||||||
(function(exports) {
|
(function(exports) {
|
||||||
// Generated by purs version 0.12.2
|
// Generated by purs version 0.12.2
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -5411,6 +5408,7 @@ var PS = {};
|
||||||
var Prelude = PS["Prelude"];
|
var Prelude = PS["Prelude"];
|
||||||
var Record_Unsafe = PS["Record.Unsafe"];
|
var Record_Unsafe = PS["Record.Unsafe"];
|
||||||
var Record_Unsafe_Union = PS["Record.Unsafe.Union"];
|
var Record_Unsafe_Union = PS["Record.Unsafe.Union"];
|
||||||
|
var Type_Data_RowList = PS["Type.Data.RowList"];
|
||||||
var Type_Row = PS["Type.Row"];
|
var Type_Row = PS["Type.Row"];
|
||||||
var Unsafe_Coerce = PS["Unsafe.Coerce"];
|
var Unsafe_Coerce = PS["Unsafe.Coerce"];
|
||||||
var get = function (dictIsSymbol) {
|
var get = function (dictIsSymbol) {
|
||||||
|
@ -5521,8 +5519,8 @@ var PS = {};
|
||||||
var Prelude = PS["Prelude"];
|
var Prelude = PS["Prelude"];
|
||||||
var Record = PS["Record"];
|
var Record = PS["Record"];
|
||||||
var Record_Builder = PS["Record.Builder"];
|
var Record_Builder = PS["Record.Builder"];
|
||||||
|
var Type_Data_RowList = PS["Type.Data.RowList"];
|
||||||
var Type_Prelude = PS["Type.Prelude"];
|
var Type_Prelude = PS["Type.Prelude"];
|
||||||
var Type_Row = PS["Type.Row"];
|
|
||||||
var WriteForeign = function (writeImpl) {
|
var WriteForeign = function (writeImpl) {
|
||||||
this.writeImpl = writeImpl;
|
this.writeImpl = writeImpl;
|
||||||
};
|
};
|
||||||
|
@ -5551,7 +5549,7 @@ var PS = {};
|
||||||
var recordWriteForeign = function (dictRowToList) {
|
var recordWriteForeign = function (dictRowToList) {
|
||||||
return function (dictWriteForeignFields) {
|
return function (dictWriteForeignFields) {
|
||||||
return new WriteForeign(function (rec) {
|
return new WriteForeign(function (rec) {
|
||||||
var steps = writeImplFields(dictWriteForeignFields)(Type_Row.RLProxy.value)(rec);
|
var steps = writeImplFields(dictWriteForeignFields)(Type_Data_RowList.RLProxy.value)(rec);
|
||||||
return Foreign.unsafeToForeign(Record_Builder.build(steps)({}));
|
return Foreign.unsafeToForeign(Record_Builder.build(steps)({}));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -5569,7 +5567,7 @@ var PS = {};
|
||||||
return function (dictCons1) {
|
return function (dictCons1) {
|
||||||
return new WriteForeignFields(function (v) {
|
return new WriteForeignFields(function (v) {
|
||||||
return function (rec) {
|
return function (rec) {
|
||||||
var rest = writeImplFields(dictWriteForeignFields)(Type_Row.RLProxy.value)(rec);
|
var rest = writeImplFields(dictWriteForeignFields)(Type_Data_RowList.RLProxy.value)(rec);
|
||||||
var value = writeImpl(dictWriteForeign)(Record.get(dictIsSymbol)(dictCons)(Data_Symbol.SProxy.value)(rec));
|
var value = writeImpl(dictWriteForeign)(Record.get(dictIsSymbol)(dictCons)(Data_Symbol.SProxy.value)(rec));
|
||||||
var result = Control_Semigroupoid.compose(Record_Builder.semigroupoidBuilder)(Record_Builder.insert(dictCons1)(dictLacks)(dictIsSymbol)(Data_Symbol.SProxy.value)(value))(rest);
|
var result = Control_Semigroupoid.compose(Record_Builder.semigroupoidBuilder)(Record_Builder.insert(dictCons1)(dictLacks)(dictIsSymbol)(Data_Symbol.SProxy.value)(value))(rest);
|
||||||
return result;
|
return result;
|
||||||
|
@ -8237,14 +8235,17 @@ var PS = {};
|
||||||
return CatCons;
|
return CatCons;
|
||||||
})();
|
})();
|
||||||
var link = function (v) {
|
var link = function (v) {
|
||||||
return function (cat) {
|
return function (v1) {
|
||||||
if (v instanceof CatNil) {
|
if (v instanceof CatNil) {
|
||||||
return cat;
|
return v1;
|
||||||
|
};
|
||||||
|
if (v1 instanceof CatNil) {
|
||||||
|
return v;
|
||||||
};
|
};
|
||||||
if (v instanceof CatCons) {
|
if (v instanceof CatCons) {
|
||||||
return new CatCons(v.value0, Data_CatQueue.snoc(v.value1)(cat));
|
return new CatCons(v.value0, Data_CatQueue.snoc(v.value1)(v1));
|
||||||
};
|
};
|
||||||
throw new Error("Failed pattern match at Data.CatList (line 111, column 1 - line 111, column 54): " + [ v.constructor.name, cat.constructor.name ]);
|
throw new Error("Failed pattern match at Data.CatList (line 109, column 1 - line 109, column 54): " + [ v.constructor.name, v1.constructor.name ]);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
var foldr = function (k) {
|
var foldr = function (k) {
|
||||||
|
@ -8268,7 +8269,7 @@ var PS = {};
|
||||||
$copy_v1 = v1.value1;
|
$copy_v1 = v1.value1;
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
throw new Error("Failed pattern match at Data.CatList (line 126, column 3 - line 126, column 59): " + [ v.constructor.name, c.constructor.name, v1.constructor.name ]);
|
throw new Error("Failed pattern match at Data.CatList (line 125, column 3 - line 125, column 59): " + [ v.constructor.name, c.constructor.name, v1.constructor.name ]);
|
||||||
};
|
};
|
||||||
while (!$tco_done) {
|
while (!$tco_done) {
|
||||||
$tco_result = $tco_loop($tco_var_v, $tco_var_c, $copy_v1);
|
$tco_result = $tco_loop($tco_var_v, $tco_var_c, $copy_v1);
|
||||||
|
@ -8297,7 +8298,7 @@ var PS = {};
|
||||||
$copy_ys = new Data_List_Types.Cons(k(v.value0.value0), ys);
|
$copy_ys = new Data_List_Types.Cons(k(v.value0.value0), ys);
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
throw new Error("Failed pattern match at Data.CatList (line 122, column 14 - line 124, column 67): " + [ v.constructor.name ]);
|
throw new Error("Failed pattern match at Data.CatList (line 121, column 14 - line 123, column 67): " + [ v.constructor.name ]);
|
||||||
};
|
};
|
||||||
while (!$tco_done) {
|
while (!$tco_done) {
|
||||||
$tco_result = $tco_loop($tco_var_xs, $copy_ys);
|
$tco_result = $tco_loop($tco_var_xs, $copy_ys);
|
||||||
|
@ -8315,27 +8316,17 @@ var PS = {};
|
||||||
};
|
};
|
||||||
if (v instanceof CatCons) {
|
if (v instanceof CatCons) {
|
||||||
return new Data_Maybe.Just(new Data_Tuple.Tuple(v.value0, (function () {
|
return new Data_Maybe.Just(new Data_Tuple.Tuple(v.value0, (function () {
|
||||||
var $45 = Data_CatQueue["null"](v.value1);
|
var $44 = Data_CatQueue["null"](v.value1);
|
||||||
if ($45) {
|
if ($44) {
|
||||||
return CatNil.value;
|
return CatNil.value;
|
||||||
};
|
};
|
||||||
return foldr(link)(CatNil.value)(v.value1);
|
return foldr(link)(CatNil.value)(v.value1);
|
||||||
})()));
|
})()));
|
||||||
};
|
};
|
||||||
throw new Error("Failed pattern match at Data.CatList (line 102, column 1 - line 102, column 61): " + [ v.constructor.name ]);
|
throw new Error("Failed pattern match at Data.CatList (line 100, column 1 - line 100, column 61): " + [ v.constructor.name ]);
|
||||||
};
|
};
|
||||||
var empty = CatNil.value;
|
var empty = CatNil.value;
|
||||||
var append = function (v) {
|
var append = link;
|
||||||
return function (v1) {
|
|
||||||
if (v1 instanceof CatNil) {
|
|
||||||
return v;
|
|
||||||
};
|
|
||||||
if (v instanceof CatNil) {
|
|
||||||
return v1;
|
|
||||||
};
|
|
||||||
return link(v)(v1);
|
|
||||||
};
|
|
||||||
};
|
|
||||||
var semigroupCatList = new Data_Semigroup.Semigroup(append);
|
var semigroupCatList = new Data_Semigroup.Semigroup(append);
|
||||||
var snoc = function (cat) {
|
var snoc = function (cat) {
|
||||||
return function (a) {
|
return function (a) {
|
||||||
|
|
Binary file not shown.
2
static/js/app.min.js
vendored
2
static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in a new issue