def load_text_file

bend-prot@0.1.0.0 · pdb.bend:660

import bend-prot@0.1.0.0/pdb.bend as Pdb
import Base

660# Raw file text (for template atom collection).
661def load_text_file(path: String) -> IO(String):
662  do IO<String>:
663    fh : File <- IO.try(File, File.open(path, "r"))
664    fr : File & Result<&1, &1, U32 & String, String> <- File.read(fh, 1048576)
665    finish_text(fr)

Uses (11)

Used by (0)

No other definition uses this definition.