Search results

extract :: forall w a. Comonad w => w a -> a
extract :: forall a b. Step a b -> b

Returns the output value of a Step.

extract :: forall a. Run () a -> a

Extracts the value from a purely interpreted program.

extract :: forall a. Eq a => Semiring a => Matrix a -> Array Int -> a

Coefficient extraction

extract :: forall r x a. TypeEquals r x => r -> (x -> a) -> a
extract :: BitArray -> Int -> Int -> Word
extract :: forall r. Homogeneous r String => Format -> Record r -> Tracer -> Effect (Maybe SpanContext)
extract7z :: Extract7zArgs -> ExceptT Error Aff FilePath

Extract a .7z file. Returns path to the destination directory

extract7z' :: FilePath -> ExceptT Error Aff FilePath

Extract a .7z file. Returns path to the destination directory

extractTar :: ExtractTarArgs -> ExceptT Error Aff FilePath

Extract a compressed tar archive. Returns path to the destination directory

extractXar :: ExtractXarArgs -> ExceptT Error Aff FilePath

Extract a xar compatible archive. Returns path to the destination directory

extractZip :: ExtractZipArgs -> ExceptT Error Aff FilePath

Extract a zip. Returns path to the destination directory

ExtractCols :: ExtractCols
extractImpl :: EffectFn3 Tracer Format (Object String) (Nullable SpanContext)
ExtractNext :: ExtractError
extractTar' :: FilePath -> ExceptT Error Aff FilePath

Extract a compressed tar archive. Returns path to the destination directory

extractXar' :: FilePath -> ExceptT Error Aff FilePath

Extract a xar compatible archive. Returns path to the destination directory

extractZip' :: FilePath -> ExceptT Error Aff FilePath

Extract a zip. Returns path to the destination directory

extractChunk :: forall a. Monoid a => Chunk a -> a

Part of a constrained comonad instance.

extractEdges :: Node -> Tree Node -> Array Edge
ExtractError :: String -> ExtractError
extractNodes :: Tree Node -> Array Node
extractRecord :: forall extracts rsta r. ExtractRecord extracts rsta r => Record extracts -> RecordState rsta -> DataResult (Record r)

file: path to the .7z file dest: destination directory. Optional. _7zPath: path to 7zr.exe. Optional, for long path support.

extractFields :: forall xs. HasElmPortVersionFields xs => RLProxy xs -> List String
extractOffset :: AnimatedValue -> Effect Unit
extractString :: forall sym. StringLiteral sym -> String

Extract the string value out of the String Literal type

extractVariant :: forall extracts rsta r. ExtractVariant extracts rsta r => Record extracts -> VariantState rsta -> DataResult (Variant r)
extractor_hits :: Int
extractSmashRL :: forall rl r a. ComonadSmash rl r => RLProxy rl -> Smash r a -> a

file: path to the tar dest: destination directory. Defaults to randomly generated path flags: flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars).

file: path to the archive dest: destination directory. Defaults to randomly generated path flags: flags for the xar

file: path to the zip dest: destination directory. Defaults to randomly generated path

extractCtorArgs :: String -> Array String

Extract constructor argument types from a constructor signature string. Constructor sigs look like "a -> b -> MyType a b" — returns ["a", "b"] as text.

extractRecordRL :: forall rl extracts rsta r. ExtractRecordRL rl extracts rsta r => Proxy rl -> Record extracts -> RecordState rsta -> DataResult (Record r)
extractFromRoot :: Rule -> OrgFile
extractSubRecord :: forall rl source target. ExtractSubRecord rl source target => Proxy rl -> Record source -> Record target
extractVariantRL :: forall rl extracts rsta r. ExtractVariantRL rl extracts rsta r => Proxy rl -> Record extracts -> Variant rsta -> DataResult (Variant r)
extractPathParts :: forall a b. PathParts a b => URL -> Array String -> Maybe ((Array String) /\ b)
ExtractBadRequest :: String -> ExtractError
extractClassNames :: CSS -> Either ParseError (List SelectorF)
extractFromObject :: Format -> Object String -> Tracer -> Effect (Maybe SpanContext)
extractCustomError :: String -> Maybe String
extractSpanningTree :: NodeID -> ReachabilityResult -> Tree NodeID

Extract a spanning tree from reachability analysis

Converts the spanning tree edges into a Tree structure rooted at the specified node.

extractRequestParts :: forall a. RequestParts a => Request -> Aff (Either ExtractError a)
extractDatasetOverlay :: forall r. Record (DatasetCommonRow r) -> Maybe Foreign

Extract non-JSON fields from a dataset (or dataset-defaults record) as a Foreign object. Covers:

  • gradient/pattern colors and scriptable color functions (#21)
  • image point styles (#17) and scriptable pointStyle functions (#22)
  • per-segment line styling (#23, moved to JSON path in #32)
  • scriptable numeric / boolean / enum / compound fields (#22) — SIFn / SFn forms of borderWidth, borderRadius, border- Skipped, inflateAmount, base, pointRadius, radius, offset, rotation, borderAlign, circular, fill, etc.

Returns Nothing when every one of these fields contains only JSON-compatible values.

Row-polymorphic in r so the same extractor works on both Dataset (which adds label + data on top of DatasetCommonRow ()) and DatasetDefaults (which closes the row with ()). This is what lets extractDatasetsDefaultsOverlay reuse the dataset logic without duplication.

extractCtorRenderTypes :: String -> Array RenderType

Extract constructor argument types as RenderType values. Constructor sigs look like "a -> b -> MyType a b" — returns [TVar "a", TVar "b"].

extractDatasetOverlays :: forall r. Array (Record (DatasetCommonRow r)) -> Maybe (Array Foreign)

Extract dataset overlays for every dataset in the config. Covers the same categories as extractDatasetOverlay: gradient/pattern colors, scriptable color functions, and image point styles. Returns Nothing if no dataset has any non-JSON values, signalling the overlay merge can be skipped entirely.

extractDatasetsDefaultsOverlay :: DatasetsDefaults -> Maybe Foreign

Extract overlays from per-chart-type DatasetsDefaults entries (options.datasets.{line,bar,bubble,...}). Returns Nothing when every chart-type slot is either Nothing or contains only JSON- compatible values. Otherwise returns a Foreign object keyed by chart type string whose values are the per-type dataset overlays from extractDatasetOverlay — the same shape mergeOverlays in FFI.js already understands for regular dataset overlays, just namespaced into a different merge target.

Without this helper, a consumer writing SIFn, a gradient, an image point style on DatasetDefaults would silently lose the value: the JSON encoder emits null for the non-serializable form, and if nothing routes the real value onto config.options.datasets[type], Chart.js falls back to its built- in palette.

No further results.