What it shows

  • Iterate a file line-by-line and print each line; basic file IO idioms.

How to run

  • export FUN_LIB_DIR=”./lib”
  • ./build_debug/fun examples/file_print_for_file_line_by_line.fun path/to/file.txt
  • Or: fun examples/file_print_for_file_line_by_line.fun path/to/file.txt

Comments