Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] Diff of /trunk/sml3d/src/raw-data/data-buffer-sig.sml
ViewVC logotype

Diff of /trunk/sml3d/src/raw-data/data-buffer-sig.sml

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

revision 838, Sun Apr 4 22:01:36 2010 UTC revision 839, Mon Apr 12 02:40:46 2010 UTC
# Line 194  Line 194 
194      val update : 'a buffer * int * ('a -> 'a) -> unit      val update : 'a buffer * int * ('a -> 'a) -> unit
195      val app : ('a -> unit) -> 'a buffer -> unit      val app : ('a -> unit) -> 'a buffer -> unit
196      val appi : (int * 'a -> unit) -> 'a buffer -> unit      val appi : (int * 'a -> unit) -> 'a buffer -> unit
197        val foldl : ('a * 'b -> 'b) -> 'b -> 'a buffer -> 'b
198        val foldr : ('a * 'b -> 'b) -> 'b -> 'a buffer -> 'b
199      val modify : ('a -> 'a) -> 'a buffer -> unit      val modify : ('a -> 'a) -> 'a buffer -> unit
200      val modifyi : (int * 'a -> 'a) -> 'a buffer -> unit      val modifyi : (int * 'a -> 'a) -> 'a buffer -> unit
201      val init : ('a buffer * (int -> 'a)) -> unit      val init : ('a buffer * (int -> 'a)) -> unit
# Line 224  Line 226 
226        (* apply an operation to every element of a cstruct buffer *)        (* apply an operation to every element of a cstruct buffer *)
227          val app : (C_Pointer.t -> unit) -> cstruct buffer -> unit          val app : (C_Pointer.t -> unit) -> cstruct buffer -> unit
228          val appi : (int * C_Pointer.t -> unit) -> cstruct buffer -> unit          val appi : (int * C_Pointer.t -> unit) -> cstruct buffer -> unit
229    
230            val foldl : (C_Pointer.t * 'a -> 'a) -> 'a -> cstruct buffer -> 'a
231            val foldr : (C_Pointer.t * 'a -> 'a) -> 'a -> cstruct buffer -> 'a
232        end        end
233    
234    end    end

Legend:
Removed from v.838  
changed lines
  Added in v.839

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