src/HOL/ex/String.ML
author nipkow
Mon, 03 Nov 1997 08:08:14 +0100
changeset 4069 d6d06a03a2e9
parent 2031 03a843f0f447
child 5069 3ea049f7979d
permissions -rw-r--r--
expand_list_case -> split_list_case

goal String.thy "hd(''ABCD'') = CHR ''A''";
by (Simp_tac 1);
result();

goal String.thy "hd(''ABCD'') ~= CHR ''B''";
by (Simp_tac 1);
result();

goal String.thy "''ABCD'' ~= ''ABCX''";
by (Simp_tac 1);
result();

goal String.thy "''ABCD'' = ''ABCD''";
by (Simp_tac 1);
result();

goal String.thy
  "''ABCDEFGHIJKLMNOPQRSTUVWXYZ'' ~= ''ABCDEFGHIJKLMNOPQRSTUVWXY''";
by (Simp_tac 1);
result();