fork download
  1. let rec formatEqual firstList secondList =
  2. match firstList with
  3. | [] -> if secondList.Equals([]) true
  4. | h :: t ->
  5. printf "%d\n" h
  6.  
  7. let format = System.Console.ReadLine()
  8. let name = System.Console.ReadLine()
  9. let res = formatEqual format name
  10.  
  11. printfn "%b" res
  12. ~
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/KqpRqi/prog.fs(4,5): error FS0010: Incomplete structured construct at or before this point in expression

/home/KqpRqi/prog.fs(3,13): error FS0589: Unmatched 'if'

/home/KqpRqi/prog.fs(12,1): error FS0010: Unexpected reserved keyword in implementation file
stdout
Standard output is empty