Commits

camlspotter committed 77b69cf Merge

merge

Comments (0)

Files changed (3)

ocamlspot/ocamlspot.sh

+#!/bin/sh
+if jomake --command="ocamlspot.opt $*"; then
+  echo jomaked
+else 
+  # CR other errors than version mismatch executes another binary
+  echo 
+  echo try arch
+  /home/jfuruse/prefix/ocaml-`arch`/bin/ocamlspot.opt $*
+fi
+

ocamlspot/tests/utf8.ml

+(* UTF8 program *)
+
+(* コメント *)
+
+let (* txt => *) txt (* <= txt *) = "こんにちは"
+let x = txt (* ? txt *)
+
+(* コメント *)
+
+let y = txt (* ? txt *)
+
+(* blah blah blah blah blah blah
+   blah blah blah blah blah blah
+   blah blah blah blah blah blah
+   blah blah blah blah blah blah
+   blah blah blah blah blah blah
+   blah blah blah blah blah blah
+*)

ocamlspot/tests/with_type2.ml

+(* S => *)
+module type S = sig
+  type (* elt => *) elt (* <= elt *)
+end
+(* <= S *)
+
+module X = struct
+  type t
+end
+
+module type T = S (* ? S *) with type elt (* ? elt *) = X.t
+
+module type F = functor( P : S ) -> S with type elt = P.elt