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

SCM Repository

[smlnj] Diff of /sml/trunk/src/compiler/FLINT/opt/optutils.sml
ViewVC logotype

Diff of /sml/trunk/src/compiler/FLINT/opt/optutils.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 184, Sun Nov 8 21:18:20 1998 UTC revision 190, Thu Nov 19 21:01:17 1998 UTC
# Line 11  Line 11 
11      val fk_wrap : FLINT.fkind * FLINT.lty list option ->      val fk_wrap : FLINT.fkind * FLINT.lty list option ->
12                        (FLINT.fkind * FLINT.fkind)                        (FLINT.fkind * FLINT.fkind)
13    
     (* sometimes I get fed up rewriting the identity function *)  
     val id : 'a -> 'a  
   
14      (* this is a known APL function, but I don't know its real name *)      (* this is a known APL function, but I don't know its real name *)
15      val filter : bool list * 'a list -> 'a list      val filter : bool list * 'a list -> 'a list
16  end  end
# Line 42  Line 39 
39        | filter (false::fs,x::xs) = (filter(fs, xs))        | filter (false::fs,x::xs) = (filter(fs, xs))
40        | filter _ = bug "unmatched list length in filter"        | filter _ = bug "unmatched list length in filter"
41    
     fun id x = x  
   
42  end  end
43  end  end

Legend:
Removed from v.184  
changed lines
  Added in v.190

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