src/Doc/Tutorial/ToyList/ToyList_Test.thy
author wenzelm
Wed, 03 Dec 2014 20:45:20 +0100
changeset 59085 08a6901eb035
parent 58926 baf5a3c28f0c
child 67406 23307fd33906
permissions -rw-r--r--
clarified define_command: send tokens more directly, without requiring keywords in ML;

theory ToyList_Test
imports Main
begin

ML {*
  let val text =
    map (File.read o Path.append (Resources.master_directory @{theory}) o Path.explode)
      ["ToyList1.txt", "ToyList2.txt"]
    |> implode
  in Thy_Info.script_thy Position.start text @{theory} end
*}

end