@explorable-viz/fluid 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/output-es/Affjax/foreign.js +52 -0
- package/output-es/Affjax/index.js +387 -0
- package/output-es/Affjax.RequestBody/index.js +22 -0
- package/output-es/Affjax.RequestHeader/index.js +58 -0
- package/output-es/Affjax.ResponseFormat/index.js +47 -0
- package/output-es/Affjax.ResponseHeader/index.js +19 -0
- package/output-es/Affjax.StatusCode/index.js +8 -0
- package/output-es/Affjax.Web/foreign.js +8 -0
- package/output-es/Affjax.Web/index.js +14 -0
- package/output-es/App.CodeMirror/foreign.js +69 -0
- package/output-es/App.CodeMirror/index.js +3 -0
- package/output-es/App.Fig/index.js +713 -0
- package/output-es/App.LoadFigure/index.js +131 -0
- package/output-es/App.Util/index.js +773 -0
- package/output-es/App.Util.Selector/index.js +273 -0
- package/output-es/App.View/index.js +310 -0
- package/output-es/App.View.BarChart/index.js +153 -0
- package/output-es/App.View.DocView/index.js +40 -0
- package/output-es/App.View.LineChart/index.js +437 -0
- package/output-es/App.View.MatrixView/foreign.js +182 -0
- package/output-es/App.View.MatrixView/index.js +232 -0
- package/output-es/App.View.MultiView/index.js +30 -0
- package/output-es/App.View.Paragraph/index.js +44 -0
- package/output-es/App.View.ScatterPlot/foreign.js +110 -0
- package/output-es/App.View.ScatterPlot/index.js +122 -0
- package/output-es/App.View.Segment/index.js +92 -0
- package/output-es/App.View.StackedBar/index.js +54 -0
- package/output-es/App.View.TableView/index.js +397 -0
- package/output-es/App.View.Text/index.js +157 -0
- package/output-es/App.View.Util/index.js +222 -0
- package/output-es/App.View.Util.Axes/index.js +79 -0
- package/output-es/App.View.Util.D3/foreign.js +263 -0
- package/output-es/App.View.Util.D3/index.js +678 -0
- package/output-es/App.View.Util.Point/index.js +3 -0
- package/output-es/Benchmark/index.js +63 -0
- package/output-es/Bind/index.js +24 -0
- package/output-es/Control.Alt/index.js +5 -0
- package/output-es/Control.Alternative/index.js +11 -0
- package/output-es/Control.Applicative/index.js +18 -0
- package/output-es/Control.Apply/foreign.js +15 -0
- package/output-es/Control.Apply/index.js +17 -0
- package/output-es/Control.Biapplicative/index.js +5 -0
- package/output-es/Control.Biapply/index.js +11 -0
- package/output-es/Control.Bind/foreign.js +9 -0
- package/output-es/Control.Bind/index.js +21 -0
- package/output-es/Control.Category/index.js +4 -0
- package/output-es/Control.Comonad/index.js +2 -0
- package/output-es/Control.Comonad.Cofree/index.js +255 -0
- package/output-es/Control.Comonad.Cofree.Class/index.js +43 -0
- package/output-es/Control.Comonad.Env/index.js +8 -0
- package/output-es/Control.Comonad.Env.Class/index.js +17 -0
- package/output-es/Control.Comonad.Env.Trans/index.js +113 -0
- package/output-es/Control.Comonad.Store/index.js +5 -0
- package/output-es/Control.Comonad.Store.Class/index.js +56 -0
- package/output-es/Control.Comonad.Store.Trans/index.js +27 -0
- package/output-es/Control.Comonad.Traced/index.js +4 -0
- package/output-es/Control.Comonad.Traced.Class/index.js +16 -0
- package/output-es/Control.Comonad.Traced.Trans/index.js +28 -0
- package/output-es/Control.Comonad.Trans.Class/index.js +3 -0
- package/output-es/Control.Extend/foreign.js +7 -0
- package/output-es/Control.Extend/index.js +12 -0
- package/output-es/Control.Lazy/index.js +10 -0
- package/output-es/Control.Monad/index.js +27 -0
- package/output-es/Control.Monad.Cont/index.js +6 -0
- package/output-es/Control.Monad.Cont.Class/index.js +3 -0
- package/output-es/Control.Monad.Cont.Trans/index.js +122 -0
- package/output-es/Control.Monad.Error.Class/index.js +83 -0
- package/output-es/Control.Monad.Except/index.js +10 -0
- package/output-es/Control.Monad.Except.Trans/index.js +241 -0
- package/output-es/Control.Monad.Free/index.js +423 -0
- package/output-es/Control.Monad.Free.Class/index.js +45 -0
- package/output-es/Control.Monad.Gen/index.js +132 -0
- package/output-es/Control.Monad.Gen.Class/index.js +6 -0
- package/output-es/Control.Monad.Gen.Common/index.js +44 -0
- package/output-es/Control.Monad.Identity.Trans/index.js +88 -0
- package/output-es/Control.Monad.List.Trans/index.js +536 -0
- package/output-es/Control.Monad.Maybe.Trans/index.js +217 -0
- package/output-es/Control.Monad.RWS/index.js +16 -0
- package/output-es/Control.Monad.RWS.Trans/index.js +260 -0
- package/output-es/Control.Monad.Reader/index.js +6 -0
- package/output-es/Control.Monad.Reader.Class/index.js +11 -0
- package/output-es/Control.Monad.Reader.Trans/index.js +320 -0
- package/output-es/Control.Monad.Rec.Class/index.js +265 -0
- package/output-es/Control.Monad.ST/index.js +1 -0
- package/output-es/Control.Monad.ST.Class/index.js +7 -0
- package/output-es/Control.Monad.ST.Global/index.js +3 -0
- package/output-es/Control.Monad.ST.Internal/foreign.js +90 -0
- package/output-es/Control.Monad.ST.Internal/index.js +75 -0
- package/output-es/Control.Monad.ST.Ref/index.js +1 -0
- package/output-es/Control.Monad.ST.Uncurried/foreign.js +229 -0
- package/output-es/Control.Monad.ST.Uncurried/index.js +39 -0
- package/output-es/Control.Monad.State/index.js +8 -0
- package/output-es/Control.Monad.State.Class/index.js +12 -0
- package/output-es/Control.Monad.State.Trans/index.js +209 -0
- package/output-es/Control.Monad.Trampoline/index.js +9 -0
- package/output-es/Control.Monad.Trans.Class/index.js +3 -0
- package/output-es/Control.Monad.Writer/index.js +6 -0
- package/output-es/Control.Monad.Writer.Class/index.js +14 -0
- package/output-es/Control.Monad.Writer.Trans/index.js +256 -0
- package/output-es/Control.MonadPlus/index.js +4 -0
- package/output-es/Control.Parallel/index.js +49 -0
- package/output-es/Control.Parallel.Class/index.js +191 -0
- package/output-es/Control.Plus/index.js +4 -0
- package/output-es/Control.Promise/foreign.js +24 -0
- package/output-es/Control.Promise/index.js +40 -0
- package/output-es/Control.Semigroupoid/index.js +4 -0
- package/output-es/Data.Argonaut.Core/foreign.js +102 -0
- package/output-es/Data.Argonaut.Core/index.js +72 -0
- package/output-es/Data.Argonaut.Decode/index.js +10 -0
- package/output-es/Data.Argonaut.Decode.Class/index.js +173 -0
- package/output-es/Data.Argonaut.Decode.Combinators/index.js +21 -0
- package/output-es/Data.Argonaut.Decode.Decoders/index.js +463 -0
- package/output-es/Data.Argonaut.Decode.Error/index.js +151 -0
- package/output-es/Data.Argonaut.Decode.Parser/index.js +11 -0
- package/output-es/Data.Argonaut.Encode/index.js +3 -0
- package/output-es/Data.Argonaut.Encode.Class/index.js +114 -0
- package/output-es/Data.Argonaut.Encode.Combinators/index.js +15 -0
- package/output-es/Data.Argonaut.Encode.Encoders/index.js +222 -0
- package/output-es/Data.Argonaut.Gen/index.js +68 -0
- package/output-es/Data.Argonaut.Parser/foreign.js +8 -0
- package/output-es/Data.Argonaut.Parser/index.js +5 -0
- package/output-es/Data.Array/foreign.js +298 -0
- package/output-es/Data.Array/index.js +555 -0
- package/output-es/Data.Array.NonEmpty/index.js +317 -0
- package/output-es/Data.Array.NonEmpty.Internal/foreign.js +77 -0
- package/output-es/Data.Array.NonEmpty.Internal/index.js +90 -0
- package/output-es/Data.Array.Partial/index.js +7 -0
- package/output-es/Data.Array.ST/foreign.js +107 -0
- package/output-es/Data.Array.ST/index.js +82 -0
- package/output-es/Data.Array.ST.Iterator/index.js +83 -0
- package/output-es/Data.Array.ST.Partial/foreign.js +7 -0
- package/output-es/Data.Array.ST.Partial/index.js +9 -0
- package/output-es/Data.ArrayBuffer.Types/index.js +1 -0
- package/output-es/Data.Bifoldable/index.js +149 -0
- package/output-es/Data.Bifunctor/index.js +17 -0
- package/output-es/Data.Bifunctor.Join/index.js +21 -0
- package/output-es/Data.Bitraversable/index.js +195 -0
- package/output-es/Data.Boolean/index.js +2 -0
- package/output-es/Data.BooleanAlgebra/index.js +42 -0
- package/output-es/Data.Bounded/foreign.js +8 -0
- package/output-es/Data.Bounded/index.js +76 -0
- package/output-es/Data.Bounded.Generic/index.js +37 -0
- package/output-es/Data.CatList/index.js +326 -0
- package/output-es/Data.CatQueue/index.js +364 -0
- package/output-es/Data.Char/index.js +5 -0
- package/output-es/Data.Char.Gen/index.js +21 -0
- package/output-es/Data.CodePoint.Unicode/index.js +382 -0
- package/output-es/Data.CodePoint.Unicode.Internal/index.js +5476 -0
- package/output-es/Data.CodePoint.Unicode.Internal.Casing/index.js +1636 -0
- package/output-es/Data.CommutativeRing/index.js +49 -0
- package/output-es/Data.Compactable/index.js +228 -0
- package/output-es/Data.Comparison/index.js +22 -0
- package/output-es/Data.Const/index.js +56 -0
- package/output-es/Data.Coyoneda/index.js +212 -0
- package/output-es/Data.Date/foreign.js +22 -0
- package/output-es/Data.Date/index.js +370 -0
- package/output-es/Data.Date.Component/index.js +451 -0
- package/output-es/Data.Date.Component.Gen/index.js +11 -0
- package/output-es/Data.Date.Gen/index.js +25 -0
- package/output-es/Data.DateTime/foreign.js +33 -0
- package/output-es/Data.DateTime/index.js +131 -0
- package/output-es/Data.DateTime.Gen/index.js +8 -0
- package/output-es/Data.DateTime.Instant/foreign.js +18 -0
- package/output-es/Data.DateTime.Instant/index.js +86 -0
- package/output-es/Data.Decidable/index.js +70 -0
- package/output-es/Data.Decide/index.js +64 -0
- package/output-es/Data.Distributive/index.js +55 -0
- package/output-es/Data.Divide/index.js +47 -0
- package/output-es/Data.Divisible/index.js +17 -0
- package/output-es/Data.DivisionRing/index.js +6 -0
- package/output-es/Data.Either/index.js +242 -0
- package/output-es/Data.Either.Inject/index.js +25 -0
- package/output-es/Data.Either.Nested/index.js +450 -0
- package/output-es/Data.Enum/foreign.js +7 -0
- package/output-es/Data.Enum/index.js +441 -0
- package/output-es/Data.Enum.Gen/index.js +19 -0
- package/output-es/Data.Enum.Generic/index.js +211 -0
- package/output-es/Data.Eq/foreign.js +23 -0
- package/output-es/Data.Eq/index.js +33 -0
- package/output-es/Data.Eq.Generic/index.js +16 -0
- package/output-es/Data.Equivalence/index.js +8 -0
- package/output-es/Data.EuclideanRing/foreign.js +26 -0
- package/output-es/Data.EuclideanRing/index.js +25 -0
- package/output-es/Data.Exists/index.js +4 -0
- package/output-es/Data.Field/index.js +2 -0
- package/output-es/Data.Filterable/index.js +317 -0
- package/output-es/Data.Foldable/foreign.js +25 -0
- package/output-es/Data.Foldable/index.js +394 -0
- package/output-es/Data.FoldableWithIndex/index.js +431 -0
- package/output-es/Data.FormURLEncoded/index.js +110 -0
- package/output-es/Data.Function/index.js +23 -0
- package/output-es/Data.Function.Memoize/index.js +242 -0
- package/output-es/Data.Function.Uncurried/foreign.js +218 -0
- package/output-es/Data.Function.Uncurried/index.js +5 -0
- package/output-es/Data.Functor/foreign.js +10 -0
- package/output-es/Data.Functor/index.js +14 -0
- package/output-es/Data.Functor.App/index.js +87 -0
- package/output-es/Data.Functor.Clown/index.js +24 -0
- package/output-es/Data.Functor.Compose/index.js +131 -0
- package/output-es/Data.Functor.Contravariant/index.js +7 -0
- package/output-es/Data.Functor.Coproduct/index.js +171 -0
- package/output-es/Data.Functor.Coproduct.Inject/index.js +25 -0
- package/output-es/Data.Functor.Coproduct.Nested/index.js +433 -0
- package/output-es/Data.Functor.Costar/index.js +82 -0
- package/output-es/Data.Functor.Flip/index.js +31 -0
- package/output-es/Data.Functor.Invariant/index.js +14 -0
- package/output-es/Data.Functor.Joker/index.js +88 -0
- package/output-es/Data.Functor.Product/index.js +127 -0
- package/output-es/Data.Functor.Product.Nested/index.js +46 -0
- package/output-es/Data.Functor.Product2/index.js +46 -0
- package/output-es/Data.FunctorWithIndex/foreign.js +10 -0
- package/output-es/Data.FunctorWithIndex/index.js +147 -0
- package/output-es/Data.Generic.Rep/index.js +31 -0
- package/output-es/Data.Graph/index.js +370 -0
- package/output-es/Data.HTTP.Method/index.js +223 -0
- package/output-es/Data.HeytingAlgebra/foreign.js +15 -0
- package/output-es/Data.HeytingAlgebra/index.js +104 -0
- package/output-es/Data.HeytingAlgebra.Generic/index.js +76 -0
- package/output-es/Data.Identity/index.js +54 -0
- package/output-es/Data.Int/foreign.js +65 -0
- package/output-es/Data.Int/index.js +122 -0
- package/output-es/Data.Int.Bits/foreign.js +48 -0
- package/output-es/Data.Int.Bits/index.js +4 -0
- package/output-es/Data.Interval/index.js +331 -0
- package/output-es/Data.Interval.Duration/index.js +124 -0
- package/output-es/Data.Interval.Duration.Iso/index.js +423 -0
- package/output-es/Data.JSDate/foreign.js +83 -0
- package/output-es/Data.JSDate/index.js +123 -0
- package/output-es/Data.Lazy/foreign.js +14 -0
- package/output-es/Data.Lazy/index.js +143 -0
- package/output-es/Data.List/index.js +1505 -0
- package/output-es/Data.List.Internal/index.js +155 -0
- package/output-es/Data.List.Lazy/index.js +658 -0
- package/output-es/Data.List.Lazy.NonEmpty/index.js +77 -0
- package/output-es/Data.List.Lazy.Types/index.js +511 -0
- package/output-es/Data.List.NonEmpty/index.js +540 -0
- package/output-es/Data.List.Partial/index.js +37 -0
- package/output-es/Data.List.Types/index.js +841 -0
- package/output-es/Data.List.ZipList/index.js +43 -0
- package/output-es/Data.Map/index.js +80 -0
- package/output-es/Data.Map.Gen/index.js +15 -0
- package/output-es/Data.Map.Internal/index.js +1216 -0
- package/output-es/Data.Maybe/index.js +253 -0
- package/output-es/Data.Maybe.First/index.js +85 -0
- package/output-es/Data.Maybe.Last/index.js +86 -0
- package/output-es/Data.MediaType/index.js +8 -0
- package/output-es/Data.MediaType.Common/index.js +30 -0
- package/output-es/Data.Monoid/index.js +66 -0
- package/output-es/Data.Monoid.Additive/index.js +33 -0
- package/output-es/Data.Monoid.Alternate/index.js +46 -0
- package/output-es/Data.Monoid.Conj/index.js +21 -0
- package/output-es/Data.Monoid.Disj/index.js +21 -0
- package/output-es/Data.Monoid.Dual/index.js +19 -0
- package/output-es/Data.Monoid.Endo/index.js +12 -0
- package/output-es/Data.Monoid.Generic/index.js +11 -0
- package/output-es/Data.Monoid.Multiplicative/index.js +33 -0
- package/output-es/Data.NaturalTransformation/index.js +1 -0
- package/output-es/Data.Newtype/index.js +51 -0
- package/output-es/Data.NonEmpty/index.js +217 -0
- package/output-es/Data.Nullable/foreign.js +12 -0
- package/output-es/Data.Nullable/index.js +53 -0
- package/output-es/Data.Number/foreign.js +80 -0
- package/output-es/Data.Number/index.js +15 -0
- package/output-es/Data.Number.Approximate/index.js +13 -0
- package/output-es/Data.Number.Format/foreign.js +12 -0
- package/output-es/Data.Number.Format/index.js +53 -0
- package/output-es/Data.Op/index.js +13 -0
- package/output-es/Data.Ord/foreign.js +43 -0
- package/output-es/Data.Ord/index.js +161 -0
- package/output-es/Data.Ord.Down/index.js +35 -0
- package/output-es/Data.Ord.Generic/index.js +34 -0
- package/output-es/Data.Ord.Max/index.js +34 -0
- package/output-es/Data.Ord.Min/index.js +34 -0
- package/output-es/Data.Ordering/index.js +35 -0
- package/output-es/Data.Posix/index.js +19 -0
- package/output-es/Data.Posix.Signal/index.js +405 -0
- package/output-es/Data.Predicate/index.js +14 -0
- package/output-es/Data.Profunctor/index.js +13 -0
- package/output-es/Data.Profunctor.Choice/index.js +32 -0
- package/output-es/Data.Profunctor.Closed/index.js +5 -0
- package/output-es/Data.Profunctor.Cochoice/index.js +3 -0
- package/output-es/Data.Profunctor.Costrong/index.js +3 -0
- package/output-es/Data.Profunctor.Join/index.js +13 -0
- package/output-es/Data.Profunctor.Split/index.js +11 -0
- package/output-es/Data.Profunctor.Star/index.js +250 -0
- package/output-es/Data.Profunctor.Strong/index.js +19 -0
- package/output-es/Data.Reflectable/foreign.js +5 -0
- package/output-es/Data.Reflectable/index.js +10 -0
- package/output-es/Data.Ring/foreign.js +12 -0
- package/output-es/Data.Ring/index.js +50 -0
- package/output-es/Data.Ring.Generic/index.js +10 -0
- package/output-es/Data.Semigroup/foreign.js +13 -0
- package/output-es/Data.Semigroup/index.js +25 -0
- package/output-es/Data.Semigroup.First/index.js +14 -0
- package/output-es/Data.Semigroup.Foldable/index.js +143 -0
- package/output-es/Data.Semigroup.Generic/index.js +11 -0
- package/output-es/Data.Semigroup.Last/index.js +14 -0
- package/output-es/Data.Semigroup.Traversable/index.js +39 -0
- package/output-es/Data.Semiring/foreign.js +25 -0
- package/output-es/Data.Semiring/index.js +66 -0
- package/output-es/Data.Semiring.Generic/index.js +52 -0
- package/output-es/Data.Set/index.js +310 -0
- package/output-es/Data.Set.NonEmpty/index.js +198 -0
- package/output-es/Data.Show/foreign.js +59 -0
- package/output-es/Data.Show/index.js +56 -0
- package/output-es/Data.Show.Generic/foreign.js +5 -0
- package/output-es/Data.Show.Generic/index.js +43 -0
- package/output-es/Data.String/index.js +1 -0
- package/output-es/Data.String.CaseInsensitive/index.js +12 -0
- package/output-es/Data.String.CodePoints/foreign.js +107 -0
- package/output-es/Data.String.CodePoints/index.js +201 -0
- package/output-es/Data.String.CodeUnits/foreign.js +116 -0
- package/output-es/Data.String.CodeUnits/index.js +55 -0
- package/output-es/Data.String.Common/foreign.js +52 -0
- package/output-es/Data.String.Common/index.js +6 -0
- package/output-es/Data.String.Gen/index.js +26 -0
- package/output-es/Data.String.NonEmpty/index.js +1 -0
- package/output-es/Data.String.NonEmpty.CaseInsensitive/index.js +12 -0
- package/output-es/Data.String.NonEmpty.CodePoints/index.js +89 -0
- package/output-es/Data.String.NonEmpty.CodeUnits/index.js +98 -0
- package/output-es/Data.String.NonEmpty.Internal/index.js +119 -0
- package/output-es/Data.String.Pattern/index.js +13 -0
- package/output-es/Data.String.Regex/foreign.js +103 -0
- package/output-es/Data.String.Regex/index.js +28 -0
- package/output-es/Data.String.Regex.Flags/index.js +44 -0
- package/output-es/Data.String.Regex.Unsafe/index.js +10 -0
- package/output-es/Data.String.Unicode/index.js +18 -0
- package/output-es/Data.String.Unsafe/foreign.js +11 -0
- package/output-es/Data.String.Unsafe/index.js +4 -0
- package/output-es/Data.Symbol/foreign.js +6 -0
- package/output-es/Data.Symbol/index.js +6 -0
- package/output-es/Data.Time/index.js +119 -0
- package/output-es/Data.Time.Component/index.js +138 -0
- package/output-es/Data.Time.Component.Gen/index.js +7 -0
- package/output-es/Data.Time.Duration/index.js +95 -0
- package/output-es/Data.Time.Duration.Gen/index.js +7 -0
- package/output-es/Data.Time.Gen/index.js +8 -0
- package/output-es/Data.Traversable/foreign.js +52 -0
- package/output-es/Data.Traversable/index.js +303 -0
- package/output-es/Data.Traversable.Accum/index.js +1 -0
- package/output-es/Data.Traversable.Accum.Internal/index.js +35 -0
- package/output-es/Data.TraversableWithIndex/index.js +280 -0
- package/output-es/Data.Tuple/index.js +194 -0
- package/output-es/Data.Tuple.Nested/index.js +290 -0
- package/output-es/Data.Unfoldable/foreign.js +21 -0
- package/output-es/Data.Unfoldable/index.js +45 -0
- package/output-es/Data.Unfoldable1/foreign.js +21 -0
- package/output-es/Data.Unfoldable1/index.js +39 -0
- package/output-es/Data.Unit/foreign.js +1 -0
- package/output-es/Data.Unit/index.js +3 -0
- package/output-es/Data.Void/index.js +12 -0
- package/output-es/Data.Witherable/index.js +371 -0
- package/output-es/Data.Yoneda/index.js +85 -0
- package/output-es/DataType/index.js +276 -0
- package/output-es/Debug/foreign.js +57 -0
- package/output-es/Debug/index.js +13 -0
- package/output-es/Desug/index.js +17 -0
- package/output-es/Desugarable/index.js +3 -0
- package/output-es/Dict/index.js +118 -0
- package/output-es/Effect/foreign.js +51 -0
- package/output-es/Effect/index.js +49 -0
- package/output-es/Effect.Aff/foreign.js +1154 -0
- package/output-es/Effect.Aff/index.js +268 -0
- package/output-es/Effect.Aff.Class/index.js +114 -0
- package/output-es/Effect.Aff.Compat/index.js +14 -0
- package/output-es/Effect.Class/index.js +4 -0
- package/output-es/Effect.Class.Console/index.js +25 -0
- package/output-es/Effect.Console/foreign.js +67 -0
- package/output-es/Effect.Console/index.js +17 -0
- package/output-es/Effect.Exception/foreign.js +45 -0
- package/output-es/Effect.Exception/index.js +14 -0
- package/output-es/Effect.Exception.Unsafe/index.js +4 -0
- package/output-es/Effect.Now/foreign.js +8 -0
- package/output-es/Effect.Now/index.js +16 -0
- package/output-es/Effect.Random/foreign.js +1 -0
- package/output-es/Effect.Random/index.js +17 -0
- package/output-es/Effect.Ref/foreign.js +37 -0
- package/output-es/Effect.Ref/index.js +34 -0
- package/output-es/Effect.Uncurried/foreign.js +229 -0
- package/output-es/Effect.Uncurried/index.js +386 -0
- package/output-es/Effect.Unsafe/foreign.js +3 -0
- package/output-es/Effect.Unsafe/index.js +3 -0
- package/output-es/Eval/index.js +951 -0
- package/output-es/ExitCodes/index.js +461 -0
- package/output-es/Expr/index.js +1732 -0
- package/output-es/File/index.js +125 -0
- package/output-es/Fluid/index.js +229 -0
- package/output-es/Foreign/foreign.js +19 -0
- package/output-es/Foreign/index.js +171 -0
- package/output-es/Foreign.Index/foreign.js +11 -0
- package/output-es/Foreign.Index/index.js +80 -0
- package/output-es/Foreign.Keys/foreign.js +9 -0
- package/output-es/Foreign.Keys/index.js +28 -0
- package/output-es/Foreign.Object/foreign.js +116 -0
- package/output-es/Foreign.Object/index.js +304 -0
- package/output-es/Foreign.Object.Gen/index.js +13 -0
- package/output-es/Foreign.Object.ST/foreign.js +37 -0
- package/output-es/Foreign.Object.ST/index.js +9 -0
- package/output-es/Foreign.Object.ST.Unsafe/foreign.js +5 -0
- package/output-es/Foreign.Object.ST.Unsafe/index.js +3 -0
- package/output-es/Foreign.Object.Unsafe/foreign.js +5 -0
- package/output-es/Foreign.Object.Unsafe/index.js +3 -0
- package/output-es/GaloisConnection/index.js +72 -0
- package/output-es/Graph/index.js +279 -0
- package/output-es/Graph.GraphImpl/index.js +296 -0
- package/output-es/Graph.Slice/index.js +125 -0
- package/output-es/Graph.WithGraph/index.js +190 -0
- package/output-es/JSURI/foreign.js +61 -0
- package/output-es/JSURI/index.js +10 -0
- package/output-es/Lattice/index.js +397 -0
- package/output-es/Link/index.js +84 -0
- package/output-es/Module/index.js +317 -0
- package/output-es/Module.Node/index.js +95 -0
- package/output-es/Module.Web/index.js +79 -0
- package/output-es/ModuleGraph/index.js +1 -0
- package/output-es/Node.Buffer/foreign.js +33 -0
- package/output-es/Node.Buffer/index.js +191 -0
- package/output-es/Node.Buffer.Class/index.js +48 -0
- package/output-es/Node.Buffer.Constants/foreign.js +5 -0
- package/output-es/Node.Buffer.Constants/index.js +3 -0
- package/output-es/Node.Buffer.Immutable/foreign.js +45 -0
- package/output-es/Node.Buffer.Immutable/index.js +121 -0
- package/output-es/Node.Buffer.ST/index.js +98 -0
- package/output-es/Node.Buffer.Types/index.js +36 -0
- package/output-es/Node.Encoding/foreign.js +3 -0
- package/output-es/Node.Encoding/index.js +55 -0
- package/output-es/Node.EventEmitter/foreign.js +24 -0
- package/output-es/Node.EventEmitter/index.js +142 -0
- package/output-es/Node.EventEmitter.UtilTypes/index.js +1 -0
- package/output-es/Node.FS/index.js +27 -0
- package/output-es/Node.FS.Aff/index.js +132 -0
- package/output-es/Node.FS.Async/foreign.js +28 -0
- package/output-es/Node.FS.Async/index.js +241 -0
- package/output-es/Node.FS.Constants/foreign.js +17 -0
- package/output-es/Node.FS.Constants/index.js +103 -0
- package/output-es/Node.FS.Perms/index.js +125 -0
- package/output-es/Node.FS.Stats/foreign.js +27 -0
- package/output-es/Node.FS.Stats/index.js +102 -0
- package/output-es/Node.FS.Stream/foreign.js +11 -0
- package/output-es/Node.FS.Stream/index.js +20 -0
- package/output-es/Node.FS.Sync/foreign.js +30 -0
- package/output-es/Node.FS.Sync/index.js +258 -0
- package/output-es/Node.Path/foreign.js +30 -0
- package/output-es/Node.Path/index.js +3 -0
- package/output-es/Node.Platform/index.js +104 -0
- package/output-es/Node.Process/foreign.js +65 -0
- package/output-es/Node.Process/index.js +180 -0
- package/output-es/Node.Stream/foreign.js +97 -0
- package/output-es/Node.Stream/index.js +310 -0
- package/output-es/Node.Stream.Aff/index.js +445 -0
- package/output-es/Node.Symbol/foreign.js +3 -0
- package/output-es/Node.Symbol/index.js +12 -0
- package/output-es/Options.Applicative/index.js +1 -0
- package/output-es/Options.Applicative.BashCompletion/index.js +417 -0
- package/output-es/Options.Applicative.Builder/index.js +505 -0
- package/output-es/Options.Applicative.Builder.Completer/foreign.js +8 -0
- package/output-es/Options.Applicative.Builder.Completer/index.js +133 -0
- package/output-es/Options.Applicative.Builder.Internal/index.js +122 -0
- package/output-es/Options.Applicative.Common/index.js +497 -0
- package/output-es/Options.Applicative.Extra/index.js +273 -0
- package/output-es/Options.Applicative.Help/index.js +3 -0
- package/output-es/Options.Applicative.Help.Chunk/index.js +229 -0
- package/output-es/Options.Applicative.Help.Core/index.js +450 -0
- package/output-es/Options.Applicative.Help.Levenshtein/index.js +22 -0
- package/output-es/Options.Applicative.Help.Pretty/index.js +1 -0
- package/output-es/Options.Applicative.Help.Types/index.js +112 -0
- package/output-es/Options.Applicative.Internal/index.js +447 -0
- package/output-es/Options.Applicative.Internal.Utils/index.js +36 -0
- package/output-es/Options.Applicative.Types/index.js +979 -0
- package/output-es/PSCI.Support/index.js +15 -0
- package/output-es/Parse/index.js +2003 -0
- package/output-es/Parse.Number/index.js +390 -0
- package/output-es/Parse.Parser/index.js +428 -0
- package/output-es/Parsing/index.js +342 -0
- package/output-es/Parsing.Combinators/index.js +901 -0
- package/output-es/Parsing.Combinators.Array/index.js +131 -0
- package/output-es/Parsing.Expr/index.js +317 -0
- package/output-es/Parsing.Indent/index.js +492 -0
- package/output-es/Parsing.Language/index.js +224 -0
- package/output-es/Parsing.String/index.js +378 -0
- package/output-es/Parsing.String.Basic/index.js +236 -0
- package/output-es/Parsing.String.Replace/index.js +342 -0
- package/output-es/Parsing.Token/index.js +1980 -0
- package/output-es/Partial/foreign.js +5 -0
- package/output-es/Partial/index.js +6 -0
- package/output-es/Partial.Unsafe/foreign.js +5 -0
- package/output-es/Partial.Unsafe/index.js +8 -0
- package/output-es/Prelude/index.js +13 -0
- package/output-es/Pretty/index.js +1334 -0
- package/output-es/Pretty.Doc/index.js +139 -0
- package/output-es/Pretty.Util/index.js +90 -0
- package/output-es/Primitive/index.js +304 -0
- package/output-es/Primitive.Defs/index.js +872 -0
- package/output-es/Primitive.Parse/index.js +93 -0
- package/output-es/Random.LCG/index.js +35 -0
- package/output-es/Record/index.js +23 -0
- package/output-es/Record.Builder/foreign.js +44 -0
- package/output-es/Record.Builder/index.js +20 -0
- package/output-es/Record.Unsafe/foreign.js +38 -0
- package/output-es/Record.Unsafe/index.js +9 -0
- package/output-es/Record.Unsafe.Union/foreign.js +14 -0
- package/output-es/Record.Unsafe.Union/index.js +4 -0
- package/output-es/SExpr/index.js +3972 -0
- package/output-es/Safe.Coerce/index.js +3 -0
- package/output-es/Test.Assert/foreign.js +21 -0
- package/output-es/Test.Assert/index.js +37 -0
- package/output-es/Test.Benchmark.Util/foreign.js +3 -0
- package/output-es/Test.Benchmark.Util/index.js +273 -0
- package/output-es/Test.QuickCheck/index.js +297 -0
- package/output-es/Test.QuickCheck.Arbitrary/index.js +482 -0
- package/output-es/Test.QuickCheck.Gen/foreign.js +10 -0
- package/output-es/Test.QuickCheck.Gen/index.js +270 -0
- package/output-es/Test.Specs.Bwd/index.js +220 -0
- package/output-es/Test.Specs.Comments/index.js +25 -0
- package/output-es/Test.Specs.Desugar/index.js +17 -0
- package/output-es/Test.Specs.Graphics/index.js +7 -0
- package/output-es/Test.Specs.LinkedInputs/index.js +52 -0
- package/output-es/Test.Specs.LinkedOutputs/index.js +61 -0
- package/output-es/Test.Specs.Misc/index.js +35 -0
- package/output-es/Test.Specs.Paragraph/index.js +5 -0
- package/output-es/Test.Test/index.js +106 -0
- package/output-es/Test.Util/index.js +239 -0
- package/output-es/Test.Util.Debug/index.js +6 -0
- package/output-es/Test.Util.Debug.Defaults/index.js +16 -0
- package/output-es/Test.Util.Mocha/foreign.js +55 -0
- package/output-es/Test.Util.Mocha/index.js +21 -0
- package/output-es/Test.Util.Puppeteer/index.js +83 -0
- package/output-es/Test.Util.Suite/index.js +197 -0
- package/output-es/Text.PrettyPrint.Leijen/index.js +700 -0
- package/output-es/Toppokki/foreign.js +170 -0
- package/output-es/Toppokki/index.js +122 -0
- package/output-es/Type.Data.Boolean/index.js +21 -0
- package/output-es/Type.Data.Ordering/index.js +56 -0
- package/output-es/Type.Data.Symbol/index.js +7 -0
- package/output-es/Type.Equality/index.js +5 -0
- package/output-es/Type.Function/index.js +1 -0
- package/output-es/Type.Prelude/index.js +1 -0
- package/output-es/Type.Proxy/index.js +51 -0
- package/output-es/Type.Row/index.js +1 -0
- package/output-es/Type.Row.Homogeneous/index.js +4 -0
- package/output-es/Type.RowList/index.js +10 -0
- package/output-es/Unsafe.Coerce/foreign.js +5 -0
- package/output-es/Unsafe.Coerce/index.js +3 -0
- package/output-es/Util/index.js +340 -0
- package/output-es/Util.Map/foreign.js +13 -0
- package/output-es/Util.Map/index.js +129 -0
- package/output-es/Util.Pair/index.js +90 -0
- package/output-es/Util.Set/index.js +75 -0
- package/output-es/Val/index.js +1771 -0
- package/output-es/Web.DOM/index.js +1 -0
- package/output-es/Web.DOM.CharacterData/foreign.js +61 -0
- package/output-es/Web.DOM.CharacterData/index.js +13 -0
- package/output-es/Web.DOM.ChildNode/foreign.js +5 -0
- package/output-es/Web.DOM.ChildNode/index.js +3 -0
- package/output-es/Web.DOM.Comment/index.js +13 -0
- package/output-es/Web.DOM.DOMTokenList/foreign.js +49 -0
- package/output-es/Web.DOM.DOMTokenList/index.js +15 -0
- package/output-es/Web.DOM.Document/foreign.js +112 -0
- package/output-es/Web.DOM.Document/index.js +75 -0
- package/output-es/Web.DOM.DocumentFragment/index.js +13 -0
- package/output-es/Web.DOM.DocumentType/foreign.js +9 -0
- package/output-es/Web.DOM.DocumentType/index.js +11 -0
- package/output-es/Web.DOM.Element/foreign.js +210 -0
- package/output-es/Web.DOM.Element/index.js +101 -0
- package/output-es/Web.DOM.HTMLCollection/foreign.js +27 -0
- package/output-es/Web.DOM.HTMLCollection/index.js +25 -0
- package/output-es/Web.DOM.Internal.Types/index.js +1 -0
- package/output-es/Web.DOM.MutationObserver/foreign.js +29 -0
- package/output-es/Web.DOM.MutationObserver/index.js +4 -0
- package/output-es/Web.DOM.MutationRecord/foreign.js +53 -0
- package/output-es/Web.DOM.MutationRecord/index.js +66 -0
- package/output-es/Web.DOM.Node/foreign.js +153 -0
- package/output-es/Web.DOM.Node/index.js +147 -0
- package/output-es/Web.DOM.NodeList/foreign.js +19 -0
- package/output-es/Web.DOM.NodeList/index.js +15 -0
- package/output-es/Web.DOM.NodeType/index.js +199 -0
- package/output-es/Web.DOM.NonDocumentTypeChildNode/foreign.js +11 -0
- package/output-es/Web.DOM.NonDocumentTypeChildNode/index.js +19 -0
- package/output-es/Web.DOM.NonElementParentNode/foreign.js +7 -0
- package/output-es/Web.DOM.NonElementParentNode/index.js +15 -0
- package/output-es/Web.DOM.ParentNode/foreign.js +28 -0
- package/output-es/Web.DOM.ParentNode/index.js +35 -0
- package/output-es/Web.DOM.ProcessingInstruction/foreign.js +5 -0
- package/output-es/Web.DOM.ProcessingInstruction/index.js +15 -0
- package/output-es/Web.DOM.ShadowRoot/foreign.js +9 -0
- package/output-es/Web.DOM.ShadowRoot/index.js +23 -0
- package/output-es/Web.DOM.Text/foreign.js +13 -0
- package/output-es/Web.DOM.Text/index.js +15 -0
- package/output-es/Web.Event.CustomEvent/foreign.js +18 -0
- package/output-es/Web.Event.CustomEvent/index.js +20 -0
- package/output-es/Web.Event.Event/foreign.js +51 -0
- package/output-es/Web.Event.Event/index.js +23 -0
- package/output-es/Web.Event.EventPhase/index.js +99 -0
- package/output-es/Web.Event.EventTarget/foreign.js +51 -0
- package/output-es/Web.Event.EventTarget/index.js +3 -0
- package/output-es/Web.Event.Internal.Types/index.js +1 -0
- package/output-es/Web.File.Blob/foreign.js +19 -0
- package/output-es/Web.File.Blob/index.js +18 -0
- package/output-es/Web.File.File/foreign.js +2 -0
- package/output-es/Web.File.File/index.js +13 -0
- package/output-es/Web.File.FileList/foreign.js +7 -0
- package/output-es/Web.File.FileList/index.js +16 -0
- package/output-es/Web.File.FileReader/foreign.js +51 -0
- package/output-es/Web.File.FileReader/index.js +19 -0
- package/output-es/Web.File.FileReader.ReadyState/index.js +94 -0
- package/output-es/Web.File.Url/foreign.js +11 -0
- package/output-es/Web.File.Url/index.js +3 -0
- package/output-es/Web.HTML/foreign.js +4 -0
- package/output-es/Web.HTML/index.js +3 -0
- package/output-es/Web.HTML.Common/index.js +15 -0
- package/output-es/Web.HTML.Event.BeforeUnloadEvent/foreign.js +13 -0
- package/output-es/Web.HTML.Event.BeforeUnloadEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.BeforeUnloadEvent.EventTypes/index.js +2 -0
- package/output-es/Web.HTML.Event.DataTransfer/foreign.js +55 -0
- package/output-es/Web.HTML.Event.DataTransfer/index.js +63 -0
- package/output-es/Web.HTML.Event.DataTransfer.DataTransferItem/foreign.js +23 -0
- package/output-es/Web.HTML.Event.DataTransfer.DataTransferItem/index.js +41 -0
- package/output-es/Web.HTML.Event.DragEvent/foreign.js +3 -0
- package/output-es/Web.HTML.Event.DragEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.DragEvent.EventTypes/index.js +9 -0
- package/output-es/Web.HTML.Event.ErrorEvent/foreign.js +15 -0
- package/output-es/Web.HTML.Event.ErrorEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.EventTypes/index.js +68 -0
- package/output-es/Web.HTML.Event.HashChangeEvent/foreign.js +7 -0
- package/output-es/Web.HTML.Event.HashChangeEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.HashChangeEvent.EventTypes/index.js +2 -0
- package/output-es/Web.HTML.Event.PageTransitionEvent/foreign.js +3 -0
- package/output-es/Web.HTML.Event.PageTransitionEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.PageTransitionEvent.EventTypes/index.js +3 -0
- package/output-es/Web.HTML.Event.PopStateEvent/foreign.js +3 -0
- package/output-es/Web.HTML.Event.PopStateEvent/index.js +7 -0
- package/output-es/Web.HTML.Event.PopStateEvent.EventTypes/index.js +2 -0
- package/output-es/Web.HTML.Event.TrackEvent/index.js +5 -0
- package/output-es/Web.HTML.Event.TrackEvent.EventTypes/index.js +3 -0
- package/output-es/Web.HTML.HTMLAnchorElement/foreign.js +117 -0
- package/output-es/Web.HTML.HTMLAnchorElement/index.js +36 -0
- package/output-es/Web.HTML.HTMLAreaElement/foreign.js +133 -0
- package/output-es/Web.HTML.HTMLAreaElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLAudioElement/foreign.js +9 -0
- package/output-es/Web.HTML.HTMLAudioElement/index.js +40 -0
- package/output-es/Web.HTML.HTMLBRElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLBaseElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLBaseElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLBodyElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLButtonElement/foreign.js +223 -0
- package/output-es/Web.HTML.HTMLButtonElement/index.js +73 -0
- package/output-es/Web.HTML.HTMLCanvasElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLCanvasElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLDListElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLDataElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLDataElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLDataListElement/foreign.js +5 -0
- package/output-es/Web.HTML.HTMLDataListElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLDivElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLDocument/foreign.js +39 -0
- package/output-es/Web.HTML.HTMLDocument/index.js +76 -0
- package/output-es/Web.HTML.HTMLDocument.ReadyState/index.js +52 -0
- package/output-es/Web.HTML.HTMLDocument.VisibilityState/index.js +42 -0
- package/output-es/Web.HTML.HTMLElement/foreign.js +194 -0
- package/output-es/Web.HTML.HTMLElement/index.js +66 -0
- package/output-es/Web.HTML.HTMLEmbedElement/foreign.js +61 -0
- package/output-es/Web.HTML.HTMLEmbedElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLFieldSetElement/foreign.js +103 -0
- package/output-es/Web.HTML.HTMLFieldSetElement/index.js +44 -0
- package/output-es/Web.HTML.HTMLFormElement/foreign.js +181 -0
- package/output-es/Web.HTML.HTMLFormElement/index.js +58 -0
- package/output-es/Web.HTML.HTMLHRElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLHeadElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLHeadingElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLHtmlElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLHyperlinkElementUtils/foreign.js +165 -0
- package/output-es/Web.HTML.HTMLHyperlinkElementUtils/index.js +26 -0
- package/output-es/Web.HTML.HTMLIFrameElement/foreign.js +91 -0
- package/output-es/Web.HTML.HTMLIFrameElement/index.js +52 -0
- package/output-es/Web.HTML.HTMLImageElement/foreign.js +215 -0
- package/output-es/Web.HTML.HTMLImageElement/index.js +140 -0
- package/output-es/Web.HTML.HTMLImageElement.CORSMode/index.js +43 -0
- package/output-es/Web.HTML.HTMLImageElement.DecodingHint/index.js +53 -0
- package/output-es/Web.HTML.HTMLImageElement.Laziness/index.js +43 -0
- package/output-es/Web.HTML.HTMLInputElement/foreign.js +727 -0
- package/output-es/Web.HTML.HTMLInputElement/index.js +171 -0
- package/output-es/Web.HTML.HTMLKeygenElement/foreign.js +151 -0
- package/output-es/Web.HTML.HTMLKeygenElement/index.js +64 -0
- package/output-es/Web.HTML.HTMLLIElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLLIElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLLabelElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLLabelElement/index.js +52 -0
- package/output-es/Web.HTML.HTMLLegendElement/foreign.js +5 -0
- package/output-es/Web.HTML.HTMLLegendElement/index.js +44 -0
- package/output-es/Web.HTML.HTMLLinkElement/foreign.js +133 -0
- package/output-es/Web.HTML.HTMLLinkElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLMapElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLMapElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLMediaElement/foreign.js +295 -0
- package/output-es/Web.HTML.HTMLMediaElement/index.js +103 -0
- package/output-es/Web.HTML.HTMLMediaElement.CanPlayType/index.js +52 -0
- package/output-es/Web.HTML.HTMLMediaElement.NetworkState/index.js +109 -0
- package/output-es/Web.HTML.HTMLMediaElement.ReadyState/index.js +124 -0
- package/output-es/Web.HTML.HTMLMetaElement/foreign.js +45 -0
- package/output-es/Web.HTML.HTMLMetaElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLMeterElement/foreign.js +101 -0
- package/output-es/Web.HTML.HTMLMeterElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLModElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLModElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLOListElement/foreign.js +45 -0
- package/output-es/Web.HTML.HTMLOListElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLObjectElement/foreign.js +167 -0
- package/output-es/Web.HTML.HTMLObjectElement/index.js +74 -0
- package/output-es/Web.HTML.HTMLOptGroupElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLOptGroupElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLOptionElement/foreign.js +109 -0
- package/output-es/Web.HTML.HTMLOptionElement/index.js +44 -0
- package/output-es/Web.HTML.HTMLOutputElement/foreign.js +119 -0
- package/output-es/Web.HTML.HTMLOutputElement/index.js +60 -0
- package/output-es/Web.HTML.HTMLParagraphElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLParamElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLParamElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLPreElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLProgressElement/foreign.js +45 -0
- package/output-es/Web.HTML.HTMLProgressElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLQuoteElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLQuoteElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLScriptElement/foreign.js +109 -0
- package/output-es/Web.HTML.HTMLScriptElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLSelectElement/foreign.js +223 -0
- package/output-es/Web.HTML.HTMLSelectElement/index.js +73 -0
- package/output-es/Web.HTML.HTMLSourceElement/foreign.js +45 -0
- package/output-es/Web.HTML.HTMLSourceElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLSpanElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLStyleElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLStyleElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTableCaptionElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLTableCellElement/foreign.js +37 -0
- package/output-es/Web.HTML.HTMLTableCellElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTableColElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLTableColElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTableDataCellElement/index.js +36 -0
- package/output-es/Web.HTML.HTMLTableElement/foreign.js +153 -0
- package/output-es/Web.HTML.HTMLTableElement/index.js +103 -0
- package/output-es/Web.HTML.HTMLTableHeaderCellElement/foreign.js +29 -0
- package/output-es/Web.HTML.HTMLTableHeaderCellElement/index.js +38 -0
- package/output-es/Web.HTML.HTMLTableRowElement/foreign.js +41 -0
- package/output-es/Web.HTML.HTMLTableRowElement/index.js +38 -0
- package/output-es/Web.HTML.HTMLTableSectionElement/foreign.js +25 -0
- package/output-es/Web.HTML.HTMLTableSectionElement/index.js +38 -0
- package/output-es/Web.HTML.HTMLTemplateElement/foreign.js +5 -0
- package/output-es/Web.HTML.HTMLTemplateElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTextAreaElement/foreign.js +403 -0
- package/output-es/Web.HTML.HTMLTextAreaElement/index.js +107 -0
- package/output-es/Web.HTML.HTMLTimeElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLTimeElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTitleElement/foreign.js +13 -0
- package/output-es/Web.HTML.HTMLTitleElement/index.js +34 -0
- package/output-es/Web.HTML.HTMLTrackElement/foreign.js +84 -0
- package/output-es/Web.HTML.HTMLTrackElement/index.js +44 -0
- package/output-es/Web.HTML.HTMLTrackElement.ReadyState/index.js +109 -0
- package/output-es/Web.HTML.HTMLUListElement/index.js +32 -0
- package/output-es/Web.HTML.HTMLVideoElement/foreign.js +63 -0
- package/output-es/Web.HTML.HTMLVideoElement/index.js +38 -0
- package/output-es/Web.HTML.History/foreign.js +49 -0
- package/output-es/Web.HTML.History/index.js +16 -0
- package/output-es/Web.HTML.Location/foreign.js +169 -0
- package/output-es/Web.HTML.Location/index.js +25 -0
- package/output-es/Web.HTML.Navigator/foreign.js +29 -0
- package/output-es/Web.HTML.Navigator/index.js +3 -0
- package/output-es/Web.HTML.SelectionMode/index.js +62 -0
- package/output-es/Web.HTML.ValidityState/foreign.js +3 -0
- package/output-es/Web.HTML.ValidityState/index.js +15 -0
- package/output-es/Web.HTML.Window/foreign.js +239 -0
- package/output-es/Web.HTML.Window/index.js +86 -0
- package/output-es/Web.Internal.FFI/foreign.js +20 -0
- package/output-es/Web.Internal.FFI/index.js +5 -0
- package/output-es/Web.Storage.Event.StorageEvent/foreign.js +19 -0
- package/output-es/Web.Storage.Event.StorageEvent/index.js +13 -0
- package/output-es/Web.Storage.Storage/foreign.js +45 -0
- package/output-es/Web.Storage.Storage/index.js +52 -0
- package/output-es/Web.XHR.EventTypes/index.js +8 -0
- package/output-es/Web.XHR.FormData/foreign.js +32 -0
- package/output-es/Web.XHR.FormData/index.js +52 -0
- package/output-es/Web.XHR.ProgressEvent/foreign.js +11 -0
- package/output-es/Web.XHR.ProgressEvent/index.js +7 -0
- package/output-es/Web.XHR.ReadyState/index.js +99 -0
- package/output-es/Web.XHR.ResponseType/index.js +5 -0
- package/output-es/Web.XHR.XMLHttpRequest/foreign.js +41 -0
- package/output-es/Web.XHR.XMLHttpRequest/index.js +95 -0
- package/output-es/Web.XHR.XMLHttpRequestUpload/index.js +3 -0
- package/output-es/Website.Test.Article.EnergyScatter/index.js +12 -0
- package/output-es/Website.Test.Article.RenewablesLinked/index.js +14 -0
- package/output-es/package.json +1 -0
- package/output-es/runtime.js +33 -0
- package/package.json +3 -2
- package/script/install-website.sh +8 -1
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
// | This module defines the random generator monad used by the `Test.QuickCheck`
|
|
2
|
+
// | module, as well as helper functions for constructing random generators.
|
|
3
|
+
import * as $runtime from "../runtime.js";
|
|
4
|
+
import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js";
|
|
5
|
+
import * as Control$dMonad$dState$dTrans from "../Control.Monad.State.Trans/index.js";
|
|
6
|
+
import * as Data$dArray from "../Data.Array/index.js";
|
|
7
|
+
import * as Data$dArray$dNonEmpty$dInternal from "../Data.Array.NonEmpty.Internal/index.js";
|
|
8
|
+
import * as Data$dFunctor from "../Data.Functor/index.js";
|
|
9
|
+
import * as Data$dIdentity from "../Data.Identity/index.js";
|
|
10
|
+
import * as Data$dInt from "../Data.Int/index.js";
|
|
11
|
+
import * as Data$dList$dTypes from "../Data.List.Types/index.js";
|
|
12
|
+
import * as Data$dMaybe from "../Data.Maybe/index.js";
|
|
13
|
+
import * as Data$dNumber from "../Data.Number/index.js";
|
|
14
|
+
import * as Data$dOrd from "../Data.Ord/index.js";
|
|
15
|
+
import * as Data$dTuple from "../Data.Tuple/index.js";
|
|
16
|
+
import * as Data$dUnfoldable from "../Data.Unfoldable/index.js";
|
|
17
|
+
import * as Random$dLCG from "../Random.LCG/index.js";
|
|
18
|
+
import {float32ToInt32} from "./foreign.js";
|
|
19
|
+
const monadStateStateT = /* #__PURE__ */ Control$dMonad$dState$dTrans.monadStateStateT(Data$dIdentity.monadIdentity);
|
|
20
|
+
const bindStateT = /* #__PURE__ */ Control$dMonad$dState$dTrans.bindStateT(Data$dIdentity.monadIdentity);
|
|
21
|
+
const functorStateT = {
|
|
22
|
+
map: f => v => s => {
|
|
23
|
+
const $0 = v(s);
|
|
24
|
+
return Data$dTuple.$Tuple(f($0._1), $0._2);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
const toUnfoldable = /* #__PURE__ */ (() => Data$dUnfoldable.unfoldableArray.unfoldr(xs => {
|
|
28
|
+
if (xs.tag === "Nil") { return Data$dMaybe.Nothing; }
|
|
29
|
+
if (xs.tag === "Cons") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(xs._1, xs._2)); }
|
|
30
|
+
$runtime.fail();
|
|
31
|
+
}))();
|
|
32
|
+
const min = x => y => {
|
|
33
|
+
const v = Data$dOrd.ordNumber.compare(x)(y);
|
|
34
|
+
if (v === "LT") { return x; }
|
|
35
|
+
if (v === "EQ") { return x; }
|
|
36
|
+
if (v === "GT") { return y; }
|
|
37
|
+
$runtime.fail();
|
|
38
|
+
};
|
|
39
|
+
const max = x => y => {
|
|
40
|
+
const v = Data$dOrd.ordNumber.compare(x)(y);
|
|
41
|
+
if (v === "LT") { return y; }
|
|
42
|
+
if (v === "EQ") { return x; }
|
|
43
|
+
if (v === "GT") { return x; }
|
|
44
|
+
$runtime.fail();
|
|
45
|
+
};
|
|
46
|
+
const foldMap1 = /* #__PURE__ */ (() => Data$dArray$dNonEmpty$dInternal.foldable1NonEmptyArray.foldMap1({append: v => v1 => v + v1}))();
|
|
47
|
+
const unGen = v => v;
|
|
48
|
+
const runGen = x => x$1 => x(x$1);
|
|
49
|
+
const stateful = f => monadStateStateT.state(s => f(s)(s));
|
|
50
|
+
const sized = f => monadStateStateT.state(s => f(s.size)(s));
|
|
51
|
+
const variant = n => g => monadStateStateT.state(s => g({newSeed: n, size: s.size}));
|
|
52
|
+
const resize = sz => g => monadStateStateT.state(v => {
|
|
53
|
+
const $0 = g({newSeed: v.newSeed, size: sz});
|
|
54
|
+
return Data$dTuple.$Tuple($0._1, {size: v.size, newSeed: $0._2.newSeed});
|
|
55
|
+
});
|
|
56
|
+
const replicateMRec = dictMonadRec => {
|
|
57
|
+
const Monad0 = dictMonadRec.Monad0();
|
|
58
|
+
const $0 = Monad0.Applicative0();
|
|
59
|
+
const $1 = Monad0.Bind1().Apply0().Functor0();
|
|
60
|
+
return v => v1 => {
|
|
61
|
+
if (v <= 0) { return $0.pure(Data$dList$dTypes.Nil); }
|
|
62
|
+
return dictMonadRec.tailRecM(v2 => {
|
|
63
|
+
if (v2._2 === 0) { return $0.pure(Control$dMonad$dRec$dClass.$Step("Done", v2._1)); }
|
|
64
|
+
const $2 = v2._1;
|
|
65
|
+
const $3 = v2._2;
|
|
66
|
+
return $1.map(x => Control$dMonad$dRec$dClass.$Step("Loop", Data$dTuple.$Tuple(Data$dList$dTypes.$List("Cons", x, $2), $3 - 1 | 0)))(v1);
|
|
67
|
+
})(Data$dTuple.$Tuple(Data$dList$dTypes.Nil, v));
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
const repeatable = f => monadStateStateT.state(s => Data$dTuple.$Tuple(a => f(a)(s)._1, {newSeed: Random$dLCG.lcgPerturb(0)(s.newSeed), size: s.size}));
|
|
71
|
+
const perturbGen = n => gen => bindStateT.bind((() => {
|
|
72
|
+
const $0 = monadStateStateT.state(s => {
|
|
73
|
+
const s$p = {...s, newSeed: Random$dLCG.lcgPerturb(float32ToInt32(n))(s.newSeed)};
|
|
74
|
+
return Data$dTuple.$Tuple(s$p, s$p);
|
|
75
|
+
});
|
|
76
|
+
return s => Data$dTuple.$Tuple(undefined, $0(s)._2);
|
|
77
|
+
})())(() => gen);
|
|
78
|
+
const monadRecGen = /* #__PURE__ */ Control$dMonad$dState$dTrans.monadRecStateT(Control$dMonad$dRec$dClass.monadRecIdentity);
|
|
79
|
+
const monadGen = {
|
|
80
|
+
Applicative0: () => Control$dMonad$dState$dTrans.applicativeStateT(Data$dIdentity.monadIdentity),
|
|
81
|
+
Bind1: () => Control$dMonad$dState$dTrans.bindStateT(Data$dIdentity.monadIdentity)
|
|
82
|
+
};
|
|
83
|
+
const listOf = /* #__PURE__ */ replicateMRec(monadRecGen);
|
|
84
|
+
const lcgStep = /* #__PURE__ */ (() => monadStateStateT.state(s => Data$dTuple.$Tuple(s.newSeed, {...s, newSeed: Random$dLCG.lcgPerturb(0)(s.newSeed)})))();
|
|
85
|
+
const lazyGen = Control$dMonad$dState$dTrans.lazyStateT;
|
|
86
|
+
const functorGen = functorStateT;
|
|
87
|
+
const uniform = s => {
|
|
88
|
+
const $0 = lcgStep(s);
|
|
89
|
+
return Data$dTuple.$Tuple(Data$dInt.toNumber($0._1) / Data$dInt.toNumber(2147483647), $0._2);
|
|
90
|
+
};
|
|
91
|
+
const vectorOf = k => g => {
|
|
92
|
+
const $0 = listOf(k)(g);
|
|
93
|
+
return s => {
|
|
94
|
+
const $1 = $0(s);
|
|
95
|
+
return Data$dTuple.$Tuple(toUnfoldable($1._1), $1._2);
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
const evalGen = x => s => x(s)._1;
|
|
99
|
+
const randomSampleOne = gen => () => {
|
|
100
|
+
const seed = Random$dLCG.randomSeed();
|
|
101
|
+
return gen({newSeed: seed, size: 10})._1;
|
|
102
|
+
};
|
|
103
|
+
const sample = seed => sz => g => vectorOf(sz)(g)({newSeed: seed, size: sz})._1;
|
|
104
|
+
const randomSample$p = n => g => () => {
|
|
105
|
+
const seed = Random$dLCG.randomSeed();
|
|
106
|
+
return vectorOf(n)(g)({newSeed: seed, size: n})._1;
|
|
107
|
+
};
|
|
108
|
+
const randomSample = /* #__PURE__ */ randomSample$p(10);
|
|
109
|
+
const choose = a => b => {
|
|
110
|
+
const min$p = min(a)(b) * 0.5;
|
|
111
|
+
const $0 = max(a)(b) * 0.5 - min$p;
|
|
112
|
+
return s => {
|
|
113
|
+
const $1 = uniform(s);
|
|
114
|
+
return Data$dTuple.$Tuple((min$p + $0 * $1._1) * 2.0, $1._2);
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
const bindGen = bindStateT;
|
|
118
|
+
const frequency = xxs => {
|
|
119
|
+
const $$default = (() => {
|
|
120
|
+
if (0 < xxs.length) { return xxs[0]._2; }
|
|
121
|
+
$runtime.fail();
|
|
122
|
+
})();
|
|
123
|
+
const pick = pick$a0$copy => pick$a1$copy => {
|
|
124
|
+
let pick$a0 = pick$a0$copy, pick$a1 = pick$a1$copy, pick$c = true, pick$r;
|
|
125
|
+
while (pick$c) {
|
|
126
|
+
const i = pick$a0, n = pick$a1;
|
|
127
|
+
if (i >= 0 && i < xxs.length) {
|
|
128
|
+
if (n <= xxs[i]._1) {
|
|
129
|
+
pick$c = false;
|
|
130
|
+
pick$r = xxs[i]._2;
|
|
131
|
+
continue;
|
|
132
|
+
}
|
|
133
|
+
pick$a0 = i + 1 | 0;
|
|
134
|
+
pick$a1 = n - xxs[i]._1;
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
pick$c = false;
|
|
138
|
+
pick$r = $$default;
|
|
139
|
+
}
|
|
140
|
+
return pick$r;
|
|
141
|
+
};
|
|
142
|
+
return bindStateT.bind(choose(0.0)(foldMap1(x => x._1)(xxs)))(n => pick(0)(n));
|
|
143
|
+
};
|
|
144
|
+
const applyGen = /* #__PURE__ */ Control$dMonad$dState$dTrans.applyStateT(Data$dIdentity.monadIdentity);
|
|
145
|
+
const chooseInt$p = a => b => {
|
|
146
|
+
const numB = Data$dInt.toNumber(b);
|
|
147
|
+
const numA = Data$dInt.toNumber(a);
|
|
148
|
+
const $0 = applyGen.apply(s => {
|
|
149
|
+
const $0 = lcgStep(s);
|
|
150
|
+
const $1 = Data$dInt.toNumber($0._1);
|
|
151
|
+
return Data$dTuple.$Tuple($2 => $1 + $2, $0._2);
|
|
152
|
+
})(s => {
|
|
153
|
+
const $0 = lcgStep(s);
|
|
154
|
+
return Data$dTuple.$Tuple(2.0 * Data$dInt.toNumber($0._1), $0._2);
|
|
155
|
+
});
|
|
156
|
+
return s => {
|
|
157
|
+
const $1 = $0(s);
|
|
158
|
+
return Data$dTuple.$Tuple(Data$dInt.unsafeClamp(Data$dNumber.floor(numA + Data$dNumber.remainder($1._1)(numB - numA + 1.0))), $1._2);
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
const chooseInt = a => b => {
|
|
162
|
+
if (a <= b) { return chooseInt$p(a)(b); }
|
|
163
|
+
return chooseInt$p(b)(a);
|
|
164
|
+
};
|
|
165
|
+
const arrayOf = g => monadStateStateT.state(s => bindStateT.bind(0 <= s.size ? chooseInt$p(0)(s.size) : chooseInt$p(s.size)(0))(k => vectorOf(k)(g))(s));
|
|
166
|
+
const monadGenGen = {
|
|
167
|
+
chooseInt,
|
|
168
|
+
chooseFloat: choose,
|
|
169
|
+
chooseBool: s => {
|
|
170
|
+
const $0 = uniform(s);
|
|
171
|
+
return Data$dTuple.$Tuple($0._1 < 0.5, $0._2);
|
|
172
|
+
},
|
|
173
|
+
resize: f => g => monadStateStateT.state(s => resize(f(s.size))(g)(s)),
|
|
174
|
+
sized,
|
|
175
|
+
Monad0: () => monadGen
|
|
176
|
+
};
|
|
177
|
+
const oneOf = xs => bindStateT.bind((() => {
|
|
178
|
+
const $0 = xs.length - 1 | 0;
|
|
179
|
+
if (0 <= $0) { return chooseInt$p(0)($0); }
|
|
180
|
+
return chooseInt$p($0)(0);
|
|
181
|
+
})())(n => xs[n]);
|
|
182
|
+
const applicativeGen = /* #__PURE__ */ Control$dMonad$dState$dTrans.applicativeStateT(Data$dIdentity.monadIdentity);
|
|
183
|
+
const arrayOf1 = g => monadStateStateT.state(s => bindStateT.bind(0 <= s.size ? chooseInt$p(0)(s.size) : chooseInt$p(s.size)(0))(k => bindStateT.bind(g)(x => bindStateT.bind(vectorOf(k - 1 | 0)(g))(xs => applicativeGen.pure((() => {
|
|
184
|
+
const $0 = [x, ...xs];
|
|
185
|
+
if ($0.length > 0) { return $0; }
|
|
186
|
+
$runtime.fail();
|
|
187
|
+
})()))))(s));
|
|
188
|
+
const elements = xs => bindStateT.bind((() => {
|
|
189
|
+
const $0 = xs.length - 1 | 0;
|
|
190
|
+
if (0 <= $0) { return chooseInt$p(0)($0); }
|
|
191
|
+
return chooseInt$p($0)(0);
|
|
192
|
+
})())(n => applicativeGen.pure(xs[n]));
|
|
193
|
+
const $$enum = dictBoundedEnum => {
|
|
194
|
+
const Bounded0 = dictBoundedEnum.Bounded0();
|
|
195
|
+
return bindStateT.bind((() => {
|
|
196
|
+
const $0 = dictBoundedEnum.fromEnum(Bounded0.bottom);
|
|
197
|
+
const $1 = dictBoundedEnum.fromEnum(Bounded0.top);
|
|
198
|
+
if ($0 <= $1) { return chooseInt$p($0)($1); }
|
|
199
|
+
return chooseInt$p($1)($0);
|
|
200
|
+
})())(i => applicativeGen.pure((() => {
|
|
201
|
+
const $0 = dictBoundedEnum.toEnum(i);
|
|
202
|
+
if ($0.tag === "Just") { return $0._1; }
|
|
203
|
+
$runtime.fail();
|
|
204
|
+
})()));
|
|
205
|
+
};
|
|
206
|
+
const shuffle = xs => bindStateT.bind(vectorOf(xs.length)(chooseInt$p(0)(2147483647)))(ns => applicativeGen.pure(Data$dFunctor.arrayMap(Data$dTuple.snd)(Data$dArray.sortBy(x => y => Data$dOrd.ordInt.compare(x._1)(y._1))(Data$dArray.zipWithImpl(
|
|
207
|
+
Data$dTuple.Tuple,
|
|
208
|
+
ns,
|
|
209
|
+
xs
|
|
210
|
+
)))));
|
|
211
|
+
const suchThat = gen => pred => monadRecGen.tailRecM(v => bindStateT.bind(gen)(a => applicativeGen.pure(pred(a)
|
|
212
|
+
? Control$dMonad$dRec$dClass.$Step("Done", a)
|
|
213
|
+
: Control$dMonad$dRec$dClass.$Step("Loop", undefined))))();
|
|
214
|
+
const altGen = /* #__PURE__ */ (() => {
|
|
215
|
+
const functorStateT1 = {
|
|
216
|
+
map: f => v => s => {
|
|
217
|
+
const $0 = v(s);
|
|
218
|
+
return Data$dTuple.$Tuple(f($0._1), $0._2);
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
return {alt: v => v1 => s => v(s), Functor0: () => functorStateT1};
|
|
222
|
+
})();
|
|
223
|
+
export {
|
|
224
|
+
altGen,
|
|
225
|
+
applicativeGen,
|
|
226
|
+
applyGen,
|
|
227
|
+
arrayOf,
|
|
228
|
+
arrayOf1,
|
|
229
|
+
bindGen,
|
|
230
|
+
bindStateT,
|
|
231
|
+
choose,
|
|
232
|
+
chooseInt,
|
|
233
|
+
chooseInt$p,
|
|
234
|
+
elements,
|
|
235
|
+
$$enum as enum,
|
|
236
|
+
evalGen,
|
|
237
|
+
foldMap1,
|
|
238
|
+
frequency,
|
|
239
|
+
functorGen,
|
|
240
|
+
functorStateT,
|
|
241
|
+
lazyGen,
|
|
242
|
+
lcgStep,
|
|
243
|
+
listOf,
|
|
244
|
+
max,
|
|
245
|
+
min,
|
|
246
|
+
monadGen,
|
|
247
|
+
monadGenGen,
|
|
248
|
+
monadRecGen,
|
|
249
|
+
monadStateStateT,
|
|
250
|
+
oneOf,
|
|
251
|
+
perturbGen,
|
|
252
|
+
randomSample,
|
|
253
|
+
randomSample$p,
|
|
254
|
+
randomSampleOne,
|
|
255
|
+
repeatable,
|
|
256
|
+
replicateMRec,
|
|
257
|
+
resize,
|
|
258
|
+
runGen,
|
|
259
|
+
sample,
|
|
260
|
+
shuffle,
|
|
261
|
+
sized,
|
|
262
|
+
stateful,
|
|
263
|
+
suchThat,
|
|
264
|
+
toUnfoldable,
|
|
265
|
+
unGen,
|
|
266
|
+
uniform,
|
|
267
|
+
variant,
|
|
268
|
+
vectorOf
|
|
269
|
+
};
|
|
270
|
+
export * from "./foreign.js";
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import * as $runtime from "../runtime.js";
|
|
2
|
+
import * as App$dUtil from "../App.Util/index.js";
|
|
3
|
+
import * as App$dUtil$dSelector from "../App.Util.Selector/index.js";
|
|
4
|
+
import * as Data$dTuple from "../Data.Tuple/index.js";
|
|
5
|
+
import * as Val from "../Val/index.js";
|
|
6
|
+
const select = b => Data$dTuple.$Tuple(
|
|
7
|
+
Val.functorVal.map(v => {
|
|
8
|
+
if (v.tag === "Inert") { return App$dUtil.Inert; }
|
|
9
|
+
if (v.tag === "Reactive") { return App$dUtil.$SelState("Reactive", {persistent: !v._1.persistent, transient: v._1.transient}); }
|
|
10
|
+
$runtime.fail();
|
|
11
|
+
})(b),
|
|
12
|
+
App$dUtil.Persistent
|
|
13
|
+
);
|
|
14
|
+
const select$p = x => Data$dTuple.$Tuple(!x, App$dUtil.Persistent);
|
|
15
|
+
const bwd_cases = [
|
|
16
|
+
{file: "add.fld", bwd_expect_file: "add.expect.fld", "δv": select, fwd_expect: "⸨8⸩"},
|
|
17
|
+
{file: "array/lookup.fld", bwd_expect_file: "array/lookup.expect.fld", "δv": select, fwd_expect: "⸨14⸩"},
|
|
18
|
+
{file: "array/dims.fld", bwd_expect_file: "array/dims.expect.fld", "δv": select, fwd_expect: "⸨(⸨3⸩, ⸨3⸩)⸩"},
|
|
19
|
+
{
|
|
20
|
+
file: "convolution/edgeDetect.fld",
|
|
21
|
+
bwd_expect_file: "convolution/edgeDetect.expect.fld",
|
|
22
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.matrixElement(0)(0)(select),
|
|
23
|
+
fwd_expect: "⸨0⸩, -1, 2, 0, -1,\n0, 3, -2, 3, -2,\n-1, 1, -5, 0, 4,\n1, -1, 4, 0, -4,\n1, 0, -3, 2, 0"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
file: "convolution/emboss.fld",
|
|
27
|
+
bwd_expect_file: "convolution/emboss.expect.fld",
|
|
28
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.matrixElement(0)(0)(select),
|
|
29
|
+
fwd_expect: "⸨5⸩, 4, 2, 5, 2,\n3, 1, 2, -1, -2,\n3, 0, 1, 0, -1,\n2, 1, -2, 0, 0,\n1, 0, -1, -1, -2"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
file: "convolution/gaussian.fld",
|
|
33
|
+
bwd_expect_file: "convolution/gaussian.expect.fld",
|
|
34
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.matrixElement(0)(0)(select),
|
|
35
|
+
fwd_expect: "⸨38⸩, 37, 28, 30, 38,\n38, 36, 46, 31, 34,\n37, 41, 54, 34, 20,\n21, 35, 31, 31, 42,\n13, 32, 35, 19, 26"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
file: "matrix/matmul.fld",
|
|
39
|
+
bwd_expect_file: "matrix/matmul.expect.fld",
|
|
40
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.constrArg("Pair")(0)(/* #__PURE__ */ App$dUtil$dSelector.matrixElement(0)(0)(select)),
|
|
41
|
+
fwd_expect: "(@doc(Paragraph(\"Intermediate\" :| \"matrix\" :| [])) ⸨22⸩, 28,\n49, 64, @doc(Paragraph(\"Intermediate\" :| \"matrix\" :| [])) 9, 12, 15,\n19, 26, 33,\n29, 40, 51)"
|
|
42
|
+
},
|
|
43
|
+
{file: "dict/create.fld", bwd_expect_file: "dict/create.expect.fld", "δv": /* #__PURE__ */ App$dUtil$dSelector.dictKey("ab")(select$p), fwd_expect: "{ a: 5, ⸨ab⸩: 6 }"},
|
|
44
|
+
{
|
|
45
|
+
file: "dict/difference.fld",
|
|
46
|
+
bwd_expect_file: "dict/difference.expect.fld",
|
|
47
|
+
"δv": v => {
|
|
48
|
+
if (v._3.tag === "Dictionary") {
|
|
49
|
+
return Data$dTuple.$Tuple(
|
|
50
|
+
Val.$Val(
|
|
51
|
+
(() => {
|
|
52
|
+
if (v._1.tag === "Inert") { return App$dUtil.Inert; }
|
|
53
|
+
if (v._1.tag === "Reactive") { return App$dUtil.$SelState("Reactive", {persistent: !v._1._1.persistent, transient: v._1._1.transient}); }
|
|
54
|
+
$runtime.fail();
|
|
55
|
+
})(),
|
|
56
|
+
v._2,
|
|
57
|
+
Val.$BaseVal("Dictionary", v._3._1)
|
|
58
|
+
),
|
|
59
|
+
App$dUtil.Persistent
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
$runtime.fail();
|
|
63
|
+
},
|
|
64
|
+
fwd_expect: "⸨{ a: 5 }⸩"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
file: "dict/disjointUnion.fld",
|
|
68
|
+
bwd_expect_file: "dict/disjointUnion.expect.fld",
|
|
69
|
+
"δv": x => App$dUtil$dSelector.dictVal("c")(select)(App$dUtil$dSelector.dictKey("a")(select$p)(x)._1),
|
|
70
|
+
fwd_expect: "{ ⸨a⸩: 5, b: 6, c: ⸨7⸩ }"
|
|
71
|
+
},
|
|
72
|
+
{file: "dict/foldl_with_index.fld", bwd_expect_file: "dict/foldl_with_index.expect.fld", "δv": select, fwd_expect: "⸨0⸩"},
|
|
73
|
+
{
|
|
74
|
+
file: "dict/intersectionWith.fld",
|
|
75
|
+
bwd_expect_file: "dict/intersectionWith.expect.fld",
|
|
76
|
+
"δv": x => App$dUtil$dSelector.dictVal("c")(select)(App$dUtil$dSelector.dictVal("b")(select)(x)._1),
|
|
77
|
+
fwd_expect: "{ b: ⸨0⸩, c: ⸨20⸩ }"
|
|
78
|
+
},
|
|
79
|
+
{file: "dict/get.fld", bwd_expect_file: "dict/get.expect.fld", "δv": select, fwd_expect: "⸨0⸩"},
|
|
80
|
+
{file: "dict/map.fld", bwd_expect_file: "dict/map.expect.fld", "δv": select, fwd_expect: "⸨20⸩"},
|
|
81
|
+
{file: "divide.fld", bwd_expect_file: "divide.expect.fld", "δv": select, fwd_expect: "⸨40.22222222222222⸩"},
|
|
82
|
+
{file: "dict/match.fld", bwd_expect_file: "dict/match.expect.fld", "δv": select, fwd_expect: ""},
|
|
83
|
+
{
|
|
84
|
+
file: "dtw/compute-dtw.fld",
|
|
85
|
+
bwd_expect_file: "dtw/compute-dtw.expect.fld",
|
|
86
|
+
fwd_expect: "(0, 0) :| ⸨(⸨1⸩, ⸨1⸩)⸩ :| (1, 2) :| (2, 3) :| (3, 4) :| (4, 5) :| (4, 6) :| []",
|
|
87
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listElement(1)(select)
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
file: "dtw/average-series.fld",
|
|
91
|
+
bwd_expect_file: "dtw/average-series.expect.fld",
|
|
92
|
+
fwd_expect: "2.5 :| 0.5 :| ⸨0.5⸩ :| 2.5 :| 2.5 :| 1.0 :| 0.5 :| []",
|
|
93
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listElement(2)(select)
|
|
94
|
+
},
|
|
95
|
+
{file: "filter.fld", bwd_expect_file: "filter.expect.fld", "δv": /* #__PURE__ */ App$dUtil$dSelector.listCell(0)(select$p), fwd_expect: "⸨⸨8⸩ :| 7 :| []⸩"},
|
|
96
|
+
{
|
|
97
|
+
file: "intersperse.fld",
|
|
98
|
+
bwd_expect_file: "intersperse-1.expect.fld",
|
|
99
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listCell(1)(select$p),
|
|
100
|
+
fwd_expect: "1 :| ⸨0 :| 2 :| 0 :| 3 :| []⸩"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
file: "intersperse.fld",
|
|
104
|
+
bwd_expect_file: "intersperse-2.expect.fld",
|
|
105
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listCell(2)(select$p),
|
|
106
|
+
fwd_expect: "⸨1 :| 0 :| ⸨2 :| 0 :| 3 :| []⸩⸩"
|
|
107
|
+
},
|
|
108
|
+
{file: "length.fld", bwd_expect_file: "length.expect.fld", "δv": select, fwd_expect: "⸨5⸩"},
|
|
109
|
+
{
|
|
110
|
+
file: "list-comp.fld",
|
|
111
|
+
bwd_expect_file: "list-comp-1.expect.fld",
|
|
112
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listCell(1)(select$p),
|
|
113
|
+
fwd_expect: "6.2 :| ⸨260 :| 19.9 :| 91 :| []⸩"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
file: "list-comp.fld",
|
|
117
|
+
bwd_expect_file: "list-comp-2.expect.fld",
|
|
118
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listCell(2)(select$p),
|
|
119
|
+
fwd_expect: "6.2 :| 260 :| ⸨19.9 :| 91 :| []⸩"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
file: "lookup.fld",
|
|
123
|
+
bwd_expect_file: "lookup.expect.fld",
|
|
124
|
+
"δv": v => {
|
|
125
|
+
if (v._3.tag === "Constr" && v._3._1 === "Some") {
|
|
126
|
+
return Data$dTuple.$Tuple(
|
|
127
|
+
Val.$Val(
|
|
128
|
+
(() => {
|
|
129
|
+
if (v._1.tag === "Inert") { return App$dUtil.Inert; }
|
|
130
|
+
if (v._1.tag === "Reactive") { return App$dUtil.$SelState("Reactive", {persistent: !v._1._1.persistent, transient: v._1._1.transient}); }
|
|
131
|
+
$runtime.fail();
|
|
132
|
+
})(),
|
|
133
|
+
v._2,
|
|
134
|
+
Val.$BaseVal("Constr", v._3._1, v._3._2)
|
|
135
|
+
),
|
|
136
|
+
App$dUtil.Persistent
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
$runtime.fail();
|
|
140
|
+
},
|
|
141
|
+
fwd_expect: "⸨Some(\"Germany\")⸩"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
file: "map.fld",
|
|
145
|
+
bwd_expect_file: "map.expect.fld",
|
|
146
|
+
"δv": x => App$dUtil$dSelector.listCell(1)(select$p)(App$dUtil$dSelector.listCell(0)(select$p)(x)._1),
|
|
147
|
+
fwd_expect: "⸨5 :| ⸨6 :| []⸩⸩"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
file: "matrix-update.fld",
|
|
151
|
+
bwd_expect_file: "matrix-update.expect.fld",
|
|
152
|
+
fwd_expect: "15, 13, 6, 9, 16,\n12, ⸨4000⸩, 15, 4, 13,\n14, 9, 20, 8, 1,\n4, 10, 3, 7, 19,\n3, 11, 15, 2, 9",
|
|
153
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.matrixElement(1)(1)(select)
|
|
154
|
+
},
|
|
155
|
+
{file: "multiply.fld", bwd_expect_file: "multiply.expect.fld", "δv": select, fwd_expect: "⸨0⸩"},
|
|
156
|
+
{file: "nth.fld", bwd_expect_file: "nth.expect.fld", "δv": select, fwd_expect: "⸨4⸩"},
|
|
157
|
+
{
|
|
158
|
+
file: "output-not-source.fld",
|
|
159
|
+
bwd_expect_file: "output-not-source.expect.fld",
|
|
160
|
+
fwd_expect: "(⸨3⸩, ⸨True⸩)",
|
|
161
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.constrArg("Pair")(1)(select)
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
file: "section-5-example.fld",
|
|
165
|
+
bwd_expect_file: "section-5-example-1.expect.fld",
|
|
166
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listCell(0)(select$p),
|
|
167
|
+
fwd_expect: "⸨88 :| 6 :| 4 :| []⸩"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
file: "section-5-example.fld",
|
|
171
|
+
bwd_expect_file: "section-5-example-2.expect.fld",
|
|
172
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listElement(1)(select),
|
|
173
|
+
fwd_expect: "⸨88⸩ :| ⸨6⸩ :| ⸨4⸩ :| []"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
file: "section-5-example.fld",
|
|
177
|
+
bwd_expect_file: "section-5-example-3.expect.fld",
|
|
178
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listCell(2)(select$p),
|
|
179
|
+
fwd_expect: "88 :| 6 :| ⸨4 :| []⸩"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
file: "zeros.fld",
|
|
183
|
+
bwd_expect_file: "zeros-1.expect.fld",
|
|
184
|
+
"δv": x => App$dUtil$dSelector.listCell(2)(select$p)(App$dUtil$dSelector.listCell(0)(select$p)(x)._1),
|
|
185
|
+
fwd_expect: "⸨0 :| 0 :| ⸨[]⸩⸩"
|
|
186
|
+
},
|
|
187
|
+
{file: "zeros.fld", bwd_expect_file: "zeros-2.expect.fld", "δv": /* #__PURE__ */ App$dUtil$dSelector.listCell(2)(select$p), fwd_expect: "0 :| 0 :| ⸨[]⸩"},
|
|
188
|
+
{
|
|
189
|
+
file: "zipWith.fld",
|
|
190
|
+
bwd_expect_file: "zipWith-1.expect.fld",
|
|
191
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.listElement(1)(x => Data$dTuple.$Tuple(
|
|
192
|
+
Val.functorVal.map(x$1 => {
|
|
193
|
+
if (x$1.tag === "Inert") { return App$dUtil.Inert; }
|
|
194
|
+
if (x$1.tag === "Reactive") { return App$dUtil.$SelState("Reactive", {persistent: !x$1._1.persistent, transient: !x$1._1.transient}); }
|
|
195
|
+
$runtime.fail();
|
|
196
|
+
})(x),
|
|
197
|
+
App$dUtil.Persistent
|
|
198
|
+
)),
|
|
199
|
+
fwd_expect: "13.0 :| ⸨25.0⸩ :| 41.0 :| []"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
file: "linkedOutputs/bar-chart-line-chart.fld",
|
|
203
|
+
bwd_expect_file: "linkedOutputs/bar-chart-line-chart.expect.fld",
|
|
204
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.multiViewEntry(0)(/* #__PURE__ */ App$dUtil$dSelector.constrArg("BarChart")(0)(/* #__PURE__ */ App$dUtil$dSelector.barSegment(1)(0)(select))),
|
|
205
|
+
fwd_expect: "MultiView(BarChart({\n caption: \"Total output by country\",\n legend: True,\n size: { height: 185, width: 275 },\n stackedBars: { segments: { y: \"output\", z: 295.3 } :| [], x: \"China\" } :| {\n segments: { y: \"output\", z: ⸨196.7⸩ } :| [],\n x: \"USA\"\n } :| { segments: { y: \"output\", z: 97.69999999999999 } :| [], x: \"Germany\" } :| [],\n tickLabels: { x: Default, y: Default }\n}) :| LineChart({\n caption: \"Output of USA relative to China\",\n plots: LinePlot({\n name: \"Bio\",\n points: { x: 2013, y: 2.5483870967741935 } :| { x: 2014, y: 1.61 } :| {\n x: 2015,\n y: 1.6213592233009706\n } :| { x: 2016, y: 1.4000000000000001 } :| {\n x: 2017,\n y: 1.1208053691275166\n } :| { x: 2018, y: 0.9101123595505617 } :| []\n }) :| LinePlot({\n name: \"Hydro\",\n points: { x: 2013, y: 0.3 } :| { x: 2014, y: 0.28214285714285714 } :| {\n x: 2015,\n y: 0.8333333333333334\n } :| { x: 2016, y: 0.26229508196721313 } :| {\n x: 2017,\n y: 0.25559105431309903\n } :| { x: 2018, y: 0.2484472049689441 } :| []\n }) :| LinePlot({\n name: \"Solar\",\n points: { x: 2013, y: 0.6080402010050252 } :| {\n x: 2014,\n y: 0.6428571428571429\n } :| { x: 2015, y: 0.5909090909090909 } :| {\n x: 2016,\n y: 0.5324675324675324\n } :| { x: 2017, y: 0.3893129770992366 } :| {\n x: 2018,\n y: 0.3522727272727273\n } :| []\n }) :| LinePlot({\n name: \"Wind\",\n points: { x: 2013, y: 0.6703296703296703 } :| {\n x: 2014,\n y: 0.5739130434782609\n } :| { x: 2015, y: 0.5103448275862069 } :| {\n x: 2016,\n y: 0.48520710059171596\n } :| { x: 2017, y: 0.4734042553191489 } :| {\n x: 2018,\n y: 0.45714285714285713\n } :| []\n }) :| [],\n size: { height: 285, width: 330 },\n tickLabels: { x: Default, y: Default }\n}) :| [])"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
file: "linkedOutputs/stacked-bar-scatter-plot.fld",
|
|
209
|
+
bwd_expect_file: "linkedOutputs/stacked-bar-scatter-plot.expect.fld",
|
|
210
|
+
"δv": /* #__PURE__ */ App$dUtil$dSelector.multiViewEntry(0)(/* #__PURE__ */ App$dUtil$dSelector.constrArg("BarChart")(0)(x => App$dUtil$dSelector.barSegment(4)(3)(select)(App$dUtil$dSelector.barSegment(4)(1)(select)(App$dUtil$dSelector.barSegment(3)(2)(select)(x)._1)._1))),
|
|
211
|
+
fwd_expect: "MultiView(BarChart({\n caption: \"Non-renewables by country\",\n legend: True,\n size: { height: 185, width: 275 },\n stackedBars: {\n segments: { y: \"BRA\", z: 151.05 } :| { y: \"EGY\", z: 159.93 } :| {\n y: \"IND\",\n z: 1060.1799999999998\n } :| { y: \"JPN\", z: 928.82 } :| [],\n x: \"2014\"\n } :| {\n segments: { y: \"BRA\", z: 142.76 } :| { y: \"EGY\", z: 170.68 } :| {\n y: \"IND\",\n z: 1118.8899999999999\n } :| { y: \"JPN\", z: 876.0999999999999 } :| [],\n x: \"2015\"\n } :| {\n segments: { y: \"BRA\", z: 108.03 } :| { y: \"EGY\", z: 174.07999999999998 } :| {\n y: \"IND\",\n z: 1193.53\n } :| { y: \"JPN\", z: 883.3299999999999 } :| [],\n x: \"2016\"\n } :| {\n segments: { y: \"BRA\", z: 116.76 } :| { y: \"EGY\", z: 181.31 } :| {\n y: \"IND\",\n z: ⸨1236.43⸩\n } :| { y: \"JPN\", z: 875.32 } :| [],\n x: \"2017\"\n } :| {\n segments: { y: \"BRA\", z: 101.48 } :| { y: \"EGY\", z: ⸨182.31⸩ } :| {\n y: \"IND\",\n z: 1315.57\n } :| { y: \"JPN\", z: ⸨873.39⸩ } :| [],\n x: \"2018\"\n } :| [],\n tickLabels: { x: Default, y: Default }\n}) :| ScatterPlot({\n caption: \"Clean energy efficiency vs proportion of renewable energy capacity\",\n labels: { x: \"Renewables/TotalEnergyCap\", y: \"Clean Capacity Factor\" },\n points: { x: 0.8723185510332055, y: 0.4180741155728385 } :| {\n x: 0.383891020964826,\n y: 0.3306374135311273\n } :| { x: 0.5685559399722339, y: 0.2651713517303818 } :| {\n x: 0.39179907463864283,\n y: 0.5311676111397315\n } :| { x: 0.0886691179578209, y: 0.4125357483317445 } :| {\n x: 0.3167847396421975,\n y: 0.2767379556904734\n } :| { x: 0.3129857171819161, y: 0.20426921772653447 } :| {\n x: 0.29687029792356306,\n y: 0.3462200657379872\n } :| { x: 0.16239390265026848, y: 0.4128 } :| {\n x: 0.2115752867627615,\n y: 0.5086651868096602\n } :| []\n}) :| [])"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
file: "qcut.fld",
|
|
215
|
+
bwd_expect_file: "qcut.expect.fld",
|
|
216
|
+
"δv": v => Data$dTuple.$Tuple(v, App$dUtil.Persistent),
|
|
217
|
+
fwd_expect: "(1.01 :| 1.05 :| [], 0.051000000000000156) :| (1.07 :| 1.09 :| 1.22 :| 1.23 :| 1.24 :| 1.24 :| 1.25 :| 1.32 :| 1.32 :| 1.35 :| 1.39 :| 1.47 :| 1.57 :| 1.72 :| [], 0.6639999999999999) :| (1.73 :| 1.75 :| 1.76 :| 1.83 :| 1.87 :| 1.94 :| 2.04 :| 2.14 :| 2.18 :| 2.36 :| 2.37 :| 2.38 :| 2.52 :| 2.54 :| [], 0.8464999999999998) :| (2.61 :| 2.67 :| [], 0.09850000000000003) :| []"
|
|
218
|
+
}
|
|
219
|
+
];
|
|
220
|
+
export {bwd_cases, select, select$p};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const comments_cases = [
|
|
2
|
+
{
|
|
3
|
+
file: "comments/nested-constr.fld",
|
|
4
|
+
fwd_expect: "@doc(Paragraph(\"This\" :| \"is\" :| \"a\" :| (@doc(Paragraph(\"This\" :| \"is\" :| \"a\" :| \"nested\" :| \"docComment!\" :| [])) \"some string\") :| \"docComment!\" :| [])) False"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
file: "comments/dicts.fld",
|
|
8
|
+
fwd_expect: "@doc(Paragraph(\"We\" :| \"can\" :| \"have\" :| \"a\" :| \"docComment\" :| \"before\" :| \"a\" :| \"dict!\" :| [])) {\n d: {},\n e: { a: 5, ab: 6 },\n e_ab: 6,\n f: { a: 6, ab: 7 },\n g: { a: 5 }\n}"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
file: "comments/app-arg.fld",
|
|
12
|
+
fwd_expect: "@doc(Paragraph(\"Comments\" :| \"on\" :| \"arguments\" :| \"don't\" :| \"surface\" :| \"on\" :| \"the\" :| \"outermost\" :| \"application\" :| [])) 5 :| 7 :| 13 :| 15 :| 4 :| 3 :| -3 :| []"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
file: "comments/list-comp.fld",
|
|
16
|
+
fwd_expect: "@doc(Paragraph(\"We\" :| \"can\" :| \"add\" :| \"comments\" :| \"to\" :| \"list\" :| \"comprehensions\" :| [])) 14 :| 12 :| 10 :| 13 :| 11 :| 9 :| 12 :| 10 :| 8 :| []"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
file: "comments/app.fld",
|
|
20
|
+
fwd_expect: "@doc(Paragraph(\"This\" :| \"function\" :| \"application\" :| \"returns\" :| \"the\" :| \"length\" :| \"of\" :| \"a\" :| \"list.\" :| [])) 2"
|
|
21
|
+
},
|
|
22
|
+
{file: "comments/int.fld", fwd_expect: "@doc(Paragraph(\"Comment\" :| \"on\" :| \"1\" :| [])) 1"},
|
|
23
|
+
{file: "comments/projection.fld", fwd_expect: "1"}
|
|
24
|
+
];
|
|
25
|
+
export {comments_cases};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const desugar_cases = [
|
|
2
|
+
{file: "desugar/list-comp-1.fld", fwd_expect: "14 :| 12 :| 10 :| 13 :| 11 :| 9 :| 12 :| 10 :| 8 :| []"},
|
|
3
|
+
{
|
|
4
|
+
file: "desugar/list-comp-2.fld",
|
|
5
|
+
fwd_expect: "14 :| 14 :| 14 :| 12 :| 12 :| 12 :| 10 :| 10 :| 10 :| 13 :| 13 :| 13 :| 11 :| 11 :| 11 :| 9 :| 9 :| 9 :| 12 :| 12 :| 12 :| 10 :| 10 :| 10 :| 8 :| 8 :| 8 :| []"
|
|
6
|
+
},
|
|
7
|
+
{file: "desugar/list-comp-3.fld", fwd_expect: "9 :| 8 :| []"},
|
|
8
|
+
{file: "desugar/list-comp-4.fld", fwd_expect: "5 :| 4 :| 3 :| []"},
|
|
9
|
+
{file: "desugar/list-comp-5.fld", fwd_expect: "5 :| 4 :| 3 :| []"},
|
|
10
|
+
{file: "desugar/list-comp-6.fld", fwd_expect: "5 :| []"},
|
|
11
|
+
{file: "desugar/list-comp-7.fld", fwd_expect: "[] :| []"},
|
|
12
|
+
{file: "desugar/list-comp-8.fld", fwd_expect: "5 :| 4 :| 3 :| []"},
|
|
13
|
+
{file: "desugar/list-comp-9.fld", fwd_expect: "10 :| 19 :| []"},
|
|
14
|
+
{file: "desugar/list-comp-10.fld", fwd_expect: "[]"},
|
|
15
|
+
{file: "desugar/list-enum.fld", fwd_expect: "3 :| 4 :| 5 :| 6 :| 7 :| []"}
|
|
16
|
+
];
|
|
17
|
+
export {desugar_cases};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const graphics_cases = [
|
|
2
|
+
{file: "graphics/background.fld", fwd_expect: ""},
|
|
3
|
+
{file: "graphics/grouped-bar-chart.fld", fwd_expect: ""},
|
|
4
|
+
{file: "graphics/line-chart.fld", fwd_expect: ""},
|
|
5
|
+
{file: "graphics/stacked-bar-chart.fld", fwd_expect: ""}
|
|
6
|
+
];
|
|
7
|
+
export {graphics_cases};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as $runtime from "../runtime.js";
|
|
2
|
+
import * as App$dUtil from "../App.Util/index.js";
|
|
3
|
+
import * as App$dUtil$dSelector from "../App.Util.Selector/index.js";
|
|
4
|
+
import * as Data$dMaybe from "../Data.Maybe/index.js";
|
|
5
|
+
import * as Data$dTuple from "../Data.Tuple/index.js";
|
|
6
|
+
import * as Val from "../Val/index.js";
|
|
7
|
+
const select = b => Data$dTuple.$Tuple(
|
|
8
|
+
Val.functorVal.map(v => {
|
|
9
|
+
if (v.tag === "Inert") { return App$dUtil.Inert; }
|
|
10
|
+
if (v.tag === "Reactive") { return App$dUtil.$SelState("Reactive", {persistent: !v._1.persistent, transient: v._1.transient}); }
|
|
11
|
+
$runtime.fail();
|
|
12
|
+
})(b),
|
|
13
|
+
App$dUtil.Persistent
|
|
14
|
+
);
|
|
15
|
+
const linkedInputs_spec5 = {
|
|
16
|
+
spec: {fluidSrcPaths: ["fluid", "test/fluid"], inputs: ["nonRenewables", "renewables"], query: Data$dMaybe.Nothing, linking: true, rowFilter: Data$dMaybe.Nothing},
|
|
17
|
+
"δ_in": /* #__PURE__ */ Data$dTuple.$Tuple("nonRenewables", /* #__PURE__ */ App$dUtil$dSelector.listElement(0)(/* #__PURE__ */ App$dUtil$dSelector.dictVal("coalCap")(select))),
|
|
18
|
+
in_expect: /* #__PURE__ */ (() => {
|
|
19
|
+
const $0 = App$dUtil$dSelector.envVal("nonRenewables")(App$dUtil$dSelector.listElement(0)(x => App$dUtil$dSelector.dictVal("petrolCap")(select)(App$dUtil$dSelector.dictVal("nuclearCap")(select)(App$dUtil$dSelector.dictVal("gasCap")(select)(App$dUtil$dSelector.dictVal("coalCap")(select)(x)._1)._1)._1)));
|
|
20
|
+
const $1 = App$dUtil$dSelector.envVal("renewables")(x => App$dUtil$dSelector.listElement(3)(App$dUtil$dSelector.dictVal("capacity")(select))(App$dUtil$dSelector.listElement(2)(App$dUtil$dSelector.dictVal("capacity")(select))(App$dUtil$dSelector.listElement(1)(App$dUtil$dSelector.dictVal("capacity")(select))(App$dUtil$dSelector.listElement(0)(App$dUtil$dSelector.dictVal("capacity")(select))(x)._1)._1)._1));
|
|
21
|
+
return x => $1($0(x)._1);
|
|
22
|
+
})(),
|
|
23
|
+
file: "linkedInputs/mini-energyscatter.fld"
|
|
24
|
+
};
|
|
25
|
+
const linkedInputs_spec4 = {
|
|
26
|
+
spec: {fluidSrcPaths: ["fluid", "test/fluid"], inputs: ["renewables", "nonRenewables"], query: Data$dMaybe.Nothing, linking: true, rowFilter: Data$dMaybe.Nothing},
|
|
27
|
+
"δ_in": /* #__PURE__ */ Data$dTuple.$Tuple("renewables", /* #__PURE__ */ App$dUtil$dSelector.listElement(204)(/* #__PURE__ */ App$dUtil$dSelector.dictVal("capacity")(select))),
|
|
28
|
+
in_expect: /* #__PURE__ */ (() => {
|
|
29
|
+
const $0 = App$dUtil$dSelector.envVal("nonRenewables")(App$dUtil$dSelector.listElement(51)(x => App$dUtil$dSelector.dictVal("nuclearOut")(select)(App$dUtil$dSelector.dictVal("petrolCap")(select)(App$dUtil$dSelector.dictVal("nuclearCap")(select)(App$dUtil$dSelector.dictVal("gasCap")(select)(App$dUtil$dSelector.dictVal("coalCap")(select)(x)._1)._1)._1)._1)));
|
|
30
|
+
const $1 = App$dUtil$dSelector.envVal("renewables")((() => {
|
|
31
|
+
const $1 = App$dUtil$dSelector.listElement(204)(x => App$dUtil$dSelector.dictVal("output")(select)(App$dUtil$dSelector.dictVal("capacity")(select)(x)._1));
|
|
32
|
+
const $2 = App$dUtil$dSelector.listElement(205)(x => App$dUtil$dSelector.dictVal("output")(select)(App$dUtil$dSelector.dictVal("capacity")(select)(x)._1));
|
|
33
|
+
const $3 = App$dUtil$dSelector.listElement(206)(x => App$dUtil$dSelector.dictVal("output")(select)(App$dUtil$dSelector.dictVal("capacity")(select)(x)._1));
|
|
34
|
+
const $4 = App$dUtil$dSelector.listElement(207)(x => App$dUtil$dSelector.dictVal("output")(select)(App$dUtil$dSelector.dictVal("capacity")(select)(x)._1));
|
|
35
|
+
return x => $4($3($2($1(x)._1)._1)._1);
|
|
36
|
+
})());
|
|
37
|
+
return x => $1($0(x)._1);
|
|
38
|
+
})(),
|
|
39
|
+
file: "linkedInputs/energyscatter.fld"
|
|
40
|
+
};
|
|
41
|
+
const linkedInputs_spec3 = {
|
|
42
|
+
spec: {fluidSrcPaths: ["fluid", "test/fluid"], inputs: ["renewables", "nonRenewables"], query: Data$dMaybe.Nothing, linking: true, rowFilter: Data$dMaybe.Nothing},
|
|
43
|
+
"δ_in": /* #__PURE__ */ Data$dTuple.$Tuple("nonRenewables", /* #__PURE__ */ App$dUtil$dSelector.listElement(51)(/* #__PURE__ */ App$dUtil$dSelector.dictVal("coalCap")(select))),
|
|
44
|
+
in_expect: /* #__PURE__ */ (() => {
|
|
45
|
+
const $0 = App$dUtil$dSelector.envVal("nonRenewables")(App$dUtil$dSelector.listElement(51)(x => App$dUtil$dSelector.dictVal("petrolCap")(select)(App$dUtil$dSelector.dictVal("nuclearCap")(select)(App$dUtil$dSelector.dictVal("gasCap")(select)(App$dUtil$dSelector.dictVal("coalCap")(select)(x)._1)._1)._1)));
|
|
46
|
+
const $1 = App$dUtil$dSelector.envVal("renewables")(x => App$dUtil$dSelector.listElement(207)(App$dUtil$dSelector.dictVal("capacity")(select))(App$dUtil$dSelector.listElement(206)(App$dUtil$dSelector.dictVal("capacity")(select))(App$dUtil$dSelector.listElement(205)(App$dUtil$dSelector.dictVal("capacity")(select))(App$dUtil$dSelector.listElement(204)(App$dUtil$dSelector.dictVal("capacity")(select))(x)._1)._1)._1));
|
|
47
|
+
return x => $1($0(x)._1);
|
|
48
|
+
})(),
|
|
49
|
+
file: "linkedInputs/energyscatter.fld"
|
|
50
|
+
};
|
|
51
|
+
const linkedInputs_cases = [linkedInputs_spec3, linkedInputs_spec4, linkedInputs_spec5];
|
|
52
|
+
export {linkedInputs_cases, linkedInputs_spec3, linkedInputs_spec4, linkedInputs_spec5, select};
|