package janestreet_csv
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Tools for working with CSVs on the command line
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      v0.17.0.tar.gz
    
    
        
    
  
  
  
    
  
        sha256=8940b4aa979a3bd5993b52d36cd768fd3bd5d1fb11c36c9c269ee646c7511a41
    
    
  doc/src/janestreet_csv.csv_tool_lib/validate.ml.html
Source file validate.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18open Core open Async let run ?sep reader = let%bind csv_shape = Csv_shape.create_streaming ?sep reader in match Csv_shape.to_error_string csv_shape with | Ok () -> return (Ok ()) | Error error_csv -> let error_csv = List.map ~f:(String.concat ~sep:",") error_csv in (match error_csv with | [ "" ] -> return (Error "") | error_csv -> return (Error (String.concat ~sep:"\n" ("Error: lines with different numbers of columns" :: "" :: error_csv)))) ;;
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >