def read_xs
import bend-visgraph@2.0.0.0/bend_visgraph.bend as BendVisgraphimport Base
import bend-visgraph@2.0.0.0/src/series.bend as Series
254def read_xs(none: Bool, path: String) -> IO(XsIn):
255 match none:
256 case True{}:
257 IO.pure(XsIn, NoXs{})
258 case False{}:
259 do IO<XsIn>:
260 text : String <- Series.read_text(path)
261 return XsRead{Series.parse(text)}