Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /tests/trunk/bugs/tests.obsolete/bug860.sml
ViewVC logotype

Annotation of /tests/trunk/bugs/tests.obsolete/bug860.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2460 - (view) (download)

1 : dbm 548 (* bug860.sml *)
2 :     (* 860. exception Subscript raised while compiling curried functors *)
3 :    
4 :     signature NUM =
5 :     sig
6 :     val n : int
7 :     end;
8 :    
9 :     functor LeftSection (structure A : NUM
10 :     functor BinOp (structure A : NUM)
11 :     (structure B : NUM) : NUM)
12 :     (structure B : NUM) : NUM =
13 :     struct
14 :     structure Result = BinOp (structure A = A)
15 :     (structure B = B)
16 :     open Result
17 :     end;

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0