@explorable-viz/fluid 0.12.3 → 0.12.5
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 +5 -3
- package/script/install-website.sh +14 -1
- package/script/webtest-lib.mjs +101 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
// | ## Handling events emitted by an `EventEmitter`
|
|
2
|
+
// |
|
|
3
|
+
// | One can add callbacks to an `EventEmitter` on two major axes:
|
|
4
|
+
// | - whether listener is added to the **end** (i.e. `on`) or **start** (i.e. `prependListener`) of the array
|
|
5
|
+
// | - whether a listener is automatically removed after the first event (i.e. `once` or `prependOnceListener`).
|
|
6
|
+
// |
|
|
7
|
+
// | This module provides functions for each of the above 4 callback-adding functions
|
|
8
|
+
// | If `<fn>` is either `on`, `once`, `prependListener`, or `prependOnceListener`, then this module exposes
|
|
9
|
+
// | 1. `<fn>` - returns a callback that removes the listener
|
|
10
|
+
// | 2. `<fn>_` - does not return a callback that can remove the listener
|
|
11
|
+
// |
|
|
12
|
+
// | ## Defining events emitted by an `EventEmitter`
|
|
13
|
+
// |
|
|
14
|
+
// | Below, we'll provide an example for how to define an event handler for a type. Let's assume the following:
|
|
15
|
+
// | - There is a type `Foo` that exends `EventEmitter`
|
|
16
|
+
// | - `Foo` values can handle "bar" events
|
|
17
|
+
// | - a "bar" event takes the following callback: `EffectFn2 (Nullable Error) String Unit`
|
|
18
|
+
// | - the `String` value is always either "red", "green", or "blue"
|
|
19
|
+
// |
|
|
20
|
+
// | Then we would write
|
|
21
|
+
// | ```
|
|
22
|
+
// | data Color
|
|
23
|
+
// | = Red
|
|
24
|
+
// | | Green
|
|
25
|
+
// | | Blue
|
|
26
|
+
// |
|
|
27
|
+
// | -- Note: see docs on `EventHandle`
|
|
28
|
+
// | -- for the below naming convention justification
|
|
29
|
+
// | -- of suffixing an event name with `H`.
|
|
30
|
+
// | barH
|
|
31
|
+
// | :: EventHandle
|
|
32
|
+
// | Foo
|
|
33
|
+
// | (Maybe Error -> Color -> Effect Unit)
|
|
34
|
+
// | (EffectFn1 (Nullable Error) String Unit)
|
|
35
|
+
// | barH = EventHandle "bar" $ \psCb ->
|
|
36
|
+
// | mkEffectFn2 \nullableError str ->
|
|
37
|
+
// | psCb (toMaybe nullableError) case str of
|
|
38
|
+
// | "red" -> Red
|
|
39
|
+
// | "green" -> Green
|
|
40
|
+
// | "blue" -> Blue
|
|
41
|
+
// | _ ->
|
|
42
|
+
// | unsafeCrashWith $
|
|
43
|
+
// | "Impossible String value for event 'bar': " <> show str
|
|
44
|
+
// | ```
|
|
45
|
+
// |
|
|
46
|
+
// | ## Emitting events via an `EventEmitter`
|
|
47
|
+
// |
|
|
48
|
+
// | Unfortunately, there isn't a good way to emit events safely in PureScript. If one wants to emit an event
|
|
49
|
+
// | in PureScript code that will be consumed by PureScript code, there are better abstractions to use than `EventEmitter`.
|
|
50
|
+
// | If one wants to emit an event in PureScript code that will be consumed by JavaScript code, then
|
|
51
|
+
// | the `unsafeEmitFn` function can be used to call n-ary functions. However, this is very unsafe. See its docs for more context.
|
|
52
|
+
import * as Data$dEither from "../Data.Either/index.js";
|
|
53
|
+
import * as Data$dFunctor from "../Data.Functor/index.js";
|
|
54
|
+
import * as Effect$dUncurried from "../Effect.Uncurried/index.js";
|
|
55
|
+
import {
|
|
56
|
+
new as $$new,
|
|
57
|
+
eventNamesImpl,
|
|
58
|
+
getMaxListenersImpl,
|
|
59
|
+
listenerCountImpl,
|
|
60
|
+
setMaxListenersImpl,
|
|
61
|
+
symbolOrStr,
|
|
62
|
+
unsafeEmitFn,
|
|
63
|
+
unsafeOff,
|
|
64
|
+
unsafeOn,
|
|
65
|
+
unsafeOnce,
|
|
66
|
+
unsafePrependListener,
|
|
67
|
+
unsafePrependOnceListener
|
|
68
|
+
} from "./foreign.js";
|
|
69
|
+
const $EventHandle = (_1, _2) => ({tag: "EventHandle", _1, _2});
|
|
70
|
+
const EventHandle = value0 => value1 => $EventHandle(value0, value1);
|
|
71
|
+
const subscribeSameFunction = (onXFn, eventEmitter, eventName, jsCb) => {
|
|
72
|
+
onXFn(eventEmitter, eventName, jsCb);
|
|
73
|
+
return () => unsafeOff(eventEmitter, eventName, jsCb);
|
|
74
|
+
};
|
|
75
|
+
const setMaxListeners = max => emitter => () => setMaxListenersImpl(emitter, max);
|
|
76
|
+
const setUnlimitedListeners = /* #__PURE__ */ setMaxListeners(0);
|
|
77
|
+
const removeListenerH = /* #__PURE__ */ $EventHandle("removeListener", cb => jsSymbol => cb(symbolOrStr(Data$dEither.Left, Data$dEither.Right, jsSymbol))());
|
|
78
|
+
const prependOnceListener_ = v => psCb => eventEmitter => {
|
|
79
|
+
const $0 = v._1;
|
|
80
|
+
const $1 = v._2(psCb);
|
|
81
|
+
return () => unsafePrependOnceListener(eventEmitter, $0, $1);
|
|
82
|
+
};
|
|
83
|
+
const prependOnceListener = v => psCb => eventEmitter => {
|
|
84
|
+
const $0 = v._1;
|
|
85
|
+
const $1 = v._2(psCb);
|
|
86
|
+
return () => subscribeSameFunction(unsafePrependOnceListener, eventEmitter, $0, $1);
|
|
87
|
+
};
|
|
88
|
+
const prependListener_ = v => psCb => eventEmitter => {
|
|
89
|
+
const $0 = v._1;
|
|
90
|
+
const $1 = v._2(psCb);
|
|
91
|
+
return () => unsafePrependListener(eventEmitter, $0, $1);
|
|
92
|
+
};
|
|
93
|
+
const prependListener = v => psCb => eventEmitter => {
|
|
94
|
+
const $0 = v._1;
|
|
95
|
+
const $1 = v._2(psCb);
|
|
96
|
+
return () => subscribeSameFunction(unsafePrependListener, eventEmitter, $0, $1);
|
|
97
|
+
};
|
|
98
|
+
const once_ = v => psCb => eventEmitter => {
|
|
99
|
+
const $0 = v._1;
|
|
100
|
+
const $1 = v._2(psCb);
|
|
101
|
+
return () => unsafeOnce(eventEmitter, $0, $1);
|
|
102
|
+
};
|
|
103
|
+
const once = v => psCb => eventEmitter => {
|
|
104
|
+
const $0 = v._1;
|
|
105
|
+
const $1 = v._2(psCb);
|
|
106
|
+
return () => subscribeSameFunction(unsafeOnce, eventEmitter, $0, $1);
|
|
107
|
+
};
|
|
108
|
+
const on_ = v => psCb => eventEmitter => {
|
|
109
|
+
const $0 = v._1;
|
|
110
|
+
const $1 = v._2(psCb);
|
|
111
|
+
return () => unsafeOn(eventEmitter, $0, $1);
|
|
112
|
+
};
|
|
113
|
+
const on = v => psCb => eventEmitter => {
|
|
114
|
+
const $0 = v._1;
|
|
115
|
+
const $1 = v._2(psCb);
|
|
116
|
+
return () => subscribeSameFunction(unsafeOn, eventEmitter, $0, $1);
|
|
117
|
+
};
|
|
118
|
+
const newListenerH = /* #__PURE__ */ $EventHandle("newListener", cb => jsSymbol => cb(symbolOrStr(Data$dEither.Left, Data$dEither.Right, jsSymbol))());
|
|
119
|
+
const listenerCount = emitter => eventName => () => listenerCountImpl(emitter, eventName);
|
|
120
|
+
const getMaxListeners = /* #__PURE__ */ Effect$dUncurried.runEffectFn1(getMaxListenersImpl);
|
|
121
|
+
const eventNames = ee => Data$dFunctor.arrayMap(x => symbolOrStr(Data$dEither.Left, Data$dEither.Right, x))(eventNamesImpl(ee));
|
|
122
|
+
export {
|
|
123
|
+
$EventHandle,
|
|
124
|
+
EventHandle,
|
|
125
|
+
eventNames,
|
|
126
|
+
getMaxListeners,
|
|
127
|
+
listenerCount,
|
|
128
|
+
newListenerH,
|
|
129
|
+
on,
|
|
130
|
+
on_,
|
|
131
|
+
once,
|
|
132
|
+
once_,
|
|
133
|
+
prependListener,
|
|
134
|
+
prependListener_,
|
|
135
|
+
prependOnceListener,
|
|
136
|
+
prependOnceListener_,
|
|
137
|
+
removeListenerH,
|
|
138
|
+
setMaxListeners,
|
|
139
|
+
setUnlimitedListeners,
|
|
140
|
+
subscribeSameFunction
|
|
141
|
+
};
|
|
142
|
+
export * from "./foreign.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as $runtime from "../runtime.js";
|
|
2
|
+
const $SymlinkType = tag => tag;
|
|
3
|
+
const FileLink = /* #__PURE__ */ $SymlinkType("FileLink");
|
|
4
|
+
const DirLink = /* #__PURE__ */ $SymlinkType("DirLink");
|
|
5
|
+
const JunctionLink = /* #__PURE__ */ $SymlinkType("JunctionLink");
|
|
6
|
+
const symlinkTypeToNode = ty => {
|
|
7
|
+
if (ty === "FileLink") { return "file"; }
|
|
8
|
+
if (ty === "DirLink") { return "dir"; }
|
|
9
|
+
if (ty === "JunctionLink") { return "junction"; }
|
|
10
|
+
$runtime.fail();
|
|
11
|
+
};
|
|
12
|
+
const showSymlinkType = {
|
|
13
|
+
show: v => {
|
|
14
|
+
if (v === "FileLink") { return "FileLink"; }
|
|
15
|
+
if (v === "DirLink") { return "DirLink"; }
|
|
16
|
+
if (v === "JunctionLink") { return "JunctionLink"; }
|
|
17
|
+
$runtime.fail();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const eqSymlinkType = {
|
|
21
|
+
eq: x => y => {
|
|
22
|
+
if (x === "FileLink") { return y === "FileLink"; }
|
|
23
|
+
if (x === "DirLink") { return y === "DirLink"; }
|
|
24
|
+
return x === "JunctionLink" && y === "JunctionLink";
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export {$SymlinkType, DirLink, FileLink, JunctionLink, eqSymlinkType, showSymlinkType, symlinkTypeToNode};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import * as Data$dEither from "../Data.Either/index.js";
|
|
2
|
+
import * as Data$dMaybe from "../Data.Maybe/index.js";
|
|
3
|
+
import * as Data$dNullable from "../Data.Nullable/index.js";
|
|
4
|
+
import * as Effect$dAff from "../Effect.Aff/index.js";
|
|
5
|
+
import * as Node$dFS$dAsync from "../Node.FS.Async/index.js";
|
|
6
|
+
import * as Node$dFS$dConstants from "../Node.FS.Constants/index.js";
|
|
7
|
+
const toAff1 = f => a => {
|
|
8
|
+
const $0 = f(a);
|
|
9
|
+
return Effect$dAff.makeAff(k => {
|
|
10
|
+
const $1 = $0(k);
|
|
11
|
+
return () => {
|
|
12
|
+
$1();
|
|
13
|
+
return Effect$dAff.nonCanceler;
|
|
14
|
+
};
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
const unlink = /* #__PURE__ */ toAff1(Node$dFS$dAsync.unlink);
|
|
18
|
+
const toAff2 = f => a => b => {
|
|
19
|
+
const $0 = f(a)(b);
|
|
20
|
+
return Effect$dAff.makeAff(k => {
|
|
21
|
+
const $1 = $0(k);
|
|
22
|
+
return () => {
|
|
23
|
+
$1();
|
|
24
|
+
return Effect$dAff.nonCanceler;
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
const truncate = /* #__PURE__ */ toAff2(Node$dFS$dAsync.truncate);
|
|
29
|
+
const writeFile = /* #__PURE__ */ toAff2(Node$dFS$dAsync.writeFile);
|
|
30
|
+
const toAff3 = f => a => b => c => {
|
|
31
|
+
const $0 = f(a)(b)(c);
|
|
32
|
+
return Effect$dAff.makeAff(k => {
|
|
33
|
+
const $1 = $0(k);
|
|
34
|
+
return () => {
|
|
35
|
+
$1();
|
|
36
|
+
return Effect$dAff.nonCanceler;
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
const utimes = /* #__PURE__ */ toAff3(Node$dFS$dAsync.utimes);
|
|
41
|
+
const writeTextFile = /* #__PURE__ */ toAff3(Node$dFS$dAsync.writeTextFile);
|
|
42
|
+
const toAff5 = f => a => b => c => d => e => {
|
|
43
|
+
const $0 = f(a)(b)(c)(d)(e);
|
|
44
|
+
return Effect$dAff.makeAff(k => {
|
|
45
|
+
const $1 = $0(k);
|
|
46
|
+
return () => {
|
|
47
|
+
$1();
|
|
48
|
+
return Effect$dAff.nonCanceler;
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
const symlink = /* #__PURE__ */ toAff3(Node$dFS$dAsync.symlink);
|
|
53
|
+
const stat = /* #__PURE__ */ toAff1(Node$dFS$dAsync.stat);
|
|
54
|
+
const rmdir$p = /* #__PURE__ */ toAff2(Node$dFS$dAsync.rmdir$p);
|
|
55
|
+
const rmdir = /* #__PURE__ */ toAff1(Node$dFS$dAsync.rmdir);
|
|
56
|
+
const rm$p = /* #__PURE__ */ toAff2(Node$dFS$dAsync.rm$p);
|
|
57
|
+
const rm = /* #__PURE__ */ toAff1(Node$dFS$dAsync.rmdir);
|
|
58
|
+
const rename = /* #__PURE__ */ toAff2(Node$dFS$dAsync.rename);
|
|
59
|
+
const realpath$p = /* #__PURE__ */ toAff2(Node$dFS$dAsync.realpath$p);
|
|
60
|
+
const realpath = /* #__PURE__ */ toAff1(Node$dFS$dAsync.realpath);
|
|
61
|
+
const readlink = /* #__PURE__ */ toAff1(Node$dFS$dAsync.readlink);
|
|
62
|
+
const readdir = /* #__PURE__ */ toAff1(Node$dFS$dAsync.readdir);
|
|
63
|
+
const readTextFile = /* #__PURE__ */ toAff2(Node$dFS$dAsync.readTextFile);
|
|
64
|
+
const readFile = /* #__PURE__ */ toAff1(Node$dFS$dAsync.readFile);
|
|
65
|
+
const mkdtemp$p = /* #__PURE__ */ toAff2(Node$dFS$dAsync.mkdtemp$p);
|
|
66
|
+
const mkdtemp = /* #__PURE__ */ toAff1(Node$dFS$dAsync.mkdtemp);
|
|
67
|
+
const mkdir$p = /* #__PURE__ */ toAff2(Node$dFS$dAsync.mkdir$p);
|
|
68
|
+
const mkdir = /* #__PURE__ */ toAff1(Node$dFS$dAsync.mkdir);
|
|
69
|
+
const link = /* #__PURE__ */ toAff2(Node$dFS$dAsync.link);
|
|
70
|
+
const fdWrite = /* #__PURE__ */ toAff5(Node$dFS$dAsync.fdWrite);
|
|
71
|
+
const fdRead = /* #__PURE__ */ toAff5(Node$dFS$dAsync.fdRead);
|
|
72
|
+
const fdOpen = /* #__PURE__ */ toAff3(Node$dFS$dAsync.fdOpen);
|
|
73
|
+
const fdNext = /* #__PURE__ */ toAff2(Node$dFS$dAsync.fdNext);
|
|
74
|
+
const fdClose = /* #__PURE__ */ toAff1(Node$dFS$dAsync.fdClose);
|
|
75
|
+
const fdAppend = /* #__PURE__ */ toAff2(Node$dFS$dAsync.fdAppend);
|
|
76
|
+
const copyFile$p = /* #__PURE__ */ toAff3(Node$dFS$dAsync.copyFile$p);
|
|
77
|
+
const copyFile = /* #__PURE__ */ toAff2(Node$dFS$dAsync.copyFile);
|
|
78
|
+
const chown = /* #__PURE__ */ toAff3(Node$dFS$dAsync.chown);
|
|
79
|
+
const chmod = /* #__PURE__ */ toAff2(Node$dFS$dAsync.chmod);
|
|
80
|
+
const appendTextFile = /* #__PURE__ */ toAff3(Node$dFS$dAsync.appendTextFile);
|
|
81
|
+
const appendFile = /* #__PURE__ */ toAff2(Node$dFS$dAsync.appendFile);
|
|
82
|
+
const access$p = path => mode => Effect$dAff.makeAff(k => () => {
|
|
83
|
+
Node$dFS$dAsync.accessImpl(path, mode, err => k(Data$dEither.$Either("Right", Data$dNullable.nullable(err, Data$dMaybe.Nothing, Data$dMaybe.Just)))());
|
|
84
|
+
return Effect$dAff.nonCanceler;
|
|
85
|
+
});
|
|
86
|
+
const access = path => Effect$dAff.makeAff(k => () => {
|
|
87
|
+
Node$dFS$dAsync.accessImpl(path, Node$dFS$dConstants.f_OK, err => k(Data$dEither.$Either("Right", Data$dNullable.nullable(err, Data$dMaybe.Nothing, Data$dMaybe.Just)))());
|
|
88
|
+
return Effect$dAff.nonCanceler;
|
|
89
|
+
});
|
|
90
|
+
export {
|
|
91
|
+
access,
|
|
92
|
+
access$p,
|
|
93
|
+
appendFile,
|
|
94
|
+
appendTextFile,
|
|
95
|
+
chmod,
|
|
96
|
+
chown,
|
|
97
|
+
copyFile,
|
|
98
|
+
copyFile$p,
|
|
99
|
+
fdAppend,
|
|
100
|
+
fdClose,
|
|
101
|
+
fdNext,
|
|
102
|
+
fdOpen,
|
|
103
|
+
fdRead,
|
|
104
|
+
fdWrite,
|
|
105
|
+
link,
|
|
106
|
+
mkdir,
|
|
107
|
+
mkdir$p,
|
|
108
|
+
mkdtemp,
|
|
109
|
+
mkdtemp$p,
|
|
110
|
+
readFile,
|
|
111
|
+
readTextFile,
|
|
112
|
+
readdir,
|
|
113
|
+
readlink,
|
|
114
|
+
realpath,
|
|
115
|
+
realpath$p,
|
|
116
|
+
rename,
|
|
117
|
+
rm,
|
|
118
|
+
rm$p,
|
|
119
|
+
rmdir,
|
|
120
|
+
rmdir$p,
|
|
121
|
+
stat,
|
|
122
|
+
symlink,
|
|
123
|
+
toAff1,
|
|
124
|
+
toAff2,
|
|
125
|
+
toAff3,
|
|
126
|
+
toAff5,
|
|
127
|
+
truncate,
|
|
128
|
+
unlink,
|
|
129
|
+
utimes,
|
|
130
|
+
writeFile,
|
|
131
|
+
writeTextFile
|
|
132
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export {
|
|
2
|
+
access as accessImpl,
|
|
3
|
+
copyFile as copyFileImpl,
|
|
4
|
+
mkdtemp as mkdtempImpl,
|
|
5
|
+
rename as renameImpl,
|
|
6
|
+
truncate as truncateImpl,
|
|
7
|
+
chown as chownImpl,
|
|
8
|
+
chmod as chmodImpl,
|
|
9
|
+
stat as statImpl,
|
|
10
|
+
lstat as lstatImpl,
|
|
11
|
+
link as linkImpl,
|
|
12
|
+
symlink as symlinkImpl,
|
|
13
|
+
readlink as readlinkImpl,
|
|
14
|
+
realpath as realpathImpl,
|
|
15
|
+
unlink as unlinkImpl,
|
|
16
|
+
rmdir as rmdirImpl,
|
|
17
|
+
rm as rmImpl,
|
|
18
|
+
mkdir as mkdirImpl,
|
|
19
|
+
readdir as readdirImpl,
|
|
20
|
+
utimes as utimesImpl,
|
|
21
|
+
readFile as readFileImpl,
|
|
22
|
+
writeFile as writeFileImpl,
|
|
23
|
+
appendFile as appendFileImpl,
|
|
24
|
+
open as openImpl,
|
|
25
|
+
read as readImpl,
|
|
26
|
+
write as writeImpl,
|
|
27
|
+
close as closeImpl
|
|
28
|
+
} from "node:fs";
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import * as $runtime from "../runtime.js";
|
|
2
|
+
import * as Data$dDateTime$dInstant from "../Data.DateTime.Instant/index.js";
|
|
3
|
+
import * as Data$dEither from "../Data.Either/index.js";
|
|
4
|
+
import * as Data$dInt from "../Data.Int/index.js";
|
|
5
|
+
import * as Data$dMaybe from "../Data.Maybe/index.js";
|
|
6
|
+
import * as Data$dNullable from "../Data.Nullable/index.js";
|
|
7
|
+
import * as Data$dNumber from "../Data.Number/index.js";
|
|
8
|
+
import * as Node$dBuffer$dImmutable from "../Node.Buffer.Immutable/index.js";
|
|
9
|
+
import * as Node$dEncoding from "../Node.Encoding/index.js";
|
|
10
|
+
import * as Node$dFS$dConstants from "../Node.FS.Constants/index.js";
|
|
11
|
+
import * as Node$dFS$dPerms from "../Node.FS.Perms/index.js";
|
|
12
|
+
import {
|
|
13
|
+
accessImpl,
|
|
14
|
+
appendFileImpl,
|
|
15
|
+
chmodImpl,
|
|
16
|
+
chownImpl,
|
|
17
|
+
closeImpl,
|
|
18
|
+
copyFileImpl,
|
|
19
|
+
linkImpl,
|
|
20
|
+
lstatImpl,
|
|
21
|
+
mkdirImpl,
|
|
22
|
+
mkdtempImpl,
|
|
23
|
+
openImpl,
|
|
24
|
+
readFileImpl,
|
|
25
|
+
readImpl,
|
|
26
|
+
readdirImpl,
|
|
27
|
+
readlinkImpl,
|
|
28
|
+
realpathImpl,
|
|
29
|
+
renameImpl,
|
|
30
|
+
rmImpl,
|
|
31
|
+
rmdirImpl,
|
|
32
|
+
statImpl,
|
|
33
|
+
symlinkImpl,
|
|
34
|
+
truncateImpl,
|
|
35
|
+
unlinkImpl,
|
|
36
|
+
utimesImpl,
|
|
37
|
+
writeFileImpl,
|
|
38
|
+
writeImpl
|
|
39
|
+
} from "./foreign.js";
|
|
40
|
+
const handleCallback = cb => (err, a) => {
|
|
41
|
+
const v = Data$dNullable.nullable(err, Data$dMaybe.Nothing, Data$dMaybe.Just);
|
|
42
|
+
if (v.tag === "Nothing") { return cb(Data$dEither.$Either("Right", a))(); }
|
|
43
|
+
if (v.tag === "Just") { return cb(Data$dEither.$Either("Left", v._1))(); }
|
|
44
|
+
$runtime.fail();
|
|
45
|
+
};
|
|
46
|
+
const link = src => dst => cb => () => linkImpl(src, dst, handleCallback(cb));
|
|
47
|
+
const lstat = file => cb => () => lstatImpl(file, handleCallback(cb));
|
|
48
|
+
const mkdir$p = file => v => cb => {
|
|
49
|
+
const $0 = {recursive: v.recursive, mode: Node$dFS$dPerms.permsToString(v.mode)};
|
|
50
|
+
return () => mkdirImpl(file, $0, handleCallback(cb));
|
|
51
|
+
};
|
|
52
|
+
const mkdir = path => mkdir$p(path)({recursive: false, mode: {u: Node$dFS$dPerms.semiringPerm.one, g: Node$dFS$dPerms.semiringPerm.one, o: Node$dFS$dPerms.semiringPerm.one}});
|
|
53
|
+
const mkdtemp$p = prefix => encoding => cb => {
|
|
54
|
+
const $0 = (() => {
|
|
55
|
+
if (encoding === "ASCII") { return "ascii"; }
|
|
56
|
+
if (encoding === "UTF8") { return "utf8"; }
|
|
57
|
+
if (encoding === "UTF16LE") { return "utf16le"; }
|
|
58
|
+
if (encoding === "UCS2") { return "ucs2"; }
|
|
59
|
+
if (encoding === "Base64") { return "base64"; }
|
|
60
|
+
if (encoding === "Base64Url") { return "base64url"; }
|
|
61
|
+
if (encoding === "Latin1") { return "latin1"; }
|
|
62
|
+
if (encoding === "Binary") { return "binary"; }
|
|
63
|
+
if (encoding === "Hex") { return "hex"; }
|
|
64
|
+
$runtime.fail();
|
|
65
|
+
})();
|
|
66
|
+
return () => mkdtempImpl(prefix, $0, handleCallback(cb));
|
|
67
|
+
};
|
|
68
|
+
const mkdtemp = prefix => mkdtemp$p(prefix)(Node$dEncoding.UTF8);
|
|
69
|
+
const readFile = file => cb => () => readFileImpl(file, {}, handleCallback(cb));
|
|
70
|
+
const readTextFile = encoding => file => cb => {
|
|
71
|
+
const $0 = {
|
|
72
|
+
encoding: (() => {
|
|
73
|
+
if (encoding === "ASCII") { return "ASCII"; }
|
|
74
|
+
if (encoding === "UTF8") { return "UTF8"; }
|
|
75
|
+
if (encoding === "UTF16LE") { return "UTF16LE"; }
|
|
76
|
+
if (encoding === "UCS2") { return "UCS2"; }
|
|
77
|
+
if (encoding === "Base64") { return "Base64"; }
|
|
78
|
+
if (encoding === "Base64Url") { return "Base64Url"; }
|
|
79
|
+
if (encoding === "Latin1") { return "Latin1"; }
|
|
80
|
+
if (encoding === "Binary") { return "Binary"; }
|
|
81
|
+
if (encoding === "Hex") { return "Hex"; }
|
|
82
|
+
$runtime.fail();
|
|
83
|
+
})()
|
|
84
|
+
};
|
|
85
|
+
return () => readFileImpl(file, $0, handleCallback(cb));
|
|
86
|
+
};
|
|
87
|
+
const readdir = file => cb => () => readdirImpl(file, handleCallback(cb));
|
|
88
|
+
const readlink = path => cb => () => readlinkImpl(path, handleCallback(cb));
|
|
89
|
+
const realpath = path => cb => () => realpathImpl(path, {}, handleCallback(cb));
|
|
90
|
+
const realpath$p = path => cache => cb => () => realpathImpl(path, cache, handleCallback(cb));
|
|
91
|
+
const rename = oldFile => newFile => cb => () => renameImpl(oldFile, newFile, handleCallback(cb));
|
|
92
|
+
const rm$p = path => opts => cb => () => rmImpl(path, opts, handleCallback(cb));
|
|
93
|
+
const rm = path => rm$p(path)({force: false, maxRetries: 100, recursive: false, retryDelay: 1000});
|
|
94
|
+
const rmdir$p = path => opts => cb => () => rmdirImpl(path, opts, handleCallback(cb));
|
|
95
|
+
const rmdir = path => cb => () => rmdirImpl(path, {maxRetries: 0, retryDelay: 100}, handleCallback(cb));
|
|
96
|
+
const stat = file => cb => () => statImpl(file, handleCallback(cb));
|
|
97
|
+
const symlink = src => dest => ty => cb => {
|
|
98
|
+
const $0 = (() => {
|
|
99
|
+
if (ty === "FileLink") { return "file"; }
|
|
100
|
+
if (ty === "DirLink") { return "dir"; }
|
|
101
|
+
if (ty === "JunctionLink") { return "junction"; }
|
|
102
|
+
$runtime.fail();
|
|
103
|
+
})();
|
|
104
|
+
return () => symlinkImpl(src, dest, $0, handleCallback(cb));
|
|
105
|
+
};
|
|
106
|
+
const truncate = file => len => cb => () => truncateImpl(file, len, handleCallback(cb));
|
|
107
|
+
const unlink = file => cb => () => unlinkImpl(file, handleCallback(cb));
|
|
108
|
+
const utimes = file => atime => mtime => cb => {
|
|
109
|
+
const $0 = $runtime.intDiv(Data$dInt.unsafeClamp(Data$dNumber.round(Data$dDateTime$dInstant.fromDateTime(atime))), 1000);
|
|
110
|
+
const $1 = $runtime.intDiv(Data$dInt.unsafeClamp(Data$dNumber.round(Data$dDateTime$dInstant.fromDateTime(mtime))), 1000);
|
|
111
|
+
return () => utimesImpl(file, $0, $1, handleCallback(cb));
|
|
112
|
+
};
|
|
113
|
+
const writeFile = file => buff => cb => () => writeFileImpl(file, buff, {}, handleCallback(cb));
|
|
114
|
+
const writeTextFile = encoding => file => buff => cb => {
|
|
115
|
+
const $0 = {
|
|
116
|
+
encoding: (() => {
|
|
117
|
+
if (encoding === "ASCII") { return "ASCII"; }
|
|
118
|
+
if (encoding === "UTF8") { return "UTF8"; }
|
|
119
|
+
if (encoding === "UTF16LE") { return "UTF16LE"; }
|
|
120
|
+
if (encoding === "UCS2") { return "UCS2"; }
|
|
121
|
+
if (encoding === "Base64") { return "Base64"; }
|
|
122
|
+
if (encoding === "Base64Url") { return "Base64Url"; }
|
|
123
|
+
if (encoding === "Latin1") { return "Latin1"; }
|
|
124
|
+
if (encoding === "Binary") { return "Binary"; }
|
|
125
|
+
if (encoding === "Hex") { return "Hex"; }
|
|
126
|
+
$runtime.fail();
|
|
127
|
+
})()
|
|
128
|
+
};
|
|
129
|
+
return () => writeFileImpl(file, buff, $0, handleCallback(cb));
|
|
130
|
+
};
|
|
131
|
+
const fdWrite = fd => buff => off => len => pos => cb => {
|
|
132
|
+
const $0 = (() => {
|
|
133
|
+
if (pos.tag === "Nothing") { return Data$dNullable.null; }
|
|
134
|
+
if (pos.tag === "Just") { return Data$dNullable.notNull(pos._1); }
|
|
135
|
+
$runtime.fail();
|
|
136
|
+
})();
|
|
137
|
+
return () => writeImpl(fd, buff, off, len, $0, handleCallback(cb));
|
|
138
|
+
};
|
|
139
|
+
const fdRead = fd => buff => off => len => pos => cb => {
|
|
140
|
+
const $0 = (() => {
|
|
141
|
+
if (pos.tag === "Nothing") { return Data$dNullable.null; }
|
|
142
|
+
if (pos.tag === "Just") { return Data$dNullable.notNull(pos._1); }
|
|
143
|
+
$runtime.fail();
|
|
144
|
+
})();
|
|
145
|
+
return () => readImpl(fd, buff, off, len, $0, handleCallback(cb));
|
|
146
|
+
};
|
|
147
|
+
const fdOpen = file => flags => mode => cb => {
|
|
148
|
+
const $0 = (() => {
|
|
149
|
+
if (flags === "R") { return "r"; }
|
|
150
|
+
if (flags === "R_PLUS") { return "r+"; }
|
|
151
|
+
if (flags === "RS") { return "rs"; }
|
|
152
|
+
if (flags === "RS_PLUS") { return "rs+"; }
|
|
153
|
+
if (flags === "W") { return "w"; }
|
|
154
|
+
if (flags === "WX") { return "wx"; }
|
|
155
|
+
if (flags === "W_PLUS") { return "w+"; }
|
|
156
|
+
if (flags === "WX_PLUS") { return "wx+"; }
|
|
157
|
+
if (flags === "A") { return "a"; }
|
|
158
|
+
if (flags === "AX") { return "ax"; }
|
|
159
|
+
if (flags === "A_PLUS") { return "a+"; }
|
|
160
|
+
if (flags === "AX_PLUS") { return "ax+"; }
|
|
161
|
+
$runtime.fail();
|
|
162
|
+
})();
|
|
163
|
+
const $1 = (() => {
|
|
164
|
+
if (mode.tag === "Nothing") { return Data$dNullable.null; }
|
|
165
|
+
if (mode.tag === "Just") { return Data$dNullable.notNull(mode._1); }
|
|
166
|
+
$runtime.fail();
|
|
167
|
+
})();
|
|
168
|
+
return () => openImpl(file, $0, $1, handleCallback(cb));
|
|
169
|
+
};
|
|
170
|
+
const fdNext = fd => buff => cb => () => fdRead(fd)(buff)(0)(Node$dBuffer$dImmutable.size(buff))(Data$dMaybe.Nothing)(cb)();
|
|
171
|
+
const fdClose = fd => cb => () => closeImpl(fd, handleCallback(cb));
|
|
172
|
+
const fdAppend = fd => buff => cb => () => fdWrite(fd)(buff)(0)(Node$dBuffer$dImmutable.size(buff))(Data$dMaybe.Nothing)(cb)();
|
|
173
|
+
const copyFile$p = src => dest => mode => cb => () => copyFileImpl(src, dest, mode, handleCallback(cb));
|
|
174
|
+
const copyFile = src => dest => copyFile$p(src)(dest)(Node$dFS$dConstants.copyFile_EXCL);
|
|
175
|
+
const chown = file => uid => gid => cb => () => chownImpl(file, uid, gid, handleCallback(cb));
|
|
176
|
+
const chmod = file => perms => cb => {
|
|
177
|
+
const $0 = Node$dFS$dPerms.permsToString(perms);
|
|
178
|
+
return () => chmodImpl(file, $0, handleCallback(cb));
|
|
179
|
+
};
|
|
180
|
+
const appendTextFile = encoding => file => buff => cb => {
|
|
181
|
+
const $0 = {
|
|
182
|
+
encoding: (() => {
|
|
183
|
+
if (encoding === "ASCII") { return "ASCII"; }
|
|
184
|
+
if (encoding === "UTF8") { return "UTF8"; }
|
|
185
|
+
if (encoding === "UTF16LE") { return "UTF16LE"; }
|
|
186
|
+
if (encoding === "UCS2") { return "UCS2"; }
|
|
187
|
+
if (encoding === "Base64") { return "Base64"; }
|
|
188
|
+
if (encoding === "Base64Url") { return "Base64Url"; }
|
|
189
|
+
if (encoding === "Latin1") { return "Latin1"; }
|
|
190
|
+
if (encoding === "Binary") { return "Binary"; }
|
|
191
|
+
if (encoding === "Hex") { return "Hex"; }
|
|
192
|
+
$runtime.fail();
|
|
193
|
+
})()
|
|
194
|
+
};
|
|
195
|
+
return () => appendFileImpl(file, buff, $0, handleCallback(cb));
|
|
196
|
+
};
|
|
197
|
+
const appendFile = file => buff => cb => () => appendFileImpl(file, buff, {}, handleCallback(cb));
|
|
198
|
+
const access$p = path => mode => cb => () => accessImpl(path, mode, err => cb(Data$dNullable.nullable(err, Data$dMaybe.Nothing, Data$dMaybe.Just))());
|
|
199
|
+
const access = path => access$p(path)(Node$dFS$dConstants.f_OK);
|
|
200
|
+
export {
|
|
201
|
+
access,
|
|
202
|
+
access$p,
|
|
203
|
+
appendFile,
|
|
204
|
+
appendTextFile,
|
|
205
|
+
chmod,
|
|
206
|
+
chown,
|
|
207
|
+
copyFile,
|
|
208
|
+
copyFile$p,
|
|
209
|
+
fdAppend,
|
|
210
|
+
fdClose,
|
|
211
|
+
fdNext,
|
|
212
|
+
fdOpen,
|
|
213
|
+
fdRead,
|
|
214
|
+
fdWrite,
|
|
215
|
+
handleCallback,
|
|
216
|
+
link,
|
|
217
|
+
lstat,
|
|
218
|
+
mkdir,
|
|
219
|
+
mkdir$p,
|
|
220
|
+
mkdtemp,
|
|
221
|
+
mkdtemp$p,
|
|
222
|
+
readFile,
|
|
223
|
+
readTextFile,
|
|
224
|
+
readdir,
|
|
225
|
+
readlink,
|
|
226
|
+
realpath,
|
|
227
|
+
realpath$p,
|
|
228
|
+
rename,
|
|
229
|
+
rm,
|
|
230
|
+
rm$p,
|
|
231
|
+
rmdir,
|
|
232
|
+
rmdir$p,
|
|
233
|
+
stat,
|
|
234
|
+
symlink,
|
|
235
|
+
truncate,
|
|
236
|
+
unlink,
|
|
237
|
+
utimes,
|
|
238
|
+
writeFile,
|
|
239
|
+
writeTextFile
|
|
240
|
+
};
|
|
241
|
+
export * from "./foreign.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { constants } from "node:fs";
|
|
2
|
+
|
|
3
|
+
export const f_OK = constants.F_OK;
|
|
4
|
+
|
|
5
|
+
export const r_OK = constants.R_OK;
|
|
6
|
+
|
|
7
|
+
export const w_OK = constants.W_OK;
|
|
8
|
+
|
|
9
|
+
export const x_OK = constants.X_OK;
|
|
10
|
+
|
|
11
|
+
export const copyFile_EXCL = constants.COPYFILE_EXCL;
|
|
12
|
+
|
|
13
|
+
export const copyFile_FICLONE = constants.COPYFILE_FICLONE;
|
|
14
|
+
|
|
15
|
+
export const copyFile_FICLONE_FORCE = constants.COPYFILE_FICLONE_FORCE;
|
|
16
|
+
|
|
17
|
+
export const appendCopyMode = (l, r) => l | r;
|