@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,326 @@
|
|
|
1
|
+
// | This module defines a strict catenable list.
|
|
2
|
+
// |
|
|
3
|
+
// | The implementation is based on a queue where all operations require
|
|
4
|
+
// | `O(1)` amortized time.
|
|
5
|
+
// |
|
|
6
|
+
// | However, any single `uncons` operation may run in `O(n)` time.
|
|
7
|
+
// |
|
|
8
|
+
// | See [Purely Functional Data Structures](http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf) (Okasaki 1996)
|
|
9
|
+
import * as $runtime from "../runtime.js";
|
|
10
|
+
import * as Data$dCatQueue from "../Data.CatQueue/index.js";
|
|
11
|
+
import * as Data$dFoldable from "../Data.Foldable/index.js";
|
|
12
|
+
import * as Data$dList$dTypes from "../Data.List.Types/index.js";
|
|
13
|
+
import * as Data$dMaybe from "../Data.Maybe/index.js";
|
|
14
|
+
import * as Data$dTuple from "../Data.Tuple/index.js";
|
|
15
|
+
const $CatList = (tag, _1, _2) => ({tag, _1, _2});
|
|
16
|
+
const CatNil = /* #__PURE__ */ $CatList("CatNil");
|
|
17
|
+
const CatCons = value0 => value1 => $CatList("CatCons", value0, value1);
|
|
18
|
+
const showCatList = dictShow => (
|
|
19
|
+
{
|
|
20
|
+
show: v => {
|
|
21
|
+
if (v.tag === "CatNil") { return "CatNil"; }
|
|
22
|
+
if (v.tag === "CatCons") { return "(CatList " + dictShow.show(v._1) + " " + Data$dCatQueue.showCatQueue(showCatList(dictShow)).show(v._2) + ")"; }
|
|
23
|
+
$runtime.fail();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
const $$null = v => v.tag === "CatNil";
|
|
28
|
+
const link = v => v1 => {
|
|
29
|
+
if (v.tag === "CatNil") { return v1; }
|
|
30
|
+
if (v1.tag === "CatNil") { return v; }
|
|
31
|
+
if (v.tag === "CatCons") { return $CatList("CatCons", v._1, Data$dCatQueue.$CatQueue(v._2._1, Data$dList$dTypes.$List("Cons", v1, v._2._2))); }
|
|
32
|
+
$runtime.fail();
|
|
33
|
+
};
|
|
34
|
+
const foldr = k => b => q => {
|
|
35
|
+
const foldl = foldl$a0$copy => foldl$a1$copy => foldl$a2$copy => {
|
|
36
|
+
let foldl$a0 = foldl$a0$copy, foldl$a1 = foldl$a1$copy, foldl$a2 = foldl$a2$copy, foldl$c = true, foldl$r;
|
|
37
|
+
while (foldl$c) {
|
|
38
|
+
const v = foldl$a0, v1 = foldl$a1, v2 = foldl$a2;
|
|
39
|
+
if (v2.tag === "Nil") {
|
|
40
|
+
foldl$c = false;
|
|
41
|
+
foldl$r = v1;
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
if (v2.tag === "Cons") {
|
|
45
|
+
foldl$a0 = v;
|
|
46
|
+
foldl$a1 = v(v1)(v2._1);
|
|
47
|
+
foldl$a2 = v2._2;
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
$runtime.fail();
|
|
51
|
+
}
|
|
52
|
+
return foldl$r;
|
|
53
|
+
};
|
|
54
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
55
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
56
|
+
while (go$c) {
|
|
57
|
+
const xs = go$a0, ys = go$a1;
|
|
58
|
+
const v = Data$dCatQueue.uncons(xs);
|
|
59
|
+
if (v.tag === "Nothing") {
|
|
60
|
+
go$c = false;
|
|
61
|
+
go$r = foldl(x => i => i(x))(b)(ys);
|
|
62
|
+
continue;
|
|
63
|
+
}
|
|
64
|
+
if (v.tag === "Just") {
|
|
65
|
+
go$a0 = v._1._2;
|
|
66
|
+
go$a1 = Data$dList$dTypes.$List("Cons", k(v._1._1), ys);
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
$runtime.fail();
|
|
70
|
+
}
|
|
71
|
+
return go$r;
|
|
72
|
+
};
|
|
73
|
+
return go(q)(Data$dList$dTypes.Nil);
|
|
74
|
+
};
|
|
75
|
+
const uncons = v => {
|
|
76
|
+
if (v.tag === "CatNil") { return Data$dMaybe.Nothing; }
|
|
77
|
+
if (v.tag === "CatCons") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v._1, v._2._1.tag === "Nil" && v._2._2.tag === "Nil" ? CatNil : foldr(link)(CatNil)(v._2))); }
|
|
78
|
+
$runtime.fail();
|
|
79
|
+
};
|
|
80
|
+
const foldableCatList = {
|
|
81
|
+
foldMap: dictMonoid => {
|
|
82
|
+
const mempty = dictMonoid.mempty;
|
|
83
|
+
return f => foldableCatList.foldl(acc => x => dictMonoid.Semigroup0().append(acc)(f(x)))(mempty);
|
|
84
|
+
},
|
|
85
|
+
foldr: f => s => l => Data$dFoldable.foldrDefault(foldableCatList)(f)(s)(l),
|
|
86
|
+
foldl: f => {
|
|
87
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
88
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
89
|
+
while (go$c) {
|
|
90
|
+
const acc = go$a0, q = go$a1;
|
|
91
|
+
const v = uncons(q);
|
|
92
|
+
if (v.tag === "Just") {
|
|
93
|
+
go$a0 = f(acc)(v._1._1);
|
|
94
|
+
go$a1 = v._1._2;
|
|
95
|
+
continue;
|
|
96
|
+
}
|
|
97
|
+
if (v.tag === "Nothing") {
|
|
98
|
+
go$c = false;
|
|
99
|
+
go$r = acc;
|
|
100
|
+
continue;
|
|
101
|
+
}
|
|
102
|
+
$runtime.fail();
|
|
103
|
+
}
|
|
104
|
+
return go$r;
|
|
105
|
+
};
|
|
106
|
+
return go;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
const length = /* #__PURE__ */ (() => foldableCatList.foldl(c => v => 1 + c | 0)(0))();
|
|
110
|
+
const foldMap = dictMonoid => {
|
|
111
|
+
const mempty = dictMonoid.mempty;
|
|
112
|
+
return v => v1 => {
|
|
113
|
+
if (v1.tag === "CatNil") { return mempty; }
|
|
114
|
+
if (v1.tag === "CatCons") {
|
|
115
|
+
return dictMonoid.Semigroup0().append(v(v1._1))(foldMap(dictMonoid)(v)(v1._2._1.tag === "Nil" && v1._2._2.tag === "Nil" ? CatNil : foldr(link)(CatNil)(v1._2)));
|
|
116
|
+
}
|
|
117
|
+
$runtime.fail();
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
const empty = CatNil;
|
|
121
|
+
const append = link;
|
|
122
|
+
const cons = a => cat => {
|
|
123
|
+
if (cat.tag === "CatNil") { return $CatList("CatCons", a, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)); }
|
|
124
|
+
return $CatList("CatCons", a, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.$List("Cons", cat, Data$dList$dTypes.Nil)));
|
|
125
|
+
};
|
|
126
|
+
const functorCatList = {
|
|
127
|
+
map: v => v1 => {
|
|
128
|
+
if (v1.tag === "CatNil") { return CatNil; }
|
|
129
|
+
if (v1.tag === "CatCons") {
|
|
130
|
+
const $0 = v(v1._1);
|
|
131
|
+
const $1 = functorCatList.map(v)(v1._2._1.tag === "Nil" && v1._2._2.tag === "Nil" ? CatNil : foldr(link)(CatNil)(v1._2));
|
|
132
|
+
if ($1.tag === "CatNil") { return $CatList("CatCons", $0, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)); }
|
|
133
|
+
return $CatList("CatCons", $0, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.$List("Cons", $1, Data$dList$dTypes.Nil)));
|
|
134
|
+
}
|
|
135
|
+
$runtime.fail();
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
const singleton = a => $CatList("CatCons", a, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil));
|
|
139
|
+
const traversableCatList = {
|
|
140
|
+
traverse: dictApplicative => {
|
|
141
|
+
const Apply0 = dictApplicative.Apply0();
|
|
142
|
+
return v => v1 => {
|
|
143
|
+
if (v1.tag === "CatNil") { return dictApplicative.pure(CatNil); }
|
|
144
|
+
if (v1.tag === "CatCons") {
|
|
145
|
+
return Apply0.apply(Apply0.Functor0().map(cons)(v(v1._1)))(traversableCatList.traverse(dictApplicative)(v)(v1._2._1.tag === "Nil" && v1._2._2.tag === "Nil"
|
|
146
|
+
? CatNil
|
|
147
|
+
: foldr(link)(CatNil)(v1._2)));
|
|
148
|
+
}
|
|
149
|
+
$runtime.fail();
|
|
150
|
+
};
|
|
151
|
+
},
|
|
152
|
+
sequence: dictApplicative => {
|
|
153
|
+
const Apply0 = dictApplicative.Apply0();
|
|
154
|
+
return v => {
|
|
155
|
+
if (v.tag === "CatNil") { return dictApplicative.pure(CatNil); }
|
|
156
|
+
if (v.tag === "CatCons") {
|
|
157
|
+
return Apply0.apply(Apply0.Functor0().map(cons)(v._1))(traversableCatList.sequence(dictApplicative)(v._2._1.tag === "Nil" && v._2._2.tag === "Nil"
|
|
158
|
+
? CatNil
|
|
159
|
+
: foldr(link)(CatNil)(v._2)));
|
|
160
|
+
}
|
|
161
|
+
$runtime.fail();
|
|
162
|
+
};
|
|
163
|
+
},
|
|
164
|
+
Functor0: () => functorCatList,
|
|
165
|
+
Foldable1: () => foldableCatList
|
|
166
|
+
};
|
|
167
|
+
const semigroupCatList = {append: link};
|
|
168
|
+
const monoidCatList = {mempty: CatNil, Semigroup0: () => semigroupCatList};
|
|
169
|
+
const monadCatList = {Applicative0: () => applicativeCatList, Bind1: () => bindCatList$lazy()};
|
|
170
|
+
const applyCatList = {apply: f => a => bindCatList$lazy().bind(f)(f$p => bindCatList$lazy().bind(a)(a$p => applicativeCatList.pure(f$p(a$p)))), Functor0: () => functorCatList};
|
|
171
|
+
const applicativeCatList = {pure: singleton, Apply0: () => applyCatList};
|
|
172
|
+
const bindCatList$lazy = /* #__PURE__ */ $runtime.binding(() => (
|
|
173
|
+
{
|
|
174
|
+
bind: (() => {
|
|
175
|
+
const $0 = foldMap(monoidCatList);
|
|
176
|
+
return b => a => $0(a)(b);
|
|
177
|
+
})(),
|
|
178
|
+
Apply0: () => applyCatList
|
|
179
|
+
}
|
|
180
|
+
));
|
|
181
|
+
const bindCatList = /* #__PURE__ */ bindCatList$lazy();
|
|
182
|
+
const fromFoldable = dictFoldable => {
|
|
183
|
+
const foldMap1 = dictFoldable.foldMap(monoidCatList);
|
|
184
|
+
return f => foldMap1(singleton)(f);
|
|
185
|
+
};
|
|
186
|
+
const snoc = cat => a => {
|
|
187
|
+
if (cat.tag === "CatNil") { return $CatList("CatCons", a, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)); }
|
|
188
|
+
if (cat.tag === "CatCons") {
|
|
189
|
+
return $CatList(
|
|
190
|
+
"CatCons",
|
|
191
|
+
cat._1,
|
|
192
|
+
Data$dCatQueue.$CatQueue(
|
|
193
|
+
cat._2._1,
|
|
194
|
+
Data$dList$dTypes.$List("Cons", $CatList("CatCons", a, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)), cat._2._2)
|
|
195
|
+
)
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
$runtime.fail();
|
|
199
|
+
};
|
|
200
|
+
const unfoldable1CatList = {
|
|
201
|
+
unfoldr1: f => b => {
|
|
202
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
203
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
204
|
+
while (go$c) {
|
|
205
|
+
const source = go$a0, memo = go$a1;
|
|
206
|
+
const v = f(source);
|
|
207
|
+
if (v._2.tag === "Nothing") {
|
|
208
|
+
if (memo.tag === "CatNil") {
|
|
209
|
+
go$c = false;
|
|
210
|
+
go$r = $CatList("CatCons", v._1, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil));
|
|
211
|
+
continue;
|
|
212
|
+
}
|
|
213
|
+
if (memo.tag === "CatCons") {
|
|
214
|
+
go$c = false;
|
|
215
|
+
go$r = $CatList(
|
|
216
|
+
"CatCons",
|
|
217
|
+
memo._1,
|
|
218
|
+
Data$dCatQueue.$CatQueue(
|
|
219
|
+
memo._2._1,
|
|
220
|
+
Data$dList$dTypes.$List("Cons", $CatList("CatCons", v._1, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)), memo._2._2)
|
|
221
|
+
)
|
|
222
|
+
);
|
|
223
|
+
continue;
|
|
224
|
+
}
|
|
225
|
+
$runtime.fail();
|
|
226
|
+
}
|
|
227
|
+
if (v._2.tag === "Just") {
|
|
228
|
+
go$a0 = v._2._1;
|
|
229
|
+
go$a1 = (() => {
|
|
230
|
+
if (memo.tag === "CatNil") { return $CatList("CatCons", v._1, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)); }
|
|
231
|
+
if (memo.tag === "CatCons") {
|
|
232
|
+
return $CatList(
|
|
233
|
+
"CatCons",
|
|
234
|
+
memo._1,
|
|
235
|
+
Data$dCatQueue.$CatQueue(
|
|
236
|
+
memo._2._1,
|
|
237
|
+
Data$dList$dTypes.$List("Cons", $CatList("CatCons", v._1, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)), memo._2._2)
|
|
238
|
+
)
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
$runtime.fail();
|
|
242
|
+
})();
|
|
243
|
+
continue;
|
|
244
|
+
}
|
|
245
|
+
$runtime.fail();
|
|
246
|
+
}
|
|
247
|
+
return go$r;
|
|
248
|
+
};
|
|
249
|
+
return go(b)(CatNil);
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
const unfoldableCatList = {
|
|
253
|
+
unfoldr: f => b => {
|
|
254
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
255
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
256
|
+
while (go$c) {
|
|
257
|
+
const source = go$a0, memo = go$a1;
|
|
258
|
+
const v = f(source);
|
|
259
|
+
if (v.tag === "Nothing") {
|
|
260
|
+
go$c = false;
|
|
261
|
+
go$r = memo;
|
|
262
|
+
continue;
|
|
263
|
+
}
|
|
264
|
+
if (v.tag === "Just") {
|
|
265
|
+
go$a0 = v._1._2;
|
|
266
|
+
go$a1 = (() => {
|
|
267
|
+
if (memo.tag === "CatNil") { return $CatList("CatCons", v._1._1, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)); }
|
|
268
|
+
if (memo.tag === "CatCons") {
|
|
269
|
+
return $CatList(
|
|
270
|
+
"CatCons",
|
|
271
|
+
memo._1,
|
|
272
|
+
Data$dCatQueue.$CatQueue(
|
|
273
|
+
memo._2._1,
|
|
274
|
+
Data$dList$dTypes.$List("Cons", $CatList("CatCons", v._1._1, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)), memo._2._2)
|
|
275
|
+
)
|
|
276
|
+
);
|
|
277
|
+
}
|
|
278
|
+
$runtime.fail();
|
|
279
|
+
})();
|
|
280
|
+
continue;
|
|
281
|
+
}
|
|
282
|
+
$runtime.fail();
|
|
283
|
+
}
|
|
284
|
+
return go$r;
|
|
285
|
+
};
|
|
286
|
+
return go(b)(CatNil);
|
|
287
|
+
},
|
|
288
|
+
Unfoldable10: () => unfoldable1CatList
|
|
289
|
+
};
|
|
290
|
+
const altCatList = {alt: link, Functor0: () => functorCatList};
|
|
291
|
+
const plusCatList = {empty: CatNil, Alt0: () => altCatList};
|
|
292
|
+
const alternativeCatList = {Applicative0: () => applicativeCatList, Plus1: () => plusCatList};
|
|
293
|
+
const monadPlusCatList = {Monad0: () => monadCatList, Alternative1: () => alternativeCatList};
|
|
294
|
+
export {
|
|
295
|
+
$CatList,
|
|
296
|
+
CatCons,
|
|
297
|
+
CatNil,
|
|
298
|
+
altCatList,
|
|
299
|
+
alternativeCatList,
|
|
300
|
+
append,
|
|
301
|
+
applicativeCatList,
|
|
302
|
+
applyCatList,
|
|
303
|
+
bindCatList,
|
|
304
|
+
cons,
|
|
305
|
+
empty,
|
|
306
|
+
foldMap,
|
|
307
|
+
foldableCatList,
|
|
308
|
+
foldr,
|
|
309
|
+
fromFoldable,
|
|
310
|
+
functorCatList,
|
|
311
|
+
length,
|
|
312
|
+
link,
|
|
313
|
+
monadCatList,
|
|
314
|
+
monadPlusCatList,
|
|
315
|
+
monoidCatList,
|
|
316
|
+
$$null as null,
|
|
317
|
+
plusCatList,
|
|
318
|
+
semigroupCatList,
|
|
319
|
+
showCatList,
|
|
320
|
+
singleton,
|
|
321
|
+
snoc,
|
|
322
|
+
traversableCatList,
|
|
323
|
+
uncons,
|
|
324
|
+
unfoldable1CatList,
|
|
325
|
+
unfoldableCatList
|
|
326
|
+
};
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
// | This module defines a strict double-ended queue.
|
|
2
|
+
// |
|
|
3
|
+
// | The queue implementation is based on a pair of lists where all
|
|
4
|
+
// | operations require `O(1)` amortized time.
|
|
5
|
+
// |
|
|
6
|
+
// | However, any single `uncons` operation may run in `O(n)` time.
|
|
7
|
+
// |
|
|
8
|
+
// | See [Simple and Efficient Purely Functional Queues and Dequeues](http://www.westpoint.edu/eecs/SiteAssets/SitePages/Faculty%20Publication%20Documents/Okasaki/jfp95queue.pdf) (Okasaki 1995)
|
|
9
|
+
import * as $runtime from "../runtime.js";
|
|
10
|
+
import * as Data$dFoldable from "../Data.Foldable/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$dOrdering from "../Data.Ordering/index.js";
|
|
14
|
+
import * as Data$dTraversable from "../Data.Traversable/index.js";
|
|
15
|
+
import * as Data$dTuple from "../Data.Tuple/index.js";
|
|
16
|
+
const $CatQueue = (_1, _2) => ({tag: "CatQueue", _1, _2});
|
|
17
|
+
const CatQueue = value0 => value1 => $CatQueue(value0, value1);
|
|
18
|
+
const unsnoc = unsnoc$a0$copy => {
|
|
19
|
+
let unsnoc$a0 = unsnoc$a0$copy, unsnoc$c = true, unsnoc$r;
|
|
20
|
+
while (unsnoc$c) {
|
|
21
|
+
const v = unsnoc$a0;
|
|
22
|
+
if (v._2.tag === "Cons") {
|
|
23
|
+
unsnoc$c = false;
|
|
24
|
+
unsnoc$r = Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v._2._1, $CatQueue(v._1, v._2._2)));
|
|
25
|
+
continue;
|
|
26
|
+
}
|
|
27
|
+
if (v._2.tag === "Nil") {
|
|
28
|
+
if (v._1.tag === "Nil") {
|
|
29
|
+
unsnoc$c = false;
|
|
30
|
+
unsnoc$r = Data$dMaybe.Nothing;
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
unsnoc$a0 = $CatQueue(
|
|
34
|
+
Data$dList$dTypes.Nil,
|
|
35
|
+
(() => {
|
|
36
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
37
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
38
|
+
while (go$c) {
|
|
39
|
+
const v$1 = go$a0, v1 = go$a1;
|
|
40
|
+
if (v1.tag === "Nil") {
|
|
41
|
+
go$c = false;
|
|
42
|
+
go$r = v$1;
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
if (v1.tag === "Cons") {
|
|
46
|
+
go$a0 = Data$dList$dTypes.$List("Cons", v1._1, v$1);
|
|
47
|
+
go$a1 = v1._2;
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
$runtime.fail();
|
|
51
|
+
}
|
|
52
|
+
return go$r;
|
|
53
|
+
};
|
|
54
|
+
return go(Data$dList$dTypes.Nil)(v._1);
|
|
55
|
+
})()
|
|
56
|
+
);
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
$runtime.fail();
|
|
60
|
+
}
|
|
61
|
+
return unsnoc$r;
|
|
62
|
+
};
|
|
63
|
+
const uncons = uncons$a0$copy => {
|
|
64
|
+
let uncons$a0 = uncons$a0$copy, uncons$c = true, uncons$r;
|
|
65
|
+
while (uncons$c) {
|
|
66
|
+
const v = uncons$a0;
|
|
67
|
+
if (v._1.tag === "Nil") {
|
|
68
|
+
if (v._2.tag === "Nil") {
|
|
69
|
+
uncons$c = false;
|
|
70
|
+
uncons$r = Data$dMaybe.Nothing;
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
uncons$a0 = $CatQueue(
|
|
74
|
+
(() => {
|
|
75
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
76
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
77
|
+
while (go$c) {
|
|
78
|
+
const v$1 = go$a0, v1 = go$a1;
|
|
79
|
+
if (v1.tag === "Nil") {
|
|
80
|
+
go$c = false;
|
|
81
|
+
go$r = v$1;
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
if (v1.tag === "Cons") {
|
|
85
|
+
go$a0 = Data$dList$dTypes.$List("Cons", v1._1, v$1);
|
|
86
|
+
go$a1 = v1._2;
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
$runtime.fail();
|
|
90
|
+
}
|
|
91
|
+
return go$r;
|
|
92
|
+
};
|
|
93
|
+
return go(Data$dList$dTypes.Nil)(v._2);
|
|
94
|
+
})(),
|
|
95
|
+
Data$dList$dTypes.Nil
|
|
96
|
+
);
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
if (v._1.tag === "Cons") {
|
|
100
|
+
uncons$c = false;
|
|
101
|
+
uncons$r = Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v._1._1, $CatQueue(v._1._2, v._2)));
|
|
102
|
+
continue;
|
|
103
|
+
}
|
|
104
|
+
$runtime.fail();
|
|
105
|
+
}
|
|
106
|
+
return uncons$r;
|
|
107
|
+
};
|
|
108
|
+
const snoc = v => a => $CatQueue(v._1, Data$dList$dTypes.$List("Cons", a, v._2));
|
|
109
|
+
const showCatQueue = dictShow => {
|
|
110
|
+
const $0 = Data$dList$dTypes.showList(dictShow);
|
|
111
|
+
return {show: v => "(CatQueue " + $0.show(v._1) + " " + $0.show(v._2) + ")"};
|
|
112
|
+
};
|
|
113
|
+
const $$null = v => v._1.tag === "Nil" && v._2.tag === "Nil";
|
|
114
|
+
const length = v => {
|
|
115
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
116
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
117
|
+
while (go$c) {
|
|
118
|
+
const b = go$a0, v$1 = go$a1;
|
|
119
|
+
if (v$1.tag === "Nil") {
|
|
120
|
+
go$c = false;
|
|
121
|
+
go$r = b;
|
|
122
|
+
continue;
|
|
123
|
+
}
|
|
124
|
+
if (v$1.tag === "Cons") {
|
|
125
|
+
go$a0 = b + 1 | 0;
|
|
126
|
+
go$a1 = v$1._2;
|
|
127
|
+
continue;
|
|
128
|
+
}
|
|
129
|
+
$runtime.fail();
|
|
130
|
+
}
|
|
131
|
+
return go$r;
|
|
132
|
+
};
|
|
133
|
+
const go$1 = go$1$a0$copy => go$1$a1$copy => {
|
|
134
|
+
let go$1$a0 = go$1$a0$copy, go$1$a1 = go$1$a1$copy, go$1$c = true, go$1$r;
|
|
135
|
+
while (go$1$c) {
|
|
136
|
+
const b = go$1$a0, v$1 = go$1$a1;
|
|
137
|
+
if (v$1.tag === "Nil") {
|
|
138
|
+
go$1$c = false;
|
|
139
|
+
go$1$r = b;
|
|
140
|
+
continue;
|
|
141
|
+
}
|
|
142
|
+
if (v$1.tag === "Cons") {
|
|
143
|
+
go$1$a0 = b + 1 | 0;
|
|
144
|
+
go$1$a1 = v$1._2;
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
147
|
+
$runtime.fail();
|
|
148
|
+
}
|
|
149
|
+
return go$1$r;
|
|
150
|
+
};
|
|
151
|
+
return go(0)(v._1) + go$1(0)(v._2) | 0;
|
|
152
|
+
};
|
|
153
|
+
const functorCatQueue = {map: f => v => $CatQueue(Data$dList$dTypes.listMap(f)(v._1), Data$dList$dTypes.listMap(f)(v._2))};
|
|
154
|
+
const foldableCatQueue = {
|
|
155
|
+
foldMap: dictMonoid => {
|
|
156
|
+
const mempty = dictMonoid.mempty;
|
|
157
|
+
return f => foldableCatQueue.foldl(acc => x => dictMonoid.Semigroup0().append(acc)(f(x)))(mempty);
|
|
158
|
+
},
|
|
159
|
+
foldr: f => Data$dFoldable.foldrDefault(foldableCatQueue)(f),
|
|
160
|
+
foldl: f => {
|
|
161
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
162
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
163
|
+
while (go$c) {
|
|
164
|
+
const acc = go$a0, q = go$a1;
|
|
165
|
+
const v = uncons(q);
|
|
166
|
+
if (v.tag === "Just") {
|
|
167
|
+
go$a0 = f(acc)(v._1._1);
|
|
168
|
+
go$a1 = v._1._2;
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
if (v.tag === "Nothing") {
|
|
172
|
+
go$c = false;
|
|
173
|
+
go$r = acc;
|
|
174
|
+
continue;
|
|
175
|
+
}
|
|
176
|
+
$runtime.fail();
|
|
177
|
+
}
|
|
178
|
+
return go$r;
|
|
179
|
+
};
|
|
180
|
+
return go;
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
const semigroupCatQueue = /* #__PURE__ */ (() => ({append: foldableCatQueue.foldl(snoc)}))();
|
|
184
|
+
const empty = /* #__PURE__ */ $CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil);
|
|
185
|
+
const monoidCatQueue = {mempty: /* #__PURE__ */ $CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil), Semigroup0: () => semigroupCatQueue};
|
|
186
|
+
const singleton = a => $CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.$List("Cons", a, Data$dList$dTypes.Nil));
|
|
187
|
+
const fromFoldable = dictFoldable => {
|
|
188
|
+
const foldMap = dictFoldable.foldMap(monoidCatQueue);
|
|
189
|
+
return f => foldMap(singleton)(f);
|
|
190
|
+
};
|
|
191
|
+
const traversableCatQueue = {
|
|
192
|
+
traverse: dictApplicative => {
|
|
193
|
+
const Apply0 = dictApplicative.Apply0();
|
|
194
|
+
return f => {
|
|
195
|
+
const $0 = Apply0.Functor0().map(foldableCatQueue.foldl(snoc)($CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)));
|
|
196
|
+
const $1 = foldableCatQueue.foldl(acc => x => Apply0.apply(Apply0.Functor0().map(snoc)(acc))(f(x)))(dictApplicative.pure($CatQueue(
|
|
197
|
+
Data$dList$dTypes.Nil,
|
|
198
|
+
Data$dList$dTypes.Nil
|
|
199
|
+
)));
|
|
200
|
+
return x => $0($1(x));
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
sequence: dictApplicative => traversableCatQueue.traverse(dictApplicative)(Data$dTraversable.identity),
|
|
204
|
+
Functor0: () => functorCatQueue,
|
|
205
|
+
Foldable1: () => foldableCatQueue
|
|
206
|
+
};
|
|
207
|
+
const unfoldable1CatQueue = {
|
|
208
|
+
unfoldr1: f => b => {
|
|
209
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
210
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
211
|
+
while (go$c) {
|
|
212
|
+
const source = go$a0, memo = go$a1;
|
|
213
|
+
const v = f(source);
|
|
214
|
+
if (v._2.tag === "Nothing") {
|
|
215
|
+
go$c = false;
|
|
216
|
+
go$r = $CatQueue(memo._1, Data$dList$dTypes.$List("Cons", v._1, memo._2));
|
|
217
|
+
continue;
|
|
218
|
+
}
|
|
219
|
+
if (v._2.tag === "Just") {
|
|
220
|
+
go$a0 = v._2._1;
|
|
221
|
+
go$a1 = $CatQueue(memo._1, Data$dList$dTypes.$List("Cons", v._1, memo._2));
|
|
222
|
+
continue;
|
|
223
|
+
}
|
|
224
|
+
$runtime.fail();
|
|
225
|
+
}
|
|
226
|
+
return go$r;
|
|
227
|
+
};
|
|
228
|
+
return go(b)($CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil));
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
const unfoldableCatQueue = {
|
|
232
|
+
unfoldr: f => b => {
|
|
233
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
234
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
235
|
+
while (go$c) {
|
|
236
|
+
const source = go$a0, memo = go$a1;
|
|
237
|
+
const v = f(source);
|
|
238
|
+
if (v.tag === "Nothing") {
|
|
239
|
+
go$c = false;
|
|
240
|
+
go$r = memo;
|
|
241
|
+
continue;
|
|
242
|
+
}
|
|
243
|
+
if (v.tag === "Just") {
|
|
244
|
+
go$a0 = v._1._2;
|
|
245
|
+
go$a1 = $CatQueue(memo._1, Data$dList$dTypes.$List("Cons", v._1._1, memo._2));
|
|
246
|
+
continue;
|
|
247
|
+
}
|
|
248
|
+
$runtime.fail();
|
|
249
|
+
}
|
|
250
|
+
return go$r;
|
|
251
|
+
};
|
|
252
|
+
return go(b)($CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil));
|
|
253
|
+
},
|
|
254
|
+
Unfoldable10: () => unfoldable1CatQueue
|
|
255
|
+
};
|
|
256
|
+
const cqEq = dictEq => {
|
|
257
|
+
const go = xs => ys => {
|
|
258
|
+
const v = uncons(ys);
|
|
259
|
+
const v1 = uncons(xs);
|
|
260
|
+
if (v1.tag === "Just") { return v.tag === "Just" && dictEq.eq(v1._1._1)(v._1._1) && go(v1._1._2)(v._1._2); }
|
|
261
|
+
return v1.tag === "Nothing" && v.tag === "Nothing";
|
|
262
|
+
};
|
|
263
|
+
return go;
|
|
264
|
+
};
|
|
265
|
+
const eqCatQueue = dictEq => ({eq: cqEq(dictEq)});
|
|
266
|
+
const cqCompare = dictOrd => {
|
|
267
|
+
const go = go$a0$copy => go$a1$copy => {
|
|
268
|
+
let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r;
|
|
269
|
+
while (go$c) {
|
|
270
|
+
const xs = go$a0, ys = go$a1;
|
|
271
|
+
const v = uncons(ys);
|
|
272
|
+
const v1 = uncons(xs);
|
|
273
|
+
if (v1.tag === "Just") {
|
|
274
|
+
if (v.tag === "Just") {
|
|
275
|
+
const v2 = dictOrd.compare(v1._1._1)(v._1._1);
|
|
276
|
+
if (v2 === "EQ") {
|
|
277
|
+
go$a0 = v1._1._2;
|
|
278
|
+
go$a1 = v._1._2;
|
|
279
|
+
continue;
|
|
280
|
+
}
|
|
281
|
+
go$c = false;
|
|
282
|
+
go$r = v2;
|
|
283
|
+
continue;
|
|
284
|
+
}
|
|
285
|
+
if (v.tag === "Nothing") {
|
|
286
|
+
go$c = false;
|
|
287
|
+
go$r = Data$dOrdering.GT;
|
|
288
|
+
continue;
|
|
289
|
+
}
|
|
290
|
+
$runtime.fail();
|
|
291
|
+
}
|
|
292
|
+
if (v1.tag === "Nothing") {
|
|
293
|
+
if (v.tag === "Just") {
|
|
294
|
+
go$c = false;
|
|
295
|
+
go$r = Data$dOrdering.LT;
|
|
296
|
+
continue;
|
|
297
|
+
}
|
|
298
|
+
if (v.tag === "Nothing") {
|
|
299
|
+
go$c = false;
|
|
300
|
+
go$r = Data$dOrdering.EQ;
|
|
301
|
+
continue;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
$runtime.fail();
|
|
305
|
+
}
|
|
306
|
+
return go$r;
|
|
307
|
+
};
|
|
308
|
+
return go;
|
|
309
|
+
};
|
|
310
|
+
const ordCatQueue = dictOrd => {
|
|
311
|
+
const eqCatQueue1 = {eq: cqEq(dictOrd.Eq0())};
|
|
312
|
+
return {compare: cqCompare(dictOrd), Eq0: () => eqCatQueue1};
|
|
313
|
+
};
|
|
314
|
+
const cons = a => v => $CatQueue(Data$dList$dTypes.$List("Cons", a, v._1), v._2);
|
|
315
|
+
const monadCatQueue = {Applicative0: () => applicativeCatQueue, Bind1: () => bindCatQueue$lazy()};
|
|
316
|
+
const applyCatQueue = {apply: f => a => bindCatQueue$lazy().bind(f)(f$p => bindCatQueue$lazy().bind(a)(a$p => applicativeCatQueue.pure(f$p(a$p)))), Functor0: () => functorCatQueue};
|
|
317
|
+
const applicativeCatQueue = {pure: singleton, Apply0: () => applyCatQueue};
|
|
318
|
+
const bindCatQueue$lazy = /* #__PURE__ */ $runtime.binding(() => (
|
|
319
|
+
{
|
|
320
|
+
bind: (() => {
|
|
321
|
+
const $0 = foldableCatQueue.foldMap(monoidCatQueue);
|
|
322
|
+
return b => a => $0(a)(b);
|
|
323
|
+
})(),
|
|
324
|
+
Apply0: () => applyCatQueue
|
|
325
|
+
}
|
|
326
|
+
));
|
|
327
|
+
const bindCatQueue = /* #__PURE__ */ bindCatQueue$lazy();
|
|
328
|
+
const altCatQueue = /* #__PURE__ */ (() => ({alt: semigroupCatQueue.append, Functor0: () => functorCatQueue}))();
|
|
329
|
+
const plusCatQueue = {empty: /* #__PURE__ */ $CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil), Alt0: () => altCatQueue};
|
|
330
|
+
const alternativeCatQueue = {Applicative0: () => applicativeCatQueue, Plus1: () => plusCatQueue};
|
|
331
|
+
const monadPlusCatQueue = {Monad0: () => monadCatQueue, Alternative1: () => alternativeCatQueue};
|
|
332
|
+
export {
|
|
333
|
+
$CatQueue,
|
|
334
|
+
CatQueue,
|
|
335
|
+
altCatQueue,
|
|
336
|
+
alternativeCatQueue,
|
|
337
|
+
applicativeCatQueue,
|
|
338
|
+
applyCatQueue,
|
|
339
|
+
bindCatQueue,
|
|
340
|
+
cons,
|
|
341
|
+
cqCompare,
|
|
342
|
+
cqEq,
|
|
343
|
+
empty,
|
|
344
|
+
eqCatQueue,
|
|
345
|
+
foldableCatQueue,
|
|
346
|
+
fromFoldable,
|
|
347
|
+
functorCatQueue,
|
|
348
|
+
length,
|
|
349
|
+
monadCatQueue,
|
|
350
|
+
monadPlusCatQueue,
|
|
351
|
+
monoidCatQueue,
|
|
352
|
+
$$null as null,
|
|
353
|
+
ordCatQueue,
|
|
354
|
+
plusCatQueue,
|
|
355
|
+
semigroupCatQueue,
|
|
356
|
+
showCatQueue,
|
|
357
|
+
singleton,
|
|
358
|
+
snoc,
|
|
359
|
+
traversableCatQueue,
|
|
360
|
+
uncons,
|
|
361
|
+
unfoldable1CatQueue,
|
|
362
|
+
unfoldableCatQueue,
|
|
363
|
+
unsnoc
|
|
364
|
+
};
|