MlbendDatasets.from_env: def of mlbend-datasets@0.1.6.0 Import: import mlbend-datasets@0.1.6.0/main.bend as MlbendDatasets Lines 281-290 of mlbend-datasets@0.1.6.0/main.bend: https://jend.leeeet.dev/read.txt?path=mlbend-datasets@0.1.6.0/main.bend&start_line=281&end_line=290 import Base import mlbend-huggingface@0.1.1.0/main.bend as Hf def from_env(e: Result<&1, &1, U32 & String, String>, +repo: String, rev: String, +path: String, header: Bool, drop: Nat) -> IO(Result<&1, &1, Hf.Err, Table>): match e: case Fail{code}: fetch_csv(repo, rev, path, header, drop) case Done{dir}: do IO>: m : Maybe<&1, String> <- read_cached(cached_path(dir, repo, path)) t : Result<&1, &1, Hf.Err, Table> <- cached_or_fail(m, repo, path, header, drop) return t Uses (16): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mlbend-datasets@0.1.6.0/main.bend&name=Table https://jend.leeeet.dev/definition.txt?path=mlbend-datasets@0.1.6.0/main.bend&name=cached_or_fail https://jend.leeeet.dev/definition.txt?path=mlbend-datasets@0.1.6.0/main.bend&name=cached_path https://jend.leeeet.dev/definition.txt?path=mlbend-datasets@0.1.6.0/main.bend&name=fetch_csv https://jend.leeeet.dev/definition.txt?path=mlbend-datasets@0.1.6.0/main.bend&name=read_cached https://jend.leeeet.dev/definition.txt?path=mlbend-huggingface@0.1.1.0/main.bend&name=Err